Build s_nan* objects from a generic template
[glibc.git] / ChangeLog
blob338777b9c6d4141c3d8584716b3cee1dbc312cbc
1 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3         * math/Makefile (libm-calls): Remove s_nanF.
4         (gen-libm-calls): Add s_nanF.
6         * math/s_nan.c: Refactor into ...
7         * math/s_nan_template.c: New file.
9         * math/s_nanf.c: Removed.
10         * math/s_nanl.c: Removed.
11         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
12         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
14         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
15         (LDOUBLE_nanl_libm_version): New macro.
17         * sysdeps/generic/math-type-macros-double.h:
18         (M_STRTO_NAN): New macro.
19         * sysdeps/generic/math-type-macros-float.h: Likewise.
20         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
22         * sysdeps/generic/math-type-macros.h: Document
23         M_STRTO_NAN.
25 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
27         * math/s_nanf.c: Remove __nanf undef.
28         * math/s_nan.c: Remove __nan undef.
29         * math/s_nanl.c: Remove __nanl undef.
31         * sysdeps/generic/math_private.h (__nan): Remove macro
32         override.
33         (__nanf): Likewise.
34         (__nanl): Likewise.
36 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
38         * math/Makefile (gen-all-calls): New variable.
39         (generated): Replace gen-libm-calls with gen-all-calls.
40         (gen-libm-templates.stmp): Likewise.  Also, ensure
41         the output directory exists or is created and add
42         dependency on the Makefile.
43         (calls): Move s_ldexpF into gen-calls.
44         (gen-calls): New variable.
46         * math/s_ldexpf.c: Removed.
47         * math/s_ldexpl.c: Removed.
48         * math/s_ldexp.c: Refactored into ...
49         * math/s_ldexp_template.c: New file.
51         * sysdeps/generic/math-type-macros-double.h: Remove
52         redundant fall-through definition of declare_mgen_alias.
53         (declare_mgen_alias_2): New macro.
55         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
56         New macro for function aliased to two exported symbols.
58         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
59         new template file.
60         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
62 2016-09-20  Florian Weimer  <fweimer@redhat.com>
64         * Makeconfig (all-object-suffixes): Remove .og.
65         * Makerules (elide-routines.og): Remove.
66         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
67         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
68         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
70 2016-09-20  Florian Weimer  <fweimer@redhat.com>
72         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
73         .os objects.
75 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77         [BZ #20615]
78         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
79         fpu directory by non-fpu.
80         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
81         on non-fpu directory from a fpu directory.
83 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
85         * include/limits.h: Define
86         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
87         <bits/libc-header-start.h> instead of including <features.h>.
88         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
89         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
90         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
91         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
92         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
93         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
94         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
95         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
96         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
97         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
98         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
99         * manual/lang.texi (Width of Type): Document these macros.
100         * stdlib/tst-width.c: New file.
101         * stdlib/Makefile (tests): Add tst-width.
103 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
105         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
106         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
108 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
110         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
111         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
112         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
114 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
116         [BZ #18243]
117         * rt/Makefile (test): Add tst-shm-cancel.
118         * rt/tst-shm-cancel.c: New file.
119         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
121         [BZ #18243]
122         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
123         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
124         definition.
125         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
126         uncontended case.
127         * nptl/sem_wait.c (__new_sem_wait): Likewise.
128         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
129         (tf): Fix check for uncontended case.
130         (do_test): Likewise.
131         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
132         (tf): Fix check for uncontended case.
133         (do_test): Likewise.
134         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
135         (tf): Fix check for uncontended case.
136         (do_test): Likewise.
137         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
138         (tf): Fix check for uncontended case.
139         (do_test): Likewise.
141         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
142         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
144         [BZ #15765]
145         * nptl/Makefile (tests): Add tst-sem16.
146         * nptl/tst-sem16.c: New file.
147         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
149         * nptl/sem_open.c (sem_open): Init pad value to 0.
150         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
151         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
153 2016-09-15  Florian Weimer  <fweimer@redhat.com>
155         [BZ #20611]
156         * inet/Makefile (routines): Add inet6_scopeid_pton.
157         (tests): Add tst-inet6_scopeid_pton.
158         * inet/inet6_scopeid_pton.c: New file.
159         * inet/net-internal.h: Likewise.
160         * inet/tst-inet6_scopeid_pton.c: New test.
161         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
162         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
163         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
165 2016-09-14  Florian Weimer  <fweimer@redhat.com>
167         Remove support for compiling wrappers with PTW.
168         * sysdeps/nptl/Makeconfig: Drop ptw- support.
169         * nptl/Makefile (pthread-compat-wrappers): Define.
170         (libpthread-routines): Use pthread-compat-wrappers.
171         * sysdeps/unix/sysv/linux/alpha/Makefile
172         (libpthread-routines, libpthread-shared-only-routines): Remove
173         ptw- prefix.
174         * sysdeps/s390/nptl/Makefile
175         (libpthread-routines, libpthread-shared-only-routines): Likewise.
176         * sysdeps/ia64/nptl/Makefile
177         (libpthread-routines, libpthread-shared-only-routines): Likewise.
178         * sysdeps/nacl/Makefile (libpthread-routines): Use
179         pthread-compat-wrappers to filter the routines list instead of the
180         ptw- prefix.
182 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
184         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
185         with L() and remove explicit suffix, convert real literals
186         which can be equivalentally substituted with integers, and
187         transform -L(x) to L(-x).
189         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
190         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
191         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
192         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
193         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
194         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
195         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
196         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
197         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
198         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
199         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
200         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
201         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
202         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
203         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
204         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
205         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
206         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
207         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
208         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
209         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
210         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
211         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
212         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
213         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
214         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
215         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
216         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
217         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
218         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
219         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
220         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
221         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
222         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
223         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
224         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
225         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
226         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
227         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
228         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
229         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
230         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
231         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
232         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
233         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
234         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
235         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
236         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
237         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
238         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
240 2016-09-13  Florian Weimer  <fweimer@redhat.com>
242         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
244 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
246         * malloc/Makefile (tests): Remove individual static test names
247         and just add all of tests-static.
249         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
251 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
253         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
254         file.
256         * sysdeps/sparc/fpu/fegetmode.c: New file.
257         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
259         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
260         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
262         * sysdeps/s390/fpu/fegetmode.c: New file.
263         * sysdeps/s390/fpu/fesetmode.c: Likewise.
265         * sysdeps/powerpc/fpu/fegetmode.c: New file.
266         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
267         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
268         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
269         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
270         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
272         * sysdeps/mips/fpu/fegetmode.c: New file.
273         * sysdeps/mips/fpu/fesetmode.c: Likewise.
275         * sysdeps/m68k/fpu/fegetmode.c: New file.
276         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
278         * sysdeps/ia64/fpu/fegetmode.c: New file.
279         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
281         * sysdeps/hppa/fpu/fegetmode.c: New file.
282         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
284         * sysdeps/arm/fegetmode.c: New file.
285         * sysdeps/arm/fesetmode.c: Likewise.
287         * sysdeps/alpha/fpu/fegetmode.c: New file.
288         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
290         * sysdeps/aarch64/fpu/fegetmode.c: New file.
291         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
293         * math/fegetmode.c: New file.
294         * math/fesetmode.c: Likewise.
295         * sysdeps/i386/fpu/fegetmode.c: Likewise.
296         * sysdeps/i386/fpu/fesetmode.c: Likewise.
297         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
298         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
299         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
300         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
301         declaration.
302         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
303         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
304         typedef.
305         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
306         * sysdeps/aarch64/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/alpha/fpu/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 macro.
312         * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
313         (femode_t): New typedef.
314         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
315         * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
316         (femode_t): New typedef.
317         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
318         * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
319         (femode_t): New typedef.
320         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
321         * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
322         (femode_t): New typedef.
323         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
324         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
325         (femode_t): New typedef.
326         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
327         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
328         (femode_t): New typedef.
329         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
330         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
331         (femode_t): New typedef.
332         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
333         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
334         (femode_t): New typedef.
335         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
336         declaration.
337         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
338         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
339         (femode_t): New typedef.
340         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
341         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
342         (femode_t): New typedef.
343         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
344         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
345         (femode_t): New typedef.
346         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
347         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
348         (femode_t): New typedef.
349         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
350         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
351         (femode_t): New typedef.
352         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
353         * manual/arith.texi (FE_DFL_MODE): Document macro.
354         (fegetmode): Document function.
355         (fesetmode): Likewise.
356         * math/Versions (fegetmode): New libm symbol at version
357         GLIBC_2.25.
358         (fesetmode): Likewise.
359         * math/Makefile (libm-support): Add fegetmode and fesetmode.
360         (tests): Add test-femode and test-femode-traps.
361         * math/test-femode-traps.c: New file.
362         * math/test-femode.c: Likewise.
363         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
364         alias for __fe_dfl_env.
365         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
366         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
367         (__fe_dfl_mode): Likewise.
368         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
369         version GLIBC_2.25.
370         * sysdeps/nacl/libm.abilist: Update.
371         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
372         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
373         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
374         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
375         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
376         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
377         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
378         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
379         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
380         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
381         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
382         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
384         Likewise.
385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
386         Likewise.
387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
388         Likewise.
389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
390         Likewise.
391         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
392         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
393         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
394         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
395         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
396         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
397         Likewise.
398         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
399         Likewise.
400         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
401         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
402         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
404 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
406         [BZ #20495]
407         [BZ #20508]
408         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
409         processors, set Use_dl_runtime_resolve_slow and set
410         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
411         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
412         New.
413         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
414         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
415         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
416         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
417         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
418         if Use_dl_runtime_resolve_opt is set.  Use
419         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
420         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
421         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
422         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
423         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
424         New.
425         (_dl_runtime_resolve_opt): Likewise.
426         (_dl_runtime_profile): Define only if _dl_runtime_profile is
427         defined.
429 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
431         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
432         __libc_memalign with "+ RELA R_390_GLOB_DAT".
434 2016-09-06  Florian Weimer  <fweimer@redhat.com>
436         Convert malloc to __libc_lock.  Automated part, using this Perl
437         s/// command:
438           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
439             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
440         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
441         conversion.
443 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
445         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
446         (linknamespace-symlists-tests): Likewise.
447         (linknamespace-header-tests): Likewise.
449 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
451         [BZ #19810]
452         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
453         * elf/tst-noload.c: New test case.
454         * elf/Makefile (tests): Add tst-noload.
456 2016-09-02  Roland McGrath  <roland@hack.frob.com>
458         * sysdeps/nacl/dup.c: Add libc_hidden_def.
460         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
461         not any more.
463         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
465 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
467         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
468         (do_cos_slow): Likewise.
469         (do_sin): Likewise.
470         (do_sin_slow): Likewise.
471         (slow): Likewise.
472         (slow1): Likewise.
473         (slow2): Likewise.
474         (sloww): Likewise.
475         (sloww1): Likewise.
476         (sloww2): Likewise.
477         (bsloww): Likewise.
478         (bsloww1): Likewise.
479         (bsloww2): Likewise.
480         (cslow2): Likewise.
482         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
484         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
485         arguments.  Consolidate input partitioning from callers here.
486         (do_cos_slow): Likewise.
487         (do_sin): Likewise.
488         (do_sin_slow): Likewise.
489         (do_sincos_1): Remove the no longer necessary input partitioning.
490         (do_sincos_2): Likewise.
491         (__sin): Likewise.
492         (__cos): Likewise.
493         (slow1): Likewise.
494         (slow2): Likewise.
495         (sloww1): Likewise.
496         (sloww2): Likewise.
497         (bsloww1): Likewise.
498         (bsloww2): Likewise.
499         (cslow2): Likewise.
501 2016-09-02  Florian Weimer  <fweimer@redhat.com>
503         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
504         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
505         outside of allocated array.
507 2016-09-02  Florian Weimer  <fweimer@redhat.com>
509         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
510         instead of MB_CUR_MAX to avoid variable-length array.
512 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
514         * math/Makefile (libm-calls): Remove k_rem_pio2F.
515         (type-double-routines): Add k_rem_pio2.
516         (type-float-routines): Add k_rem_pio2f.
518         * sysdeps/generic/math_private.h:
519         (__kernel_rem_pio2l): Removed.
521         * math/k_rem_pio2l.c: Removed.
522         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
523         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
524         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
525         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
527 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
529         * math/Makefile (gen-libm-calls): Add s_fmin
530         (libm-calls): Remove above.
532         * math/s_fmin.c: Refactor into ...
533         * math/s_fmin_template.c: New file.
535         * math/s_fminf.c: Removed.
536         * math/s_fminl.c: Removed.
537         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
538         (LDOUBLE_fmin_libm_version): New macro.
540         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
541         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
543 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
545         * math/Makefile: (gen-libm-calls): Add s_fmax.
546         (libm-calls): Remove above.
548         * math/s_fmax.c: Refactor into ...
549         * math/s_fmax_template.c: New file.
550         * math/s_fmaxf.c: Removed.
551         * math/s_fmaxl.c: Removed.
553         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
554         (LDOUBLE_fmaxl_libm_version): New macro.
556         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
557         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
559         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
560         s_fmin.c to pick the aarch64 version of the file.
561         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
562         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
564 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
566         * math/Makefile: (gen-libm-calls): Add s_nextdown.
567         (libm-calls): Remove above.
569         * math/s_nextdown.c: Refactor into ...
570         * math/s_nextdown_template.c: New file.
571         * math/s_nextdownf.c: Removed.
572         * math/s_nextdownl.c: Removed.
574         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
576 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
578         * math/Makefile (gen-libm-calls): Add s_fdim.
579         (libm-calls): Move to above.
581         * math/s_fdim.c: Renamed and refactored into to ...
582         * math/s_fdim_template.c: New file.
583         * math/s_fdiml.c: Removed.
584         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
585         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
587         * sysdeps/generic/math-type-macros-double.h:
588         (declare_mgen_alias): Don't declare if already declared.
589         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
590         Likewise.
592         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
593         (declare_mgen_alias): Don't declare if already declared.
594         (M_LIBM_NEED_COMPAT): Likewise.
595         (declare_mgen_libm_compat): Likewise.
596         (LDOUBLE_fdiml_libm_version): New macro.
598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
599         Include math/s_fdim.c now that ldbl-opt version is not needed.
600         (declare_mgen_alias): New macro to disable aliasing.
602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
603         (declare_mgen_alias): Likewise.
604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
605         (declare_mgen_alias): Likewise.
606         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
607         (declare_mgen_alias): Likewise.
608         (M_LIBM_NEED_COMPAT): Likewise.
610 2016-09-01  Florian Weimer  <fweimer@redhat.com>
612         [BZ #20525]
613         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
614         Include <linux/quota.h>.
615         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
616         and btodb.
617         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
618         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
619         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
620         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
621         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
622         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
623         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
624         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
625         types.
626         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
627         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
629 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
631         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
632         (gammal_positive): Fix spacing.
633         (__ieee754_gammal_r): Likewise.
635 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
637         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
638         (_Float128): Define as long double, always.
639         (L): Apply long double type suffix, always.
641         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
642         _Float128, excepting comments.
644         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
645         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
646         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
647         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
648         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
649         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
650         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
651         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
652         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
653         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
654         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
655         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
656         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
657         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
658         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
659         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
660         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
661         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
662         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
663         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
664         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
665         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
666         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
667         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
668         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
669         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
670         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
671         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
672         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
673         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
674         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
675         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
676         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
677         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
678         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
679         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
680         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
681         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
682         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
683         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
684         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
685         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
686         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
687         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
688         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
689         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
690         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
691         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
692         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
693         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
694         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
695         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
696         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
697         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
698         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
699         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
700         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
701         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
702         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
703         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
704         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
705         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
706         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
707         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
708         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
709         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
710         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
711         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
713         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
714         _Float128, and include math_private.h.
715         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
717         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
718         long double semantics.
719         (_Float128): Likewise.
720         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
721         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
722         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
723         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
725 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
727         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
728         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
729         * sysdeps/s390/configure: Regenerated.
730         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
731         instruction for raising over-/underflow if z196 zarch is supported
732         by default.
733         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
735 2016-08-30  Svante Signell  <svante.signell@gmail.com>
737         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
738         it point to a dumb buffer for RPC to fill it.
740 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
742         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
743         instead of if/else.
744         (do_sin_slow): Likewise.
745         (do_sincos_1): Use fabs instead of if/else.
746         (do_sincos_2): Likewise.
747         (__sin): Likewise.
748         (__cos): Likewise.
749         (slow2): Likewise.
750         (sloww): Likewise.
751         (sloww1): Likewise.  Drop argument M.
752         (sloww2): Use fabs instead of if/else.
753         (bsloww): Likewise.
754         (bsloww1): Likewise.
755         (bsloww2): Likewise.
757         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
758         fall through comment.
759         (do_sincos_1): Likewise.
761         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
762         Consolidate switch cases 0 and 2.
764 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
766         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
767         (libm-calls): Remove the above.
769         * math/s_cexp_template.c: Update using type-generic macros.
770         * math/s_clog10_template.c: Likewise.
771         * math/s_cpow_template.c: Likewise.
772         * math/s_clog_template.c: Likewise.
773         * math/s_cproj_template.c: Likewise.
774         * math/s_csqrt_template.c: Likewise.
776         * math/s_cexp.c: Removed.
777         * math/s_cexpf.c: Removed.
778         * math/s_cexpl.c: Removed.
779         * math/s_clog10.c: Removed.
780         * math/s_clog10f.c: Removed.
781         * math/s_clog10l.c: Removed.
782         * math/s_cpow.c: Removed.
783         * math/s_cpowf.c: Removed.
784         * math/s_cpowl.c: Removed.
785         * math/s_clog.c: Removed.
786         * math/s_clogf.c: Removed.
787         * math/s_clogl.c: Removed.
788         * math/s_cproj.c: Removed.
789         * math/s_cprojf.c: Removed.
790         * math/s_cprojl.c: Removed.
791         * math/s_csqrt.c: Removed.
792         * math/s_csqrtf.c: Removed.
793         * math/s_csqrtl.c: Removed.
795         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
796         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
797         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
798         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
799         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
800         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
802         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
803         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
804         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
805         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
806         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
807         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
808         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
809         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
810         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
811         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
812         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
814         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
815         version.
817         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
818         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
819         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
820         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
822 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
824         * s_cexp_template.c: Copy of s_cexp.c.
825         * s_clog_template.c: Copy of s_clog.c.
826         * s_clog10_template.c: Copy of s_clog10.c.
827         * s_cpow_template.c: Copy of s_cpow.c.
828         * s_cproj_template.c: Copy of s_cproj.c.
829         * s_csqrt_template.c: Copy of s_csqrt.c.
831 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
833         [BZ #20517]
834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
835         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
836         exported.
838 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
840         * math/fetestexceptflag.c: New file.
841         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
842         Stefan Liebler.
843         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
844         (fetestexceptflag): New function declaration.
845         * manual/arith.texi (fetestexceptflag): Document function.
846         * math/Versions (fetestexceptflag): New libm symbol at version
847         GLIBC_2.25.
848         * math/Makefile (libm-support): Add fetestexceptflag.
849         (tests): Add test-fetestexceptflag.
850         * math/test-fetestexceptflag.c: New file.
851         * sysdeps/nacl/libm.abilist: Update.
852         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
853         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
854         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
855         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
856         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
857         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
858         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
859         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
860         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
861         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
862         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
863         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
864         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
865         Likewise.
866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
867         Likewise.
868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
869         Likewise.
870         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
871         Likewise.
872         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
873         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
874         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
875         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
876         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
878         Likewise.
879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
880         Likewise.
881         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
882         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
883         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
885 2016-08-26  Florian Weimer  <fweimer@redhat.com>
887         [BZ #20432]
888         Avoid strong references to malloc-internal symbols when linking
889         statically, to support statically interposed mallocs.
890         * include/libc-symbols.h (call_function_static_weak): New macro.
891         * malloc/Makefile (tests): Add tst-interpose-nothread,
892         tst-interpose-thread, tst-interpose-static-nothread,
893         tst-interpose-static-thread.
894         (tests-static): Add tst-interpose-static-nothread,
895         tst-interpose-static-thread.
896         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
897         tst-interpose-aux-thread.o.
898         (test-extras): Add tst-interpose-aux-nothread,
899         tst-interpose-aux-thread.
900         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
901         tst-interpose-aux-nothread.o.
902         (tst-interpose-thread, tst-interpose-static-thread): Link with
903         tst-interpose-aux-thread.o and libthread.
904         * malloc/tst-interpose-aux-nothread.c: New file.
905         * malloc/tst-interpose-aux-thread.c: Likewise.
906         * malloc/tst-interpose-aux.c: Likewise.
907         * malloc/tst-interpose-aux.h: Likewise.
908         * malloc/tst-interpose-nothread.c: Likewise.
909         * malloc/tst-interpose-skeleton.c: Likewise.
910         * malloc/tst-interpose-static-nothread.c: Likewise.
911         * malloc/tst-interpose-static-thread.c: Likewise.
912         * malloc/tst-interpose-thread.c: Likewise.
913         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
914         * sysdeps/mach/hurd/fork.c (__fork): Only call
915         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
916         __malloc_fork_unlock_child if defined.
917         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
919 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
921         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
922         timespec C99 designated initialization.
924 2016-08-26  Florian Weimer  <fweimer@redhat.com>
926         [BZ #19946]
927         Avoid expected SIGALRM signals.
928         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
929         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
930         (xpthread_create, xpthread_detach, xpthread_join)
931         (delayed_exit_thread, delayed_exit): New functions.
932         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
933         (tf): Use xpthread_cond_wait.
934         (do_test): Likewise.  Replace alarm with delayed_exit.
935         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
936         (do_test): Call delayed_exit.  Report failure.
937         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
938         (do_test): Call delayed_exit.
939         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
940         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
941         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
942         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
943         error.
944         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
945         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
946         error.
947         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
948         (do_test): Call delayed_exit.
949         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
950         (do_test): Call delayed_exit.
951         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
952         (do_test): Call delayed_exit instead of alarm.  Use
953         xpthread_mutex_lock.
954         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
955         (do_test): Call delayed_exit instead of alarm.  Use
956         xpthread_mutex_lock.
957         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
958         (do_test): Call delayed_exit instead of alarm.
959         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
960         (do_test): Call delayed_exit instead of alarm.  Use
961         xpthread_spin_lock.
962         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
963         (do_test): Call delayed_exit instead of alarm.  Use
964         xpthread_join.
966 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
968         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
969         adjust CFA when allocating register save area on re-aligned
970         stack.
972 2016-08-26  Florian Weimer  <fweimer@redhat.com>
974         * string/tst-cmp.c: New test.
975         * string/Makefile (tests): Add it.
977 2016-08-25  Mark Wielaard  <mark@klomp.org>
979         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
980         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
981         (check_tree_recurse): Use newly defined accessors.
982         (check_tree): Likewise.
983         (maybe_split_for_insert): Likewise.
984         (__tfind): Likewise.
985         (__tdelete): Likewise.
986         (trecurse): Likewise.
987         (tdestroy_recurse): Likewise.
988         (__tsearch): Likewise. And add asserts for malloc alignment.
989         (__twalk): Cast root to node in case CHECK_TREE is defined.
991 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
993         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
995 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
997         * math/Makefile (libm-gen-calls): Add
998         catan, catanh, ctan, ctanh.
999         (libm-calls): Remove the above.
1001         * math/s_catan_template.c: Update using type-generic macros.
1002         * math/s_catanh_template.c: Likewise.
1003         * math/s_ctan_template.c: Likewise.
1004         * math/s_ctanh_template.c: Likewise.
1006         * math/s_catanf.c: Removed.
1007         * math/s_catan.c: Removed.
1008         * math/s_catanl.c: Removed.
1009         * math/s_catanhf.c: Removed.
1010         * math/s_catanh.c: Removed.
1011         * math/s_catanhl.c: Removed.
1012         * math/s_ctanf.c: Removed.
1013         * math/s_ctan.c: Removed.
1014         * math/s_ctanl.c: Removed.
1015         * math/s_ctanhf.c: Removed.
1016         * math/s_ctanh.c: Removed.
1017         * math/s_ctanhl.c: Removed.
1019         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
1020         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
1021         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
1022         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
1023         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
1024         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
1026         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
1027         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
1028         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
1029         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
1031 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1033         * s_catan_template.c: Copy of s_catan.c.
1034         * s_catanh_template.c: Copy of s_catanh.c.
1035         * s_ctan_template.c: Copy of s_ctan.c.
1036         * s_ctanh_template.c: Copy of s_ctanh.c.
1038 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1040         * math/Makefile (gen-libm-calls): Move
1041         casin, casinh, csin, csinh here.
1042         (libm-calls): Remove the above.
1044         * math/s_casin_template.c: Update using type-generic macros.
1045         * math/s_casinh_template.c: Likewise.
1046         * math/s_csin_template.c: Likewise.
1047         * math/s_csinh_template.c: Likewise.
1048         * math/k_casinh_template.c: Likewise.
1050         * math/s_casinf.c: Removed.
1051         * math/s_casin.c: Removed.
1052         * math/s_casinl.c: Removed.
1053         * math/s_casinh.c: Removed.
1054         * math/s_casinhf.c: Removed.
1055         * math/s_casinhl.c: Removed.
1056         * math/s_csin.c: Removed.
1057         * math/s_csinf.c: Removed.
1058         * math/s_csinl.c: Removed.
1059         * math/s_csinh.c: Removed.
1060         * math/s_csinhf.c: Removed.
1061         * math/s_csinhl.c: Removed.
1062         * math/k_casinh.c: Removed.
1063         * math/k_casinhf.c: Removed.
1064         * math/k_casinhl.c: Removed.
1066         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
1067         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
1068         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
1069         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
1071         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
1072         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
1073         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
1074         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
1075         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
1076         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
1077         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
1078         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
1080         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
1081         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
1082         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
1083         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
1085         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
1086         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
1087         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
1088         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
1090 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1092         * s_casin_template.c: Copy of s_casin.c.
1093         * s_casinh_template.c: Copy of s_casinh.c.
1094         * s_csin_template.c: Copy of s_csin.c.
1095         * s_csinh_template.c: Copy of s_csinh.c.
1096         * k_casinh_template.c: Copy of k_casinh.c.
1098 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
1100         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
1102 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1104         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
1105         (mul_split) Remove, rename as mul_splitl, remove
1106         redundant float.h include, and include via mul_splitl.h
1108         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
1109         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
1110         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
1111         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
1112         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
1114         * math/mul_splitl.h: New file.
1116         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
1117         Move into mul_split.h, and remove redundant float.h include.
1119         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
1120         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
1121         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1122         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
1124         * math/mul_split.h: New file.
1126 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1128         * math/Makefile (libm-gen-calls): Move
1129         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
1130         (libm-calls): Remove above.
1132         * math/s_cacos_template.c: Update using type-generic macros.
1133         * math/s_cacosh_template.c: Likewise.
1134         * math/s_ccos_template.c: Likewise.
1135         * math/s_ccosh_template.c: Likwise.
1137         * math/s_cacosf.c: Removed.
1138         * math/s_cacos.c: Removed.
1139         * math/s_cacosl.c: Removed.
1140         * math/s_cacoshf.c: Removed.
1141         * math/s_cacosh.c: Removed.
1142         * math/s_cacoshl.c: Removed.
1143         * math/s_ccosf.c: Removed.
1144         * math/s_ccos.c: Removed.
1145         * math/s_ccosl.c: Removed.
1146         * math/s_ccoshf.c: Removed.
1147         * math/s_ccosh.c: Removed.
1148         * math/s_ccoshl.c: Removed.
1150         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
1151         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
1152         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
1153         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
1154         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
1155         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
1157         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
1158         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
1159         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
1160         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
1162         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
1163         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
1164         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
1165         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
1167 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1169         * s_cacos_template.c: Copy of s_cacos.c.
1170         * s_cacosh_template.c: Copy of s_cacosh.c.
1171         * s_ccos_template.c: Copy of s_ccos.c.
1172         * s_ccosh_template.c: Copy of s_ccosh.c.
1174 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1176         * stdlib/tst-strtod-round-skeleton.c:
1177         Refactored from tst-strtod-round.c.
1179         (L_): New macro to apply literal modifier.
1180         (FNPFX): New macro to select str or wcs prefix.
1181         (CHAR): New macro to choose wchar_t or char.
1182         (STRM): New macro to choose printf for tested character type.
1184         (STRTO): New macro to choose appropriate string -> real function.
1185         (FNPFXS): Stringitized version of FNPFX.
1186         (STR): Support for above macro.
1187         (STRX): Likewise.
1189         (TEST): Update with above macros.
1190         (test): Likewise.
1191         (GEN_ONE_TEST): Likewise.
1192         (test_in_one_mode): Likewise.
1194         * stdlib/tst-strtod-round.c: New file.
1195         * wcsmbs/tst-wcstod-round.c: New file.
1197         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
1198         (tst-wcstod-round): Add libm depencency for fesetround.
1200 2016-08-19  Zack Weinberg  <zackw@panix.com>
1202         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
1204 2016-08-18  Torvald Riegel  <triegel@redhat.com>
1206         [BZ #20477]
1207         * resolv/res_hconf.c (do_init): Use atomic access.
1208         * resolv/res_hconf.h: Add comments.
1209         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
1210         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
1211         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
1213 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
1215         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
1216         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
1217         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
1218         Likewise.
1220 2016-08-18  Florian Weimer  <fweimer@redhat.com>
1222         [BZ #16907]
1223         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
1224         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
1225         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
1226         (__attribute__): Remove definition.
1228 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1230         * sysdeps/ieee754/ldbl-128/e_asinl.c:
1231         Remove unused sqrtl declaration.
1233 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1235         * math/Makefile: (gen-libm-templates.stmp): New rule.
1236         (libm-calls): Move carg conj cimag and cabs into ...
1237         (gen-libm-calls): New variable.
1238         (generated): Inform Make objects from gen-libm-calls
1239         may be generated.
1241         * sysdeps/generic/math-type-macros.h: New file.
1242         * sysdeps/generic/math-type-macros-float.h: Likewise.
1243         * sysdeps/generic/math-type-macros-double.h: Likewise.
1244         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
1245         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
1246         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
1248         * math/cabs.c: Refactor into
1249         * math/cabs_template.c: new file.
1250         * math/cabsf.c: Removed.
1251         * math/cabsl.c: Removed.
1252         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
1253         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
1255         * math/carg.c: Refactor into
1256         * math/carg_template.c: new file.
1257         * math/cargf.c: Removed.
1258         * math/cargl.c: Removed.
1259         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
1260         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
1262         * math/conj.c: Refactor into
1263         * math/conj_template.c: new file.
1264         * math/conjf.c: Removed.
1265         * math/conjl.c: Removed.
1266         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
1267         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
1269         * math/cimag.c: Refactor into
1270         * math/cimag_template.c: new file.
1271         * math/cimagf.c: Removed.
1272         * math/cimagl.c: Removed.
1273         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1274         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1276         * math/cimag.c: Refactor into
1277         * math/cimag_template.c: new file.
1278         * math/cimagf.c: Removed.
1279         * math/cimagl.c: Removed.
1280         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
1281         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
1283 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1285         Reduce time to expected nptl/tst-once5 failure.
1286         * nptl/tst-once5.cc (TIMEOUT): Define.
1288 2016-08-17  Florian Weimer  <fweimer@redhat.com>
1290         [BZ #20452]
1291         Avoid additional copies of objects in libc.a in static libraries.
1292         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
1293         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
1294         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
1295         rt-sysdep.
1296         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
1297         Add nptl-sysdep.
1298         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
1299         Add ptw-sysdep.
1300         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
1301         rt-sysdep.
1302         * sysdeps/unix/sysv/linux/alpha/Makefile
1303         (libpthread-shared-only-routines): Add ptw-sysdep,
1304         ptw-sigprocmask, ptw-rt_sigaction.
1305         * sysdeps/unix/sysv/linux/ia64/Makefile
1306         (librt-shared-only-routines): Add rt-sysdep.
1307         * sysdeps/unix/sysv/linux/i386/Makefile
1308         (libpthread-shared-only-routines): Add libc-do-syscall.
1309         * sysdeps/unix/sysv/linux/microblaze/Makefile
1310         (libpthread-shared-only-routines): Add sysdep.
1311         * sysdeps/unix/sysv/linux/powerpc/Makefile
1312         (librt-shared-only-routines): Add rt-sysdep.
1313         (libpthread-shared-only-routines): Add sysdep.
1314         * sysdeps/unix/sysv/linux/s390/Makefile
1315         (librt-shared-only-routines): Add rt-sysdep.
1316         * sysdeps/unix/sysv/linux/sparc/Makefile
1317         (librt-shared-only-routines): Add rt-sysdep.
1318         (libpthread-shared-only-routines): Add sysdep.
1319         * sysdeps/unix/sysv/linux/tile/Makefile
1320         (libpthread-shared-only-routines): Likewise.
1322 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
1324         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
1325         Mask implicit bit out of unpacked value.
1326         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
1327         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
1328         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
1330         * sysdeps/sparc/fpu/fesetexcept.c: New file.
1332         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
1334         * sysdeps/s390/fpu/fesetexcept.c: New file.
1336         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
1337         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
1338         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
1340         * sysdeps/mips/fpu/fesetexcept.c: New file.
1342         * sysdeps/m68k/fpu/fesetexcept.c: New file.
1344         * sysdeps/ia64/fpu/fesetexcept.c: New file.
1346         * sysdeps/hppa/fpu/fesetexcept.c: New file.
1348         * sysdeps/arm/fesetexcept.c: New file.
1350         * sysdeps/alpha/fpu/fesetexcept.c: New file.
1352         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
1354         * math/fesetexcept.c: New file.
1355         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
1356         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
1357         * math/fenv.h: Define
1358         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1359         <bits/libc-header-start.h> instead of including <features.h>.
1360         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
1361         declaration.
1362         * manual/arith.texi (fesetexcept): Document function.
1363         * math/Versions (fesetexcept): New libm symbol at version
1364         GLIBC_2.25.
1365         * math/Makefile (libm-support): Add fesetexcept.
1366         (tests): Add test-fesetexcept and test-fesetexcept-traps.
1367         * math/test-fesetexcept.c: New file.
1368         * math/test-fesetexcept-traps.c: Likewise.
1369         * sysdeps/nacl/libm.abilist: Update.
1370         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1371         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1372         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1373         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1374         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1375         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1376         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1377         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1378         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1379         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1380         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1381         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1383         Likewise.
1384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1385         Likewise.
1386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1387         Likewise.
1388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1389         Likewise.
1390         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1391         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1392         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1393         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1394         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1395         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1396         Likewise.
1397         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1398         Likewise.
1399         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1400         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1401         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1403 2016-08-16  Florian Weimer  <fweimer@redhat.com>
1405         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
1406         New.
1407         (do_test): Apply default_stack_size_in_mb if not set.
1408         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
1410 2016-08-15  Andreas Schwab  <schwab@suse.de>
1412         [BZ #20435]
1413         CVE-2016-6323
1414         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
1415         as .cantunwind.
1417 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
1419         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
1420         comment from fraiseexcpt.c.
1422         * math/test-fexcept.c (feraiseexcept_exact): New function.
1423         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
1424         (test_except): Likewise.
1426 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
1428         [BZ #20455]
1429         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
1430         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
1431         to be restored.
1433         * math/test-fexcept-traps.c: New file.
1434         * math/test-fexcept.c: Likewise.
1435         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
1436         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
1437         macro.
1438         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
1439         (EXCEPTION_SET_FORCES_TRAP): Likewise.
1441 2016-08-09  Torvald Riegel  <triegel@redhat.com>
1443         * include/atomic.h (atomic_fetch_and_relaxed,
1444         atomic_fetch_and_release, atomic_fetch_or_release,
1445         atomic_fetch_xor_release): New.
1447 2016-08-06  Christian Seiler  <christian@iwakd.de>
1449         [BZ #20444]
1450         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
1451         MACH_PORT_NULL.
1453 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1455         * math/s_fdim.c: Avoid alias renamed.
1456         * math/s_fdimf.c: Likewise.
1457         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1458         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1459         Add s_fdimf-vis3, s_fdim-vis3.
1460         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1461         (CFLAGS-s_fdim-vis3.c): Likewise.
1462         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
1463         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
1465 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1468         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1469         Remove s_fdimf-vis3, s_fdim-vis3.
1470         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
1471         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
1472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
1473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
1474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
1475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
1476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
1477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
1478         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
1479         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
1481 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
1483         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
1484         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
1485         -Wa,-Av9a -mvis.
1487 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1489         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
1490         LIT() to individual constants in simple expressions
1491         after splitting on spaces.
1492         (_apply_lit): Rename replaced version, and use it to
1493         apply to what appears to be a token.
1495         * math/libm-test.inc: Fix many, many issues with
1496         spacing.
1498 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
1500         * math/math.h: Move comment about <bits/mathdef.h> definitions
1501         above inclusion of <bits/mathdef.h>.  Do not mention
1502         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
1504 2016-08-05  Torvald Riegel  <triegel@redhat.com>
1506         * include/atomic.h (atomic_exchange_relaxed): New.
1508 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
1510         * math/e_scalb.c: Do not include <fenv.h>.
1511         (invalid_fn): Do calculation resulting in NaN instead of raising
1512         FE_INVALID and returning a NaN explicitly.
1513         * math/e_scalbf.c: Do not include <fenv.h>.
1514         (invalid_fn): Do calculation resulting in NaN instead of raising
1515         FE_INVALID and returning a NaN explicitly.
1516         * math/e_scalbl.c: Do not include <fenv.h>.
1517         (invalid_fn): Do calculation resulting in NaN instead of raising
1518         FE_INVALID and returning a NaN explicitly.
1520 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
1522         * po/de.po: Updated from Translation Project.
1523         * po/fi.po: Likewise.
1524         * po/sv.po: Likewise.
1526 2016-08-04  Florian Weimer  <fweimer@redhat.com>
1528         [BZ #20452]
1529         Use sysdep.o from libc.a in static libraries.
1530         * sysdeps/unix/sysv/linux/i386/Makefile
1531         (libpthread-shared-only-routines): Add sysdep.
1532         (librt-shared-only-routines): Likewise.
1534 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1536         * math/tgmath.h (nextdown): Define if
1537         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
1538         (nextup): Likewise.
1540         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
1541         macro.
1542         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1543         Document.
1544         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
1545         Document macro.
1546         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
1547         (exp10f): Likewise.
1548         (exp10l): Likewise.
1549         * math/bits/mathcalls.h (exp10): Declare if
1550         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
1552         * manual/arith.texi (nextup): Fix typo in last change.
1554 2016-08-03  Zack Weinberg  <zackw@panix.com>
1556         [BZ #19239]
1557         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
1558         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
1559         define major, minor, and makedev to issue deprecation warnings on use.
1560         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
1561         previously-activated deprecation warnings for these macros and prevent
1562         subsequent inclusions of this header from having any effect.
1563         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
1564         including <sys/sysmacros.h>, and undefine it again afterward.
1566 2016-08-03  Zack Weinberg  <zackw@panix.com>
1568         * sysdeps/generic/sys/sysmacros.h: Delete file.
1569         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
1570         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
1571         * bits/sysmacros.h: ... here; this encoding is now the generic
1572         encoding.  Now defines only the following macros:
1573         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
1574         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
1575         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
1577         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
1578         bits/sysmacros.h and the above new macros to generate the
1579         public implementations of major, minor, and makedev.
1580         * misc/tst-makedev.c: New test.
1581         * include/sys/sysmacros.h: New wrapper.
1583         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
1584         (routines): Add makedev.
1585         (tests): Add tst-makedev.
1586         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
1587         gnu_dev_makedev.
1588         * posix/Makefile (headers): Remove sys/sysmacros.h.
1589         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
1591         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
1592         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
1593         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
1594         * sysdeps/unix/sysv/linux/alpha/libc.abilist
1595         * sysdeps/unix/sysv/linux/arm/libc.abilist
1596         * sysdeps/unix/sysv/linux/hppa/libc.abilist
1597         * sysdeps/unix/sysv/linux/i386/libc.abilist
1598         * sysdeps/unix/sysv/linux/ia64/libc.abilist
1599         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
1600         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
1601         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
1602         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
1603         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
1604         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
1605         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
1606         * sysdeps/unix/sysv/linux/nios2/libc.abilist
1607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1608         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
1611         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
1612         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
1613         * sysdeps/unix/sysv/linux/sh/libc.abilist
1614         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
1615         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
1616         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
1617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
1618         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
1619         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
1620         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
1621         Add GLIBC_2.25.
1623         * include/features.h (__glibc_clang_prereq): New macro.
1624         * misc/sys/cdefs.h (__glibc_clang_has_extension)
1625         (__attribute_deprecated_msg__): New macros.
1627 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1629         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
1630         macro.
1631         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
1632         * manual/arith.texi (issignaling): Document as ISO from TS
1633         18661-1:2014.
1634         (nextup): Likewise.
1635         (nextupf): Likewise.
1636         (nextupl): Likewise.
1637         (nextdown): Likewise.
1638         (nextdownf): Likewise.
1639         (nextdownl): Likewise.
1640         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
1641         macro.
1642         * math/math.h: Define
1643         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1644         <bits/libc-header-start.h> instead of including <features.h>.
1645         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
1646         [__USE_GNU].
1647         * math/bits/mathcalls.h (nextdown): Declare if
1648         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
1649         (nextup): Likewise.
1650         (__issignaling): Likewise.
1652 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1654         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
1655         check, and remove __glibc_likely hint
1656         from FP_INFINITE check.
1657         * s_csinhf.c (__csinhf): Likewise.
1659         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
1660         hint from FP_INFINITE check.
1661         * s_csinhl.c (__csinhl): Likewise.
1663 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1665         * math/Makefile (libm-calls): Insert F placeholder into
1666         object names.  Move w_lgamma_compat* routines into
1667         (libm-compat-calls): New variable.
1668         (libm-compat-calls-ldouble-yes): New variable.
1669         (calls): Insert F placeholder.
1670         (generated): Redefine using new type-foreach macro call.
1671         (routines): Likewise.
1673         (types): New variable to hold a list of symbolic names
1674         for each type supported by the target machine.
1675         (libm-routines): Redefine using new types variable.
1676         (type-foreach): macro to replace fooF with the
1677         appropriately suffixed foo for each types.
1679         (type-ldouble-suffix): New variable.
1680         (type-ldouble-routines): Likewise.
1681         (type-ldouble-yes): Likewise.
1682         (type-double-suffix): Likewise.
1683         (type-double-routines): Likewise.
1684         (type-float-suffix): Likewise.
1685         (type-float-routines): Likewise.
1687         (dbl-only-routines): Remove.
1688         (long-c-yes): Likewise.
1689         (long-m-routines): Likewise.
1690         (long-m-support): Likewise.
1691         (long-m-yes): Likewise.
1692         (test-longdouble-yes): Likewise.
1694         (test-float.o): Simplify by increasing the scope of the
1695         recipe which adds libm-test.stmp to the vector types.
1696         (test-ifloat.o): Likewise.
1697         (test-float-finite.o): Likewise.
1698         (test-double.o): Likewise
1699         (test-idouble.o): Likewise.
1700         (test-double-finite.o): Likewise.
1701         (test-ldouble.o): Likewise
1702         (test-ildoubl.o): Likewise.
1703         (test-ldouble-finite.o): Likewise.
1705         (libm-tests): Redefine type tests using foreach and the
1706         list of types in types.
1708         (CPPFLAGS-test-ildoubl.c): Rename to
1709         (CPPFLAGS-test-ildouble.c): New variable
1711         * math/test-ildoubl.c: Rename to
1712         * math/test-ildouble.c: New file.
1714 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1716         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
1717         Use fabsl instead of fabs.
1718         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
1719         Likewise.
1720         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
1721         Add long double suffix to constant to ensure proper
1722         promotion to long double.
1724 2016-08-03  Tom Tromey  <tom@tromey.com>
1726         [BZ #20311]
1727         * nptl_db/Makefile (headers): Add proc_service.h.
1728         * nptl_db/proc_service.h: Add include guard.  Use
1729         __BEGIN/__END_DECLS.
1730         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
1731         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
1732         arguments.
1735 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1737         [BZ #17730]
1738         Avoid using memalign for TCB allocations.
1739         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
1740         (_dl_allocate_tls_storage): Use malloc and manual alignment.
1741         Avoid alignment gap in the TLS_DTV_AT_TP case.
1742         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
1743         determine the pointer to free.
1744         * nptl/tst-tls3-malloc.c: New test.
1745         * nptl/Makefile (tests): Add it.
1746         (tst-tls3-malloc): Link with libdl, libpthread.
1747         (LDFLAGS-tst-tls3-malloc): Set.
1748         (tst-tls3-malloc.out): Depend on DSO used in test.
1750 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1752         [BZ #17730]
1753         Avoid using memalign for TLS allocations.
1754         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
1755         is_static member with to_free member.
1756         (union dtv): Use struct dtv_pointer.
1757         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
1758         dtv_pointer instead of is_static.
1759         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
1760         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
1761         instead of val.
1762         (allocate_dtv_entry): New function.
1763         (allocate_and_init): Return struct dtv_pointer.  Call
1764         allocate_dtv_entry instead of __libc_memalign.
1765         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
1766         instead of val.
1767         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
1768         instead of is_static.  Adjust call to allocate_and_init.
1769         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
1770         struct dtv_pointer instead of val.
1772 2016-08-03  Florian Weimer  <fweimer@redhat.com>
1774         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
1775         (MALLOC_ALIGN_MASK): Move ...
1776         * malloc/malloc-internal.h: ... to here.
1777         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
1779 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
1781         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
1782         (UDP_ENCAP_GTP1U): Likewise.
1784         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
1785         (PF_MAX): Update value.
1786         (AF_QIPCRTR): New macro.
1788 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1790         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
1791         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
1792         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
1793         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
1794         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1795         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1796         s_truncf-vis3, s_trunc-vis3.
1797         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
1798         (CFLAGS-s_ceil-vis3.c): Likewise.
1799         (CFLAGS-s_floorf-vis3.c): Likewise.
1800         (CFLAGS-s_floor-vis3.c): Likewise.
1801         (CFLAGS-s_truncf-vis3.c): Likewise.
1802         (CFLAGS-s_trunc-vis3.c): Likewise.
1803         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
1804         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
1805         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
1806         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
1807         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
1808         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
1809         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
1810         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
1811         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
1812         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
1813         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
1814         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
1816 2016-08-02  David S. Miller  <davem@davemloft.net>
1818         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
1819         (__nearbyint_vis3): Don't check for sNaN before float register is
1820         loaded with the incoming argument.
1821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
1822         (__nearbyintf_vis3): Likewise.
1823         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
1824         Likewise.
1825         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
1826         Likewise.
1828         * string/test-strncmp.c (do_test_limit): Make sure the test data
1829         stream is aligned as required for the type "CHAR".
1830         (do_test): Likewise.
1832 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
1834         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
1835         by beq instructions jumping to the end of the function.
1836         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
1837         clobber list. Use "i" constraint instead of "X".
1838         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
1839         of "X".
1841 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
1843         * bits/libc-header-start.h: New file.
1844         * Makefile (headers): Add bits/libc-header-start.h.
1845         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
1846         (__GLIBC_USE): New macro.
1847         * libio/stdio.h: Define
1848         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1849         <bits/libc-header-start.h> instead of including <features.h>.
1850         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
1851         (open_memstream): Likewise.
1852         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
1853         (__asprintf): Likewise.
1854         (asprintf): Likewise.
1855         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
1856         (getdelim): Likewise.
1857         (getline): Likewise.
1858         * string/string.h: Define
1859         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1860         <bits/libc-header-start.h> instead of including <features.h>.
1861         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
1862         (strndup): Likewise.
1863         * wcsmbs/wchar.h: Define
1864         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
1865         <bits/libc-header-start.h> instead of including <features.h>.
1866         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
1867         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
1869 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1871         Support linking against compatibility symbols, for use in tests.
1872         * include/libc-symbols.h (symbol_version_reference): New macro.
1873         (symbol_version): Use it.
1874         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
1875         (compat_symbol): Use compat_symbol_reference.
1876         (compat_symbol_1, compat_symbol_2): Remove.
1877         (compat_symbol_reference, compat_symbol_reference_1)
1878         (compat_symbol_reference_2): New macro.  Use
1879         symbol_version_reference.
1881 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1883         [BZ #19469]
1884         * malloc/Makefile (CPPFLAGS): Compile tests with
1885         -DTEST_NO_MALLOPT.
1886         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
1888 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
1890         [BZ #20033]
1891         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
1892         finite version.
1893         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
1894         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
1895         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
1896         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
1897         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
1898         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
1899         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
1900         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
1901         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
1902         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
1903         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
1904         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
1905         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
1906         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
1907         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
1908         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
1909         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
1910         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
1911         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
1912         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
1913         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
1914         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
1915         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
1916         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
1917         in zero power.
1919 2016-08-02  Florian Weimer  <fweimer@redhat.com>
1921         [BZ #20370]
1922         * malloc/arena.c (get_free_list): Update comment.  Assert that
1923         arenas on the free list have no attached threads.
1924         (remove_from_free_list): New function.
1925         (reused_arena): Call it.
1927 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
1929         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
1930         when it is a NaN.
1931         [_IEEE_FP_INEXACT] Remove.
1932         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
1933         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
1934         when it is a NaN.
1935         [_IEEE_FP_INEXACT] Remove.
1936         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
1937         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
1938         when it is a NaN.
1939         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
1940         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
1941         when its absolute value is greater than 0x1.0p52.
1942         [_IEEE_FP_INEXACT] Remove.
1943         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
1944         when its absolute value is greater than 0x1.0p23.
1945         [_IEEE_FP_INEXACT] Remove.
1947 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
1949         * version.h (RELEASE): Set to "development"
1950         (VERSION): Set to 2.24.90.
1951         * NEWS: Add 2.25 section.
1953         * version.h (RELEASE): Set to "stable"
1954         (VERSION): Set to 2.24.
1955         * include/features.h (__GLIBC_MINOR__): Set to 24.
1957         * NEWS: Add 2.24 fixed bugs.
1958         * po/libc.pot: Regenerate.
1960 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
1962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
1963         [$(subdir) = math] (libm-sysdep_routines): Remove.
1964         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
1965         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
1966         s_truncf-vis3, s_trunc-vis3.
1967         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
1968         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
1969         file.
1970         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
1971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
1972         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1974         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
1975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
1976         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
1977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
1978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
1979         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
1980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
1981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
1982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
1983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
1984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
1985         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
1986         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
1987         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
1988         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
1989         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
1990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
1991         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
1992         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
1993         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
1994         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
1995         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
1996         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
1997         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
1998         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
1999         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
2000         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
2001         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
2002         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
2003         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
2004         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
2005         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
2006         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
2007         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
2008         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
2009         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
2010         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
2011         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
2012         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
2014 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
2016         [BZ #20384]
2017         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
2018         test-double-libmvec-sincos-avx-main.o,
2019         test-double-libmvec-sincos-avx2-main.o,
2020         test-double-libmvec-sincos-main.o,
2021         test-float-libmvec-sincosf-avx-main.o,
2022         test-float-libmvec-sincosf-avx2-main.o and
2023         test-float-libmvec-sincosf-main.o.
2024         test-float-libmvec-sincosf-avx512-main.o.
2025         ($(objpfx)test-double-libmvec-sincos): Also link with
2026         $(objpfx)test-double-libmvec-sincos-main.o.
2027         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
2028         $(objpfx)test-double-libmvec-sincos-avx-main.o.
2029         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
2030         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
2031         ($(objpfx)test-float-libmvec-sincosf): Also link with
2032         $(objpfx)test-float-libmvec-sincosf-main.o.
2033         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
2034         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
2035         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
2036         test-double-libmvec-sincos-avx512-main.o and
2037         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
2038         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
2039         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
2040         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
2041         (CFLAGS-test-double-libmvec-sincos.c): Removed.
2042         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
2043         (CFLAGS-test-double-libmvec-sincos-main.c): New.
2044         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
2045         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
2046         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
2047         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
2048         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
2049         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
2050         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
2051         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
2052         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
2053         -DREQUIRE_AVX2.
2054         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
2055         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
2056         -DREQUIRE_AVX512F.
2057         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
2058         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
2059         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2060         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
2061         file.
2062         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
2063         Likewise.
2064         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
2065         Likewise.
2066         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
2067         Likewise.
2068         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
2069         Likewise.
2070         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
2071         Likewise.
2072         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
2073         Likewise.
2074         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
2075         Likewise.
2077 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
2079         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
2081 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
2083         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
2084         and typo in a comment about AT_HWCAP entry.
2086 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2088         * sysdeps/aarch64/libm-test-ulps: Updated.
2090 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
2092         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
2093         of r13 as it is not restored in mvcle case.
2095 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
2097         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
2098         Rename "ret" to "__ret".
2099         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
2100         inline_syscall5, inline_syscall6): Likewise.
2102 2016-07-19   Will Newton  <will.newton@gmail.com>
2104         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
2105         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
2106         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
2107         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
2108         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
2110 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
2112         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
2113         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
2114         -mfpmath=387 with $(rtld-CFLAGS).
2115         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
2116         $(rtld-CFLAGS).
2118 2016-07-18   Ross Burton  <ross.burton@intel.com>
2119              Khem Raj  <raj.khem@gmail.com>
2121         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
2122         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
2123         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
2124         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
2125         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
2126         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
2127         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
2128         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
2129         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
2130         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
2131         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
2132         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
2133         R_METAG_TLS_DTPOFF): New.
2135 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2136             Matt Clay  <mclay@lycos.com>
2138         [BZ #20357]
2139         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
2140         to call __mpsin/__mpcos and to negate values.
2141         * math/auto-libm-test-in: Add test.
2142         * math/auto-libm-test-out: Regenerate.
2144 2016-07-18  Zack Weinberg  <zackw@panix.com>
2146         * grp/Makefile: Don't install the internal header grp-merge.h.
2148 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2150         * sysdeps/aarch64/libm-test-ulps: Regenerated.
2152 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2154         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
2156 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2158         [BZ #15368]
2159         * sysdeps/unix/sysv/linux/nptl-signals.h
2160         (__nptl_clear_internal_signals): New function.
2161         (__libc_signal_block_all): Likewise.
2162         (__libc_signal_block_app): Likewise.
2163         (__libc_signal_restore_set): Likewise.
2164         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
2165         implementation.
2166         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
2167         the cached pid/tid value in pthread structure.
2169 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
2171         [BZ #20347]
2172         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2174 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2176         [BZ #20348]
2177         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
2178         preadv64, pwrite64 and pwritev64.
2180 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2182         [BZ #20350]
2183         * posix/tst-preadwrite.c: Renamed to ...
2184         * posix/tst-preadwrite-common.c: This.
2185         (PREAD): Removed.
2186         (PWRITE): Likewise.
2187         (STRINGIFY): Likewise.
2188         (STRINGIFY2): Likewise.
2189         (do_prepare): Make it static and remove function arguments.
2190         (do_test): Likewise.
2191         (PREPARE): Updated.
2192         (TEST_FUNCTION): New.
2193         (name): Make it static.
2194         (fd): Likewise.
2195         (do_prepare): Use create_temp_file.
2196         (do_test): Renamed to ...
2197         (do_test_with_offset): This.  Make it static and accept offset.
2198         Properly check return value of PWRITE and PREAD.  Return bytes
2199         read.  Don't close fd nor unlink name.
2200         * posix/tst-preadwrite.c: Rewrite.
2201         * posix/tst-preadwrite64.c: Likewise.
2203 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
2205         [BZ #20309]
2206         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
2207         -mtls-dialect=gnu2 works.
2208         * configure: Regenerated.
2209         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
2210         (tests): Add tst-gnu2-tls1.
2211         (modules-names): Add tst-gnu2-tls1mod.
2212         ($(objpfx)tst-gnu2-tls1): New.
2213         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
2214         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
2215         * elf/tst-gnu2-tls1.c: New file.
2216         * elf/tst-gnu2-tls1mod.c: Likewise.
2217         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
2218         bytes for push in the PLT entry to align the stack.
2220 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
2222         [BZ #20349]
2223         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
2225 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
2227         [BZ #18707]
2228         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
2229         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
2231 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2233         * sysdeps/unix/sysv/linux/sysdep.h
2234         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
2235         guards.
2236         * misc/tst-preadvwritev-common.c: New file.
2237         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
2238         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
2239         a check for files larger than 2GB.
2241         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2242         (__ASSUME_OFF_DIFF_OFF64): Remove define.
2243         * sysdeps/unix/sysv/linux/pread.c
2244         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
2245         __OFF_T_MATCHES_OFF64_T.
2246         * sysdeps/unix/sysv/linux/pread64.c
2247         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
2248         * sysdeps/unix/sysv/linux/preadv.c
2249         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
2250         * sysdeps/unix/sysv/linux/preadv64.c
2251         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
2252         * sysdeps/unix/sysv/linux/pwrite.c
2253         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
2254         * sysdeps/unix/sysv/linux/pwrite64.c
2255         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
2256         * sysdeps/unix/sysv/linux/pwritev.c
2257         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
2258         * sysdeps/unix/sysv/linux/pwritev64.c
2259         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
2261 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
2263         * sysdeps/unix/sysv/linux/tile/kernel-features.h
2264         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
2266 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2268         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
2270 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
2272         [BZ #20240]
2273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
2274         (CFLAGS-s_modf-ppc32.c): New variable.
2275         (CFLAGS-s_modff-ppc32.c): Likewise.
2276         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2277         (CFLAGS-s_modf-ppc64.c): Likewise.
2278         (CFLAGS-s_modff-ppc64.c): Likewise.
2280 2016-07-07  Andreas Schwab  <schwab@suse.de>
2282         [BZ #20263]
2283         * nptl/tst-robust10.c: New test.
2284         * nptl/Makefile (tests): Add tst-robust10.
2286 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
2288         [BZ #20263]
2289         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
2291 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
2293         * sysdeps/s390/linkmap.h (struct link_map_machine):
2294         Remove member gotplt and add member jmprel.
2295         * sysdeps/s390/s390-32/dl-machine.h
2296         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
2297         instead of gotplt with &got[3].
2298         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
2299         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
2301 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
2303         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
2305 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2307         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
2308         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
2309         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2310         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
2311         * libio/vtables.c (_IO_vtable_check)
2312         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
2313         * libio/libioP.h (IO_set_accept_foreign_vtables)
2314         [!PTR_MANGLE]: Do not call PTR_MANGLE.
2316 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
2318         [BZ #20314]
2319         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
2320         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
2321         $(common-objpfx)cmath.
2322         ($(common-objpfx)cstdlib): New target.
2323         ($(common-objpfx)cmath): Likewise.
2325 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
2327         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
2329 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2331         [BZ #20327]
2332         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
2333         are not part of the string.
2335 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2337         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
2338         * nptl/tst-cancel4-common.h (fifoname): New variable.
2339         (fifofd): Likewise.
2340         (cl_fifo): New function.
2341         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
2342         SIGINT.
2343         (tf_open): Add early cancel test.
2345 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
2347         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
2349 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
2351         * sysdeps/generic/ldsodefs.h
2352         (dl_symbol_visibility_binds_local_p): New inline function.
2353         * elf/dl-addr.c (determine_info): Treat hidden and internal
2354         symbols as local.
2355         * elf/dl-lookup.c (do_lookup_x): Likewise.
2356         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
2358 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
2360         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
2361         invalid exception for a sNaN input.
2362         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2363         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
2364         (__nearbyint_vis3): Likewise
2365         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
2366         (__nearbyintf_vis3): Likewise
2367         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
2368         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2369         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
2370         Likewise.
2371         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
2372         Likewise.
2374 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
2376         [BZ #20139]
2377         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
2378         (HAVE_AVX512DQ_ASM_SUPPORT): This.
2379         * sysdeps/x86_64/configure.ac: Require assembler from binutils
2380         2.24 or above.
2381         (HAVE_AVX512_ASM_SUPPORT): Removed.
2382         (HAVE_AVX512DQ_ASM_SUPPORT): New.
2383         * sysdeps/x86_64/configure: Regenerated.
2384         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
2385         check unconditional.
2386         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
2387         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
2388         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
2389         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
2390         Likewise.
2391         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
2392         Likewise.
2393         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
2394         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
2395         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
2396         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
2397         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
2398         Likewise.
2399         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
2400         Likewise.
2401         * sysdeps/x86_64/multiarch/memset.S: Likewise.
2402         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
2403         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
2404         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
2405         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
2406         Likewise.
2407         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
2408         Likewise.
2409         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
2410         Likewise.
2411         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
2412         Likewise.
2413         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
2414         Likewise.
2415         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
2416         Likewise.
2417         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
2418         Likewise.
2419         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
2420         Likewise.
2421         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
2422         Likewise.
2423         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
2424         Likewise.
2425         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
2426         Likewise.
2428 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
2430         [BZ #20024]
2431         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
2432         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
2433         of this implementation of vector function.
2434         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
2435         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
2436         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
2437         Likewise.
2438         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
2439         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
2440         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
2441         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
2442         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
2443         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
2444         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
2445         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
2446         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
2447         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
2448         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
2449         for testing vector sincos with fixed ABI.
2450         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
2451         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
2452         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
2453         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
2454         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
2455         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
2456         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
2457         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
2458         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
2459         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
2460         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
2461         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
2462         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
2463         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
2464         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
2465         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2467 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2469         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
2471 2016-06-30  Anton Blanchard  <anton@samba.org>
2473         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2474         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
2475         s_sinf-ppc64.
2476         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
2477         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
2478         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
2479         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
2481 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2484         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
2485         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
2486         e_expf-ppc64.
2487         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
2488         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
2489         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
2490         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
2492 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
2494         [BZ #20277]
2495         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
2496         when SHARED is defined.
2498 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
2500         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
2501         (index_arch_Prefer_ERMS): Likewise.
2502         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
2503         __memcpy_erms for Prefer_ERMS.
2504         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
2505         (__memmove_erms): Enabled for libc.a.
2506         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
2507         __memmove_erms or Prefer_ERMS.
2508         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
2509         __mempcpy_erms for Prefer_ERMS.
2510         * sysdeps/x86_64/multiarch/memset.S (memset): Return
2511         __memset_erms for Prefer_ERMS.
2513 2016-06-30  Andreas Schwab  <schwab@suse.de>
2515         [BZ #20262]
2516         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
2517         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
2518         of memory.
2520 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
2522         [BZ #18645]
2523         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
2524         (test-extras): Add tst-cleanupx4aux.
2525         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
2526         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
2527         tst-cleanupx4aux.o.
2528         * nptl/tst-cleanupx4aux.c: New file.
2530 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
2532         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
2534 2016-06-29  Andreas Schwab  <schwab@suse.de>
2536         [BZ #20260]
2537         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
2538         address before the beginning of the string as an integer to avoid
2539         array-bounds warning.
2541 2016-06-28  Richard Henderson  <rth@redhat.com>
2543         * elf/elf.h (EM_BPF): New.
2544         (EM_NUM): Update.
2545         (R_BPF_NONE, R_BPF_MAP_FD): New.
2547         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
2548         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
2549         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
2550         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
2551         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
2552         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
2553         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
2554         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
2555         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
2556         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
2557         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
2558         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
2559         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
2560         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
2561         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
2562         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
2563         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
2564         (EM_NUM): Update.
2566 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
2568         [BZ #18960]
2569         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
2570         Set _nl_current_LC_CATEGORY_used to two instead of one.
2572 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
2574         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
2575         (do_test): ... this.
2576         (TEST_FUNCTION): New macro.
2577          Include test-skeleton.c.
2578         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
2579         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
2581 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
2583         [BZ #15479]
2584         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
2585         floating-point environment rather than just control word.
2586         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
2587         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
2588         floating-point environment, with "invalid" exceptions merged in,
2589         rather than just control word.
2590         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
2591         * math/libm-test.inc (trunc_test_data): Do not allow spurious
2592         "inexact" exceptions.
2594         [BZ #15479]
2595         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
2596         floating-point environment rather than just control word.
2597         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
2598         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
2599         floating-point environment, with "invalid" exceptions merged in,
2600         rather than just control word.
2601         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
2602         * math/libm-test.inc (floor_test_data): Do not allow spurious
2603         "inexact" exceptions.
2605         [BZ #15479]
2606         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
2607         floating-point environment rather than just control word.
2608         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
2609         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
2610         floating-point environment, with "invalid" exceptions merged in,
2611         rather than just control word.
2612         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
2613         * math/libm-test.inc (ceil_test_data): Do not allow spurious
2614         "inexact" exceptions.
2616 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
2618         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
2619         __libc_vfork.
2620         (__vfork) [IS_IN (libc)]: Remove alias.
2621         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
2622         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2623         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2625 2016-06-24  Torvald Riegel  <triegel@redhat.com>
2627         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
2628         of atomic_compare_and_exchange_bool_rel.
2629         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
2630         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
2631         catomic_compare_and_exchange_bool_rel): Remove.
2632         * sysdeps/aarch64/atomic-machine.h
2633         (atomic_compare_and_exchange_bool_rel): Likewise.
2634         * sysdeps/alpha/atomic-machine.h
2635         (atomic_compare_and_exchange_bool_rel): Likewise.
2636         * sysdeps/arm/atomic-machine.h
2637         (atomic_compare_and_exchange_bool_rel): Likewise.
2638         * sysdeps/mips/atomic-machine.h
2639         (atomic_compare_and_exchange_bool_rel): Likewise.
2640         * sysdeps/microblaze/atomic-machine.h
2641         ( __arch_compare_and_exchange_bool_8_rel,
2642         __arch_compare_and_exchange_bool_16_rel): Likewise.
2643         * sysdeps/powerpc/atomic-machine.h
2644         ( __arch_compare_and_exchange_bool_8_rel,
2645         __arch_compare_and_exchange_bool_16_rel): Likewise.
2646         * sysdeps/powerpc/powerpc32/atomic-machine.h
2647         ( __arch_compare_and_exchange_bool_32_rel,
2648         __arch_compare_and_exchange_bool_64_rel): Likewise.
2649         * sysdeps/powerpc/powerpc64/atomic-machine.h
2650         ( __arch_compare_and_exchange_bool_32_rel,
2651         __arch_compare_and_exchange_bool_64_rel): Likewise.
2652         * sysdeps/tile/atomic-machine.h
2653         (atomic_compare_and_exchange_bool_rel): Likewise.
2655 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
2657         [BZ #20296]
2658         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
2659         when either argument is a NaN.
2660         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
2661         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
2663         * math/libm-test.inc (snan_value_ld): New macro.
2664         (isgreater_test_data): Add sNaN tests.
2665         (isgreaterequal_test_data): Likewise.
2666         (isless_test_data): Likewise.
2667         (islessequal_test_data): Likewise.
2668         (islessgreater_test_data): Likewise.
2669         (isunordered_test_data): Likewise.
2670         (nextafter_test_data): Likewise.
2671         (nexttoward_test_data): Likewise.
2672         (remainder_test_data): Likewise.
2673         (remquo_test_data): Likewise.
2674         (significand_test_data): Likewise.
2675         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
2677 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2679         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
2680         environment macros are defined.
2681         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
2683 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2685         [BZ #20191]
2686         Implement vtable verification in libio.
2687         * Makerules (shlib.lds): Place __libc_IO_vtables section.
2688         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
2689         * debug/vdprintf_chk.c (__vdprintf_chk): Call
2690         _IO_new_file_init_internal instead of _IO_file_init.
2691         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
2692         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
2693         * libio/Makefile (routines): Add vtables.
2694         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
2695         (_IO_init): Remove, not for internal use.
2696         (_IO_init_internal): Declare, internal replacement for _IO_init.
2697         (_IO_file_init): Remove, not for internal use.
2698         (_IO_new_file_init): Remove, not for internal use.
2699         (_IO_new_file_init_internal): Declare, internal replacement for
2700         _IO_new_file_init.
2701         (_IO_old_file_init): Remove, not for internal use.
2702         (_IO_old_file_init_internal): Declare, internal replacement for
2703         _IO_old_file_init.
2704         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
2705         internal use.
2706         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
2707         Declare.
2708         (libio_vtable): New macro.
2709         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
2710         functions.
2711         * libio/fileops.c (_IO_new_file_init_internal): Rename from
2712         _IO_new_file_init.
2713         (_IO_new_file_init): New externally visible wrapper which disables
2714         vtable verification.
2715         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
2716         Define as vtables.
2717         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
2718         (_IO_init): New externally visible wrapper which disables
2719         vtable verification.
2720         * libio/iofdopen.c (_IO_new_fdopen): Call
2721         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
2722         comment.
2723         * libio/iofopen.c (__fopen_internal): Call
2724         _IO_new_file_init_internal instead of _IO_file_init.
2725         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
2726         Define as vtables.
2727         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
2728         _IO_new_file_init_internal instead of _IO_file_init.
2729         * libio/iopopen.c (_IO_new_popen): Likewise.
2730         (_IO_proc_jumps): Define as vtable.
2731         * libio/iovdprintf.c (_IO_vdprintf): Call
2732         _IO_new_file_init_internal instead of _IO_file_init.
2733         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
2734         (__open_memstream): Call _IO_init_internal instead of _IO_init.
2735         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
2736         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
2737         _IO_old_file_init.
2738         (_IO_old_file_init): New externally visible wrapper which disables
2739         vtable verification.
2740         (_IO_old_file_jumps): Define as vtable.
2741         * libio/oldiofdopen.c (_IO_old_fdopen): Call
2742         _IO_old_file_init_internal instead of _IO_old_file_init.
2743         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
2744         * libio/oldiopopen.c (_IO_old_popen): Likewise.
2745         (_IO_old_proc_jumps): Define as vtable.
2746         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
2747         Define as vtables.
2748         * libio/vtables.c: New file.
2749         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
2750         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
2751         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
2752         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
2753         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
2754         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
2755         instead of _IO_init.
2757 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2759         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
2761 2016-06-23  Florian Weimer  <fweimer@redhat.com>
2763         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
2764         potentially unused.
2766 2016-06-22  Florian Weimer  <fweimer@redhat.com>
2768         * test-skeleton.c (write_message): New function.
2769         * malloc/tst-mallocfork2.c (write_message): Remove.
2770         * debug/tst-longjmp_chk2.c (write_indented): New function.
2771         (write_message): Remove.
2772         (stackoverflow_handler): Call write_indented.
2774 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
2776         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
2777         "inexact" exceptions after fnstenv.
2778         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
2779         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2780         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
2782 2015-06-22  Zack Weinberg  <zackw@panix.com>
2784         * sysdeps/generic/bits/hwcap.h: Moved to ...
2785         * bits/hwcap.h: Here.
2787 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
2789         * sysdeps/aarch64/memcpy.S (memcpy):
2790         Further tuning for performance.
2792 2016-06-21  Florian Weimer  <fweimer@redhat.com>
2794         [BZ #20284]
2795         * malloc/arena.c (reused_arena): Do not return NULL if we start
2796         out with a non-corrupted arena.
2798 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2800         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
2801         * misc/tst-preadvwritev.c: New file.
2802         * misc/tst-preadvwritev64.c: Likewise.
2803         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
2804         usage.
2805         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
2806         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
2807         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
2808         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
2810 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
2812         [BZ #19654]
2813         * sysdeps/x86_64/fpu/Makefile: Added new tests.
2814         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
2815         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
2816         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
2817         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
2818         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
2819         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
2820         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
2821         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
2822         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
2823         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
2824         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
2825         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
2826         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
2827         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
2828         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
2829         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
2830         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
2831         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
2832         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
2833         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
2834         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
2835         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
2836         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
2837         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
2838         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
2840 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2842         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
2843         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
2845 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
2847         * sysdeps/aarch64/memcpy.S (memcpy):
2848         Rewrite of optimized memcpy and memmove.
2849         * sysdeps/aarch64/memmove.S (memmove): Remove
2850         memmove code (merged into memcpy.S).
2852 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2854         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
2855         * sysdeps/generic/dl-dtv.h: New file.
2856         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2857         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
2858         (dtv_t): Remove.
2859         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2860         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
2861         (dtv_t): Remove.
2862         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2863         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
2864         (dtv_t): Remove.
2865         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2866         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
2867         (dtv_t): Remove.
2868         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2869         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
2870         (dtv_t): Remove.
2871         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2872         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
2873         (dtv_t): Remove.
2874         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2875         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
2876         (dtv_t): Remove.
2877         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
2878         (dtv_t): Remove.
2879         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2880         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
2881         (dtv_t): Remove.
2882         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2883         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
2884         (dtv_t): Remove.
2885         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2886         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
2887         (dtv_t): Remove.
2888         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2889         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
2890         (dtv_t): Remove.
2891         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2892         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
2893         (dtv_t): Remove.
2894         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2895         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
2896         (dtv_t): Remove.
2897         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2898         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
2899         (dtv_t): Remove.
2900         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
2901         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
2902         (dtv_t): Remove.
2904 2016-06-20  Florian Weimer  <fweimer@redhat.com>
2906         Revert symbol poisoning of  __malloc_initialize_hook.
2907         * include/stdc-predef.h (__malloc_initialize_hook): Remove
2908         poisoning.
2909         * malloc/Makefile: Remove un-poisoning.
2910         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
2911         instead of old__malloc_initialize_hook.
2912         * malloc/malloc-hooks.h: Likewise.
2913         * malloc/malloc.c: Likewise.
2914         * malloc/mcheck-init.c: Likewise.
2916 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
2918         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
2920 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
2922         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
2923         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
2924         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
2925         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
2927 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2929         * NEWS: Mention addition of nextup and nextdown.
2930         * manual/arith.texi: Document nextup and nextdown.
2931         * manual/libm-err-tab.pl: Add nextup and nextdown.
2932         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
2933         * math/Versions (libm): Add GLIBC_2.24.
2934         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
2935         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
2936         Add new test.
2937         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
2938         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
2939         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
2940         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
2941         (nextup_test_data): Likewise.
2942         (nextdown_test_data): Likewise.
2943         * math/s_nextdown.c: New file.
2944         * math/s_nextdownf.c: Likewise.
2945         * math/s_nextdownl.c: Likewise.
2946         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
2947         F(nextup): New function.
2948         F(nextdown): Likewise.
2949         * math/tgmath.h: Add nextup and nextdown.
2950         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
2951         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
2952         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
2953         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
2954         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
2955         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
2956         Add nextup and nextdown.
2957         (CFLAGS-nldbl-nextup.c): New variable.
2958         (CFLAGS-nldbl-nextdown.c): Likewise.
2959         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
2960         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
2961         * sysdeps/nacl/libm.abilist: Update.
2962         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2963         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2964         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2965         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2966         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2967         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2968         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2969         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2970         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2971         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2972         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2973         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2974         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
2975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2976         Likewise.
2977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
2978         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
2979         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2980         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2981         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2982         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2983         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2984         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
2985         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
2986         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2987         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2988         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
2989         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2991 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2993         * manual/pattern.texi: Fix typos & grammar errors.
2995 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
2997         * manual/search.texi: Fix typos & grammar errors.
2999 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3001         * manual/message.texi: Fix typos & grammar errors.
3003 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
3005         * manual/contrib.texi: Fix spelling typos.
3006         * manual/crypt.texi: Likewise.
3007         * manual/filesys.texi: Likewise.
3008         * manual/locale.texi: Likewise.
3009         * manual/message.texi: Likewise.
3010         * manual/nss.texi: Likewise.
3011         * manual/string.texi: Likewise.
3013 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3015         * manual/locale.texi: Fix typos & grammar errors.
3017 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3019         * manual/charset.texi: Fix typos & grammar errors.
3021 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3023         * manual/string.texi: Fix typos.
3025 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3027         * manual/ctype.texi: Fix typos.
3029 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
3031         * manual/memory.texi: Fix various typos & grammar errors.
3033 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
3035         [BZ #20255]
3036         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
3037         * math/libm-test.inc (fdim_test_data): Add another test.
3039         [BZ #6796]
3040         [BZ #20255]
3041         [BZ #20256]
3042         * math/s_fdim.c: Include <math_private.h>.
3043         (__fdim): Use math_narrow_eval on result.
3044         * math/s_fdimf.c: Include <math_private.h>.
3045         (__fdimf): Use math_narrow_eval on result.
3046         * sysdeps/i386/fpu/s_fdim.S: Remove file.
3047         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
3048         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
3049         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
3050         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
3051         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
3052         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
3053         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
3054         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
3055         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
3056         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
3057         * math/libm-test.inc (fdim_test_data): Expect errno setting on
3058         overflow.  Add sNaN tests.
3060         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
3061         fpclassify.
3062         * math/s_fdimf.c (__fdimf): Likewise.
3063         * math/s_fdiml.c (__fdiml): Likewise.
3065 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3067         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
3068         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
3069         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3070         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
3071         ifunc'ed strcasecmp/strncasecmp.
3072         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
3073         [EALIGN]: Removed.
3074         [END]: Likewise.
3075         [__strcasecmp]: Define instead of the above to control symbol name.
3076         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
3077         for __strcasecmp_power8.
3078         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
3079         for __strncasecmp_power8.
3080         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
3081         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
3082         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
3083         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
3084         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
3085         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
3087 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
3089         [BZ #20252]
3090         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
3091         arguments when second argument is a NaN.
3092         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
3093         qNaN tests.
3095         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
3096         (conj_test_data): Likewise.
3097         (copysign_test_data): Likewise.
3098         (creal_test_data): Likewise.
3099         (fma_test_data): Likewise.
3100         (fmod_test_data): Likewise.
3102         [BZ #20250]
3103         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
3104         itself.
3105         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
3106         zero input to itself.
3107         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
3108         Likewise.
3109         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
3110         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
3111         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3112         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
3113         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
3115 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3117         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
3118         * nptl/tst-cancel4-common.c: New file.
3119         * nptl/tst-cancel4-common.h: Likewise.
3120         * nptl/tst-cancel4.c: Move common definitions to
3121         tst-cancel4-common.{c,h} file.
3122         * nptl/tst-cancel4_1.c: New test.
3123         * nptl/tst-cancel4_2.c: New test.
3125 2016-06-13  Florian Weimer  <fweimer@redhat.com>
3127         [BZ #20248]
3128         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
3129         (write_message): New function.
3130         (stackoverflow_handler): Call it instead of printf, to avoid
3131         excessive stack usage by printf.
3132         (do_test): Restore SIGSEGV, SIGBUS default handlers.
3134 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3136         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
3137         (prio_inherit_missing): Remove define.
3138         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3139         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3140         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
3141         Likewise.
3142         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3143         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3144         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3145         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3146         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3147         (__ASSUME_FUTEX_LOCK_PI): Likewise.
3149 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
3151         [BZ #19670]
3152         [BZ #19672]
3154         * io/test-lfs.c (do_prepare): Use xmalloc.
3155         * io/tst-fcntl.c (do_prepare): Likewise.
3156         * libio/tst-fopenloc.c (do_bz17916): Likewise.
3157         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
3158         * login/tst-utmp.c (do_prepare): Likewise.
3159         * posix/tst-exec.c (do_prepare): Likewise.
3160         * posix/tst-pathconf.c (prepare): Likewise.
3161         * posix/tst-spawn.c (do_prepare): Likewise.
3162         * posix/tst-truncate.c (do_prepare): Likewise.
3163         * rt/tst-aio.c (do_prepare): Likewise.
3164         * rt/tst-aio64.c (do_prepare): Likewise.
3166 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3168         [BZ #20237]
3169         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
3170         (get*ent): Set entidx to NULL during initialization.  If entidx is
3171         NULL, start iteration from the beginning.
3173 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3175         * malloc/malloc.c (musable): Return correct size for dumped fake
3176         mmapped chunk.
3178 2016-06-11  Florian Weimer  <fweimer@redhat.com>
3180         [BZ #20222]
3181         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
3182         (_IO_cookie_write): Likewise.
3183         (_IO_cookie_seek): Likewise.
3184         (_IO_cookie_close): Likewise.
3185         (_IO_old_cookie_seek): Likewise.
3186         (set_callbacks): New function.
3187         (_IO_cookie_init): Call set_callbacks to copy callbacks.
3189 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
3191         * locale/programs/localedef.c (oldstyle_tables): Remove.
3192         * locale/programs/localedef.h (oldstyle_tables): Likewise.
3194 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
3196         [BZ #20240]
3197         * math/Makefile (CFLAGS-s_modf.c): New variable.
3198         (CFLAGS-s_modff.c): Likewise.
3199         (CFLAGS-s_modfl.c): Likewise.
3200         * math/libm-test.inc (modf_test_data): Add sNaN tests.
3202 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
3204         [BZ #20215]
3205         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
3206         [!__GNUC_PREREQ (3,2)]: Likewise.
3208 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
3210         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
3211         (msghdr.msg_controllen): Likewise.
3212         (cmsghdr.cmsg_len): Likewise.
3213         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
3214         ptw-oldsendmsg.
3215         (CFLAGS-oldrecvmsg.c): Remove rule.
3216         (CFLAGS-oldsendmsg.c): Likewise.
3217         (CFLAGS-recvmsg.c): Add rule.
3218         (CFLAGS-sendmsg.c): Likewise.
3219         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
3220         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
3221         (CFLAGS-recvmsg.c): Remove rule.
3222         (CFLAGS-sendmsg.c): Likewise.
3223         (CFLAGS-oldrecvmsg.c): Likewise.
3224         (CFLAGS-oldsendmsg.c): Likewise.
3225         (CFLAGS-recvmmsg.c): Likewise.
3226         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
3227         to kernel defined interfaces.
3228         (msghdr.msg_controllen): Likewise.
3229         (cmsghdr.cmsg_len): Likewise.
3230         (msghdr.__glibc_reserved1): Remove member.
3231         (msghdr.__glibc_reserved2): Likewise.
3232         (cmsghdr.__glibc_reserved1): Likewise.
3233         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
3234         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
3235         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
3236         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
3237         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
3238         version.
3239         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
3240         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
3241         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
3242         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
3243         Remove recvmsg and sendmsg.
3244         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
3245         Likewise.
3246         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
3247         Likewise.
3248         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
3249         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
3250         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
3251         Likewise.
3252         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
3253         Likewise.
3254         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
3255         [libc] (GLIBC_2.24): Likewise.
3256         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
3257         Likewise.
3258         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
3259         Likewise.
3260         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
3261         [libc] (GLIBC_2.24): Likewise.
3262         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
3263         Likewise.
3264         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
3265         Likewise.
3266         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
3267         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
3268         Likewise.
3269         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
3270         Likewise.
3271         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
3272         Likewise.
3273         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
3274         Likewise.
3275         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
3276         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
3277         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
3278         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
3279         version for {recv,send,recm,sendm}msg.
3280         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
3281         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
3282         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
3283         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
3284         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
3285         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
3286         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
3287         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
3288         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
3289         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
3290         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
3291         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
3292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
3293         Likewise.
3294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
3295         Likewise.
3296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
3297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
3298         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
3299         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
3300         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
3301         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
3302         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
3303         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
3304         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
3305         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
3306         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
3307         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
3308         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
3310 2016-06-10  Florian Weimer  <fweimer@redhat.com>
3312         [BZ #19564]
3313         Remove __malloc_initialize_hook from the API.
3314         * malloc/malloc.h (__malloc_initialize_hook): Remove.
3315         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
3316         #pragma GCC poison.
3317         * malloc/malloc-hooks.h: New file.
3318         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
3319         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
3320         (old__malloc_initialize_hook): Rename from
3321         __malloc_initialize_hook to evade poisoning.  Turn into compat
3322         symbol.
3323         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
3324         __malloc_initialize_hook.
3325         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
3326         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
3327         * manual/memory.texi (Hooks for Malloc): Remove
3328         __malloc_initialize_hook.  Adjust hook example.
3330 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
3332         [BZ #20235]
3333         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
3334         itself.
3335         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
3336         * math/libm-test.inc (log2_test_data): Add sNaN tests.
3338         [BZ #20234]
3339         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
3340         infinity or NaN input to itself.
3342         [BZ #20233]
3343         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
3344         to itself.
3346         [BZ #20232]
3347         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
3348         itself.
3350 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3352         * sysdeps/x86_64/start.S (_start): Always indirect branch to
3353         __libc_start_main via GOT.
3355 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
3357         * sysdeps/x86_64/memcopy.h: New file.
3358         * sysdeps/x86_64/wordcopy.c: Likewise.
3360 2016-06-09  Florian Weimer  <fweimer@redhat.com>
3362         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
3363         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
3364         <cstdlib>.
3365         (optimization_barrier): New.
3366         (do_test): Use it.  Call quick_exit in the global namespace.
3367         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
3368         instead of <cstdlib>, <thread>.
3369         (optimization_barrier): New.
3370         (non_main_thread): Adjust declaration.  Call optimization_barrier.
3371         Call quick_exit in the global namespace.
3372         (do_test): Call optimization_barrier.  Use pthread_create,
3373         pthread_join instead of std::thread.
3375 2016-06-09  Andreas Schwab  <schwab@suse.de>
3377         [BZ #19755]
3378         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
3379         new entries in auto-propagate mode.
3380         * nscd/grpcache.c (cache_addgr): Likewise.
3382 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
3384         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
3385         New functions.
3386         (add_temp_file): Use them.
3388 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
3390         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
3392 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
3394         [BZ #20229]
3395         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
3396         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
3397         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
3399         [BZ #20228]
3400         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
3401         itself.
3402         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
3403         * math/libm-test.inc (log10_test_data): Add sNaN tests.
3405         [BZ #20227]
3406         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
3407         itself.
3408         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
3409         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
3410         * math/libm-test.inc (log_test_data): Add sNaN tests.
3412         [BZ #20226]
3413         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
3414         itself.
3415         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
3416         * math/libm-test.inc (exp_test_data): Add sNaN tests.
3417         (exp10_test_data): Likewise.
3418         (expm1_test_data): Likewise.
3420         [BZ #20225]
3421         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
3422         itself.
3423         * math/s_ldexpf.c (__ldexpf): Likewise.
3424         * math/s_ldexpl.c (__ldexpl): Likewise.
3425         * math/w_scalbln.c (__w_scalbln): Likewise.
3426         * math/w_scalblnf.c (__w_scalblnf): Likewise.
3427         * math/w_scalblnl.c (__w_scalblnl): Likewise.
3428         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
3429         (scalbln_test_data): Likewise.
3431         [BZ #20224]
3432         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
3433         argument to itself.
3434         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
3436 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3438         [BZ #19776]
3439         * sysdeps/x86_64/memcpy.S: Make it dummy.
3440         * sysdeps/x86_64/mempcpy.S: Likewise.
3441         * sysdeps/x86_64/memmove.S: New file.
3442         * sysdeps/x86_64/memmove_chk.S: Likewise.
3443         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
3444         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
3445         * sysdeps/x86_64/memmove.c: Removed.
3446         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
3447         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3448         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
3449         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
3450         Likewise.
3451         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
3452         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
3453         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3454         memcpy-sse2-unaligned, memmove-avx-unaligned,
3455         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
3456         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3457         (__libc_ifunc_impl_list): Replace
3458         __memmove_chk_avx512_unaligned_2 with
3459         __memmove_chk_avx512_unaligned.  Remove
3460         __memmove_chk_avx_unaligned_2.  Replace
3461         __memmove_chk_sse2_unaligned_2 with
3462         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
3463         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
3464         with __memmove_avx512_unaligned.  Replace
3465         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
3466         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
3467         with __memcpy_chk_avx512_unaligned.  Remove
3468         __memcpy_chk_avx_unaligned_2.  Replace
3469         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
3470         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
3471         Replace __memcpy_avx512_unaligned_2 with
3472         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
3473         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
3474         with __mempcpy_chk_avx512_unaligned.  Remove
3475         __mempcpy_chk_avx_unaligned_2.  Replace
3476         __mempcpy_chk_sse2_unaligned_2 with
3477         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
3478         Replace __mempcpy_avx512_unaligned_2 with
3479         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
3480         Replace __mempcpy_sse2_unaligned_2 with
3481         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
3482         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
3483         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
3484         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
3485         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
3486         (ENTRY): Removed.
3487         (END): Likewise.
3488         (ENTRY_CHK): Likewise.
3489         (libc_hidden_builtin_def): Likewise.
3490         Don't include ../memcpy.S.
3491         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
3492         __memcpy_chk_avx512_unaligned_erms and
3493         __memcpy_chk_avx512_unaligned.  Use
3494         __memcpy_chk_avx_unaligned_erms and
3495         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3496         Default to __memcpy_chk_sse2_unaligned.
3497         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
3498         Change function suffix from unaligned_2 to unaligned.
3499         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
3500         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
3501         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
3502         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
3503         (ENTRY): Removed.
3504         (END): Likewise.
3505         (ENTRY_CHK): Likewise.
3506         (libc_hidden_builtin_def): Likewise.
3507         Don't include ../mempcpy.S.
3508         (mempcpy): New.  Add a weak alias.
3509         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
3510         __mempcpy_chk_avx512_unaligned_erms and
3511         __mempcpy_chk_avx512_unaligned.  Use
3512         __mempcpy_chk_avx_unaligned_erms and
3513         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
3514         Default to __mempcpy_chk_sse2_unaligned.
3516 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
3518         [BZ #19881]
3519         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
3520         into ...
3521         * sysdeps/x86_64/memset.S: This.
3522         (__bzero): Removed.
3523         (__memset_tail): Likewise.
3524         (__memset_chk): Likewise.
3525         (memset): Likewise.
3526         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
3527         defined.
3528         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
3529         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
3530         (__memset_zero_constant_len_parameter): Check SHARED instead of
3531         PIC.
3532         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
3533         memset-avx2 and memset-sse2-unaligned-erms.
3534         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
3535         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
3536         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
3537         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
3538         (__bzero): Enabled.
3539         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
3540         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
3541         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
3542         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
3543         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
3544         (memset): Removed.
3545         (__memset_chk): Likewise.
3546         (MEMSET_SYMBOL): New.
3547         (libc_hidden_builtin_def): Replace __memset_sse2 with
3548         __memset_sse2_unaligned.
3549         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
3550         __memset_chk_sse2 and __memset_chk_avx2 with
3551         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
3552         Use __memset_chk_sse2_unaligned_erms or
3553         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
3554         __memset_chk_avx512_unaligned_erms and
3555         __memset_chk_avx512_unaligned.
3557 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3559         * math/gen-auto-libm-test.c (fp_format_desc): remove
3560         suffix member.
3561         (output_generic_value): Remove usage of suffix member,
3562         and the resulting unuse of the fp_format argument.
3563         (output_for_one_input_case): Remove unused fp_format
3564         parameter.
3566         * math/auto-libm-test-out: Regenerate.
3568         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
3569         usage with TEST_COND_ibm128.
3570         (TEST_COND_flt_32): Remove.
3571         (TEST_COND_dbl_64): Remove.
3572         (TEST_COND_ldbl_96_intel): Remove.
3573         (TEST_COND_ldbl_96_m68k): Remove.
3574         (TEST_COND_ldbl_128): Remove.
3576 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3578         * auto-libm-test-in:
3579         Replace flt-32 usage with binary32.
3580         Replace dbl-64 usage with binary64.
3581         Replace ldbl-intel-96 usage with intel96.
3582         Replace ldbl-m68k-96 usage with m68k96.
3583         Replace ldbl-128ibm usage with ibm128.
3584         Replace ldbl-128 usage with binary128.
3586         * auto-libm-test-out: Regenerate.
3588 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3590         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
3591         (parse_ulps): Dynamically generate type name matching
3592         string from all_floats.
3593         (get_ulps): Generate the ulps as an array instead.
3594         (output_ulps): Dynamically compose the type based
3595         on the number of supported formats, and print
3596         the indices as type specific helper macros.
3598         * math/libm-test.inc: Remove comment about CHOOSE.
3599         (ulp_data): Generate the type in libm-test-ulps.h.
3600         (ULP_IDX): New macro.
3601         (find_ulps): Update usage of max_ulp.
3603         * math/test-double-vlen2.h (CHOOSE): Remove.
3604         * math/test-double-vlen4.h (CHOOSE): Likewise.
3605         * math/test-double-vlen8.h (CHOOSE): Likewise.
3606         * math/test-float.c (CHOOSE): Likewise.
3607         * math/test-float-finite.c (CHOOSE): Likewise.
3608         * math/test-double.c (CHOOSE): Likewise.
3609         * math/test-double-finite.c (CHOOSE): Likewise.
3610         * math/test-idouble.c (CHOOSE): Likewise.
3611         * math/test-ifloat.c (CHOOSE): Likewise.
3612         * math/test-ildoubl.c (CHOOSE): Likewise.
3613         * math/test-ldouble-finite.c (CHOOSE): Likewise.
3614         * math/test-ldouble.c (CHOOSE): Likewise.
3616         * math/test-float.h (TEST_FLOAT): Remove.
3617         * math/test-double.h (TEST_DOUBLE): Likewise.
3618         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
3620 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3622         * math/gen-libm-test.pl: (apply_lit): New subroutine.
3623         (parse_args): Strip C suffix from floating point literals
3624         typed with 'f' and wrap them with LIT().
3626         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
3627         (test_ff_f_data_nexttoward): Rename to
3628         (test_fj_f_data): New struct.
3629         (nexttoward_test_data): Relabel tests as
3630         TEST_fj_f instead of TEST_ff_f.
3632 2016-06-08  Florian Weimer  <fweimer@redhat.com>
3634         Emacs bug 23726.
3635         * malloc/malloc.c (dumped_main_arena_start): Update comment.
3636         (__libc_realloc): Correct size computation for dumped fake mmapped
3637         chunks.
3639 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
3641         [BZ #20219]
3642         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
3643         to itself.
3644         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
3646         [BZ #20218]
3647         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
3648         to itself.
3649         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
3651 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
3653         [BZ #20195]
3654         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
3655         check to ...
3656         (init_cpu_features): Here.
3658 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
3660         [BZ #20214]
3661         * sysdeps/unix/sysv/linux/bits/in.h
3662         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3663          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
3664         Define to 1.
3665         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
3666          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
3667         Define to 0.
3668         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
3669         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
3671 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
3673         [BZ #20198]
3674         * stdlib/Makefile (tests): Add tst-quick_exit, and
3675         tst-thread-quick_exit.
3676         [ifeq ($(have-cxx-thread_local),yes)]
3677         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
3678         (CFLAGS-tst-thread-quick_exit.o): Likewise.
3679         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
3680         (LDLIBS-tst-thread-quick_exit): Likewise.
3681         [ifneq ($(have-cxx-thread_local),yes)]
3682         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
3683         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
3684         If run_dtors is true call __call_tls_dtors.
3685         (exit): Call __run_exit_handlers with run_dtors set to true.
3686         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
3687         definition.
3688         * stdlib/quick_exit.c (quick_exit): Remove function.
3689         (__new_quick_exit): New function.
3690         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
3691         function.
3692         * stdlib/tst-quick_exit.cc: New file.
3693         * stdlib/tst-thread-quick_exit.cc: New file.
3694         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
3695         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
3696         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
3697         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
3698         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
3699         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
3700         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
3701         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
3702         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
3703         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
3704         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
3705         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
3706         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
3707         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
3708         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
3709         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
3710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
3711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
3712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
3713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
3714         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
3715         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
3716         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
3717         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
3718         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
3719         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
3720         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
3721         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
3722         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
3723         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
3725 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
3727         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
3728         a typo in comments.
3730 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3732         [BZ #20213]
3733         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
3734         argument to itself.
3735         * math/libm-test.inc (asin_test_data): Add sNaN tests.
3737 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3739         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
3740         required flags.
3741         (CFLAGS-pwritev64.c): Likewise.
3742         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
3743         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
3744         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
3745         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
3746         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likwise.
3747         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
3748         syscall from auto-generation.
3749         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
3750         [WORDSIZE == 64] (pwritev64): Remove macro.
3751         [!PWRITEV] (PWRITEV): Likewise.
3752         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3753         [!PWRITEV] (PWRITE): Likewise.
3754         [!PWRITEV] (OFF_T): Likewise.
3755         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
3756         (LO_HI_LONG): Remove macro.
3757         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
3758         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
3759         (PWRITEV): Remove macro.
3760         (PWRITEV_REPLACEMENTE): Likewise.
3761         (PWRITE): Likewise.
3762         (OFF_T): Likewise.
3763         (pwritev64): New function.
3764         * nptl/tst-cancel4.c (tf_writev): Add test.
3766         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
3767         required flags.
3768         (CFLAGS-preadv64.c): Likewise.
3769         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
3770         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
3771         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
3772         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
3773         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likwise.
3774         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
3775         syscall from auto-generation.
3776         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
3777         [WORDSIZE == 64] (preadv64): Remove macro.
3778         [!PREADV] (PREADV): Likewise.
3779         [!PREADV] (PREADV_REPLACEMENT): Likewise.
3780         [!PREADV] (PREAD): Likewise.
3781         [!PREADV] (OFF_T): Likewise.
3782         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
3783         (LO_HI_LONG): Remove macro.
3784         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
3785         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
3786         (PREADV): Remove macro.
3787         (PREADV_REPLACEMENTE): Likewise.
3788         (PREAD): Likewise.
3789         (OFF_T): Likewise.
3790         (preadv64): New function.
3791         * nptl/tst-cancel4.c (tf_preadv): Add test.
3793 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
3795         [BZ #20212]
3796         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
3797         argument to itself.
3798         * math/libm-test.inc (acos_test_data): Add sNaN tests.
3800 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3802         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
3803         New symbol defined as libc_hidden_def.
3804         (strcasestr): Became a weak alias to __strcasestr.
3805         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
3806         according to multi-arch support.  Move __stpncpy hidden
3807         definition from here to...
3808         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
3809         symbol stpncpy.
3810         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
3811         libc_hidden_builtin_def.
3812         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
3813         memset symbol to use when multi-arch support is available.
3815 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
3817         * dlfcn/tst-rec-dlopen.c: Include string.h.
3819 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
3821         * manual/install.texi: Remove mention of --without-tls
3822         * INSTALL: Regenerate.
3824 2016-06-05  Florian Weimer  <fweimer@redhat.com>
3826         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
3827         Remove.
3828         (call_function, interposed_malloc_called): New variables.
3829         (malloc): New function.
3830         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
3831         and clear call_function as needed.
3833 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
3835         * include/wchar.h (__wmemset): Use __typeof.
3837 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
3839         * include/wchar.h (__wmemset): Declare function without typeof.
3841 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
3843         [BZ #20205]
3844         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
3845         exponent when incrementing negative subnormal with low mantissa
3846         word zero.
3847         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
3848         Add another test.
3850 2016-06-03  Florian Weimer  <fweimer@redhat.com>
3852         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
3853         __wmemset instead of wmemset.
3855 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
3857         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
3858         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
3859         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
3860         __USE_KERNEL_IPV6_DEFS to 0.
3861         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
3862         Update comment.
3864 2016-06-01  Florian Weimer  <fweimer@redhat.com>
3866         [BZ #19861]
3867         Do not use IFUNC resolver with potentially unrelocated symbol.
3868         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
3869         (DEFINE_FORK): Remove macro and inline definition.
3870         (fork_alias): Renamed from fork_ifunc.
3871         (__fork_alias): Renamed from __fork_ifunc.
3873 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
3875         [BZ 19653]
3876         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
3877         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
3879 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3881         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
3882         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
3883         i386-linux-gnu).
3884         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
3885         Set to no.
3886         * sysdeps/mach/hurd/configure: Refresh.
3888 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3890         [BZ #20178]
3891         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
3892         on failure instead of exit.
3894 2016-05-30  Roland McGrath  <roland@hack.frob.com>
3896         [BZ #3629]
3897         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
3898         of POSIX.1-2008.
3900 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3902         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
3903           Use PLT entry for calling _hurd_self_sigstate.
3905 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
3907         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
3908         available logical processors with SMT level type sharing L2
3909         cache for Intel processors.
3911 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3913         [BZ #20160]
3914         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
3915         argument to itself before returning the result.
3916         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
3917         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
3918         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
3919         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
3920         Likewise.
3921         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
3922         Likewise.
3923         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
3924         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
3925         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
3926         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
3927         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
3928         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
3930         [BZ #20160]
3931         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
3932         argument to itself before returning the result.
3933         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
3934         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
3935         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
3936         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
3937         Likewise.
3938         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
3939         Likewise.
3940         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
3941         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
3942         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
3943         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
3944         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
3945         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
3947 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3949         * libm-test.inc: Replace usage of M_El with
3950         (lit_e): New macro.
3952 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3954         * libm-test.inc: Replace usage of M_PI_4l with
3955         (lit_pi_4_d): New macro.
3957 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3959         * libm-test.inc: Replace usage of M_PIl with
3960         (lit_pi): New macro.
3962 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3964         * libm-test.inc: Replace usage of M_PI2l with
3965         (lit_pi_2_d): New macro.
3967         * math/test-double.h (LITM): New macro.
3968         * math/test-float.h (LITM): Likewise.
3969         * math/test-ldouble.h (LITM): Likewise.
3971 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3973         * libm-test.inc (M_PI_34l): Rename to
3974         (lit_pi_3_m_4_d): New Macro.
3975         (M_PI_34_LOG10El): Rename to
3976         (lit_pi_3_m_4_ln10_m_d): New Macro.
3977         (M_PI2_LOG10El): Rename to
3978         (lit_pi_2_ln10_m_d):  New Macro.
3979         (M_PI4_LOG10El): Rename to
3980         (lit_pi_4_ln10_m_d):  New Macro.
3981         (M_PI_LOG10El): Rename to
3982         (lit_pi_ln10_d):  New Macro.
3984 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
3986         [BZ #20157]
3987         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
3988         determine whether to negate low half if [_ARCH_PPCGR], and integer
3989         comparison otherwise.
3990         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
3991         determine whether to negate low half.
3993         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
3994         (NO_TEST_INLINE_DOUBLE): Likewise.
3995         (TEST_COND_x86_64): Likewise.
3996         (TEST_COND_x86): Likewise.
3997         (M_PI_6l): Likewise.
3999 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4001         * math/libm-test.inc:
4002         (TEST_FLOAT): Change usage to TEST_COND_binary32.
4003         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
4004         (TEST_LDOUBLE): Update usage to evaluate as true if
4005         the guarded tests match the property being tested.
4006         (LDBL_MAX_EXP): Change to MAX_EXP.
4007         (LDBL_MIN_EXP): Change to MIN_EXP.
4008         (LDBL_MANT_DIG): Change to MANT_DIG, except for
4009         nexttoward tests.
4011 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4013         * math/libm-test.inc:
4014         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
4015         (TYPE_MIN): Likewise.
4016         (TYPE_TRUE_MIN): Likewise.
4017         (TYPE_MAX): Likewise.
4018         (MIN_EXP): Likewise.
4019         (MAX_EXP): Likewise.
4020         (MANT_DIG): Likewise.
4022         (FSTR_MAX): New macro.
4023         (__CONCATX): Likewise.
4024         (QTYPE_STR): Likewise.
4025         (TEST_COND_binary32): Likewise.
4026         (TEST_COND_binary64): Likewise.
4027         (TEST_COND_binary128): Likewise.
4028         (TEST_COND_ibm128): Likewise.
4029         (TEST_COND_intel96): Likewise.
4030         (TEST_COND_m68k96): Likewise.
4032         (TEST_COND_flt_32): Redefine as equivalent format test macro.
4033         (TEST_COND_dbl_64): Likewise.
4034         (TEST_COND_ldbl_96_intel): Likewise.
4035         (TEST_COND_ldbl_96_m68k): Likewise.
4036         (TEST_COND_ldbl_128): Likewise.
4037         (TEST_COND_ldbl_128ibm): Likewise.
4039         (plus_zero): Redefine using LIT macro.
4040         (minus_zero): Likewise.
4041         (plus_infty): Redefine as (INF).
4042         (minux_infty): Redefine as (-INF).
4043         (max_value): Redefine as TYPE_MAX.
4044         (min_value): Redefine as TYPE_MIN.
4045         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
4047         (print_float): Refactor to use snprintf to convert FLOAT values
4048         to string. This brings it closer to dropin replacement of strtof
4049         for the TS 18661 defined types.
4050         (update_stats): Likewise.
4051         (print_complex_function_ulps): Likewise.
4052         (print_max_error): Likewise.
4053         (print_complex_max_error): Likewise.
4054         (check_float_internal): Likewise.
4056         * math/test-float.h (PREFIX): New macro.
4057         (LIT): Likewise.
4058         (TYPE_STR): Likewise.
4059         (FTOSTR): Likewise.
4061         * math/test-double.h (PREFIX): New macro.
4062         (LIT): Likewise.
4063         (TYPE_STR): Likewise.
4064         (FTOSTR): Likewise.
4066         * math/test-ldouble.h (PREFIX): New macro.
4067         (LIT): Likewise.
4068         (TYPE_STR): Likewise.
4069         (FTOSTR): Likewise.
4071 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
4073         [BZ #20156]
4074         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
4075         to itself when zero or not finite.
4076         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
4077         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
4078         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
4079         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
4081 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
4083         [BZ #20153]
4084         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
4085         x * x + x for infinities and NaNs.
4087         [BZ #20151]
4088         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
4089         argument to itself before returning result.
4090         (__ieee754_y0l): Likewise.
4091         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
4092         (__ieee754_y1l).
4094         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
4095         (atan_test_data): Likewise.
4096         (ceil_test_data): Likewise.
4097         (cos_test_data): Likewise.
4098         (cosh_test_data): Likewise.
4099         (erf_test_data): Likewise.
4100         (exp2_test_data): Likewise.
4101         (fabs_test_data): Likewise.
4102         (floor_test_data): Likewise.
4103         (ilogb_test_data): Likewise.
4104         (j0_test_data): Likewise.
4105         (j1_test_data): Likewise.
4106         (jn_test_data): Likewise.
4107         (lgamma_test_data): Likewise.
4108         (lrint_test_data): Likewise.
4109         (llrint_test_data): Likewise.
4110         (logb_test_data): Likewise.
4111         (lround_test_data): Likewise.
4112         (llround_test_data): Likewise.
4113         (nearbyint_test_data): Likewise.
4114         (rint_test_data): Likewise.
4115         (round_test_data): Likewise.
4116         (sin_test_data): Likewise.
4117         (sincos_test_data): Likewise.
4118         (sinh_test_data): Likewise.
4119         (sqrt_test_data): Likewise.
4120         (tan_test_data): Likewise.
4121         (tanh_test_data): Likewise.
4122         (tgamma_test_data): Likewise.
4123         (trunc_test_data): Likewise.
4124         (y0_test_data): Likewise.
4125         (y1_test_data): Likewise.
4126         (yn_test_data): Likewise.
4128         * math/libm-test.inc: Update comment about NaN testing.
4129         (TEST_SNAN): New macro.
4130         (snan_value): Likewise.
4131         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
4132         (fpclassify_test_data): Add sNaN tests.
4133         (isfinite_test_data): Likewise.
4134         (isinf_test_data): Likewise.
4135         (isnan_test_data): Likewise.
4136         (isnormal_test_data): Likewise.
4137         (issignaling_test_data): Likewise.
4138         (signbit_test_data): Likewise.
4139         * math/gen-libm-test.pl (%beautify): Add snan_value.
4140         (show_exceptions): Add argument $test_snan.
4141         (parse_args): Handle snan_value as non-finite.  Update call to
4142         show_exceptions.
4143         * math/Makefile (libm-test-no-inline-cflags): Add
4144         -fsignaling-nans.
4146 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4148         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
4149         (CFLAGS-oldsendmsg.c): Add rule.
4150         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
4151         Correct recvmsg symbol name.
4152         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
4153         Likewise.
4155 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4157         * sysdeps/unix/sysv/linux/Makefile
4158         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
4159         oldsendmmsg.
4160         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
4161         sendmmsg.
4162         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4163         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4164         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4165         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4166         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4167         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4168         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4169         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
4170         Likewise.
4171         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4172         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
4173         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
4174         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
4175         iovlen and controllen fields to adjust to POSIX specification.
4176         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
4178         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
4179         and change to correct expected type.
4180         (msghdr.msg_controllen): Likewise.
4181         (cmsghdr.cmsg_len): Likewise.
4182         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
4183         expected POSIX assumption about the size.
4184         (msghdr.msg_controllen): Likewise.
4185         (msghdr.__glibc_reserved1): Likewise.
4186         (msghdr.__glibc_reserved2): Likewise.
4187         (cmsghdr.cmsg_len): Likewise.
4188         (cmsghdr.__glibc_reserved1): Likewise.
4189         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
4190         Add ptw-oldrecvmsg and ptw-oldsendmsg.
4191         (CFLAGS-sendmsg.c): Remove rule.
4192         (CFLAGS-recvmsg.c): Likewise.
4193         (CFLAGS-oldsendmsg.c): Add rule.
4194         (CFLAGS-oldrecvmsg.c): Likewise.
4195         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
4196         recvmsg and sendmsg.
4197         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
4198         Likewise.
4199         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
4200         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
4201         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
4202         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
4203         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
4204         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
4205         Likewise.
4206         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
4207         Likewise.
4208         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
4209         Likewise.
4210         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
4211         Likewise.
4212         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
4213         Likewise.
4214         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
4215         Likewise.
4216         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
4217         (GLIBC_2.24): Likewise.
4218         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
4219         Likewise.
4220         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
4221         Likewise.
4222         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
4223         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
4224         Likewise.
4225         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
4226         Likewise.
4227         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
4228         Likewise.
4229         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
4230         (GLIBC_2.24): Likewise.
4231         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
4232         Likewise.
4233         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
4234         Likewise.
4235         * sysdeps/unix/sysv/linux/Makefile
4236         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
4237         (CFLAGS-sendmsg.c): Add rule.
4238         (CFLAGS-recvmsg.c): Likewise.
4239         (CFLAGS-oldsendmsg.c): Likewise.
4240         (CFLAGS-oldrecvmsg.c): Likewise.
4241         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
4242         initialization.
4243         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
4244         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
4245         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
4246         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
4247         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
4248         iovlen and controllen fields to adjust to POSIX specification.
4249         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
4250         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
4251         added recvmsg and sendmsg.
4252         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
4253         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
4254         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
4255         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
4256         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
4257         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
4258         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
4259         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
4260         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
4261         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
4262         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
4263         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
4264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
4265         Likewise.
4266         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
4267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
4268         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
4269         Likewise.
4270         Likewise.
4271         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
4272         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
4273         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
4274         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
4275         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4276         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
4277         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
4278         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
4279         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
4280         Likewise.
4281         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
4282         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
4284         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
4285         from auto-generation.
4286         (sendmsg): Likewise.
4287         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
4288         (sendmsg): Likewise.
4289         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
4290         (sendmsg): Likewise.
4291         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
4292         (sendmsg): Likewise.
4293         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
4294         (sendmsg): Likewise.
4295         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
4296         (sendmsg): Likewise.
4297         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
4298         Likewise.
4299         (sendmsg): Likewise.
4300         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
4301         (sendmsg): Likewise.
4302         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4303         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4304         Remove.
4305         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4306         Likewise.
4307         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4308         Undefine.
4309         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4310         Likewise.
4311         * sysdeps/unix/sysv/linux/kernel-features.h
4312         (__ASSUME_SENDMSG_SYSCALL): Define.
4313         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4314         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4315         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4316         Remove.
4317         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4318         Likewise.
4319         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4320         Undefine.
4321         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4322         Likewise.
4323         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4324         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4325         Remove.
4326         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4327         Likewise.
4328         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
4329         Undefine.
4330         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
4331         Likewise.
4332         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4333         (__ASSUME_SENDMSG_SYSCALL): Undefine.
4334         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4335         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4336         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4337         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4338         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4339         (__ASSUME_SENDMSG_SYSCALL): Likewise.
4340         (__ASSUME_RECVMSG_SYSCALL): Likewise.
4342 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4344         * stdlib/gen-tst-strtod-round.c: Add backslash to
4345         compile command in comment.
4346         (printfp): Remove the literal suffix, and define an infinite
4347         value as INF to avoid expansion clash with INFINITY.
4348         (round_str): Remove the literal suffix.
4349         (round_for_all): Likewise, remove the now duplicate ldbl-64
4350         entry, and remove some magic constants.
4352         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
4353         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
4354         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
4355         (_CONCAT): New macro.
4356         (CONCAT): Likewise.
4357         (CHOOSE_ld): Likewise.
4358         (CHOOSE_f): Likewise.
4359         (CHOOSE_d): Likewise.
4360         (FTYPE_MEMBER): Likewise.
4361         (BOOL_MEMBER): Likewise.
4362         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
4363         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
4364         (_XNTRY): Likewise.
4365         (XNTRY): Likewise.
4366         (_ENTRY): Likewise.
4367         (ENTRY): Likewise.
4368         (test_exactness): Generate members via macro.
4369         (test_results): Likewise.
4370         (test): Update members.
4371         (TEST): Redefine using new macros.
4372         (INF): New macro.
4373         (fetestmodes): New structure.
4374         (do_test): Refactor to be type generic.
4375         (test_in_one_mode): Refactor duplicate code into
4376         (GEN_ONE_TEST): New macro.
4378         * stdlib/tst-strtod-round-data.h: Regenerate.
4380         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
4381         Extend to pass additional arbitrary parameters to
4382         generators.
4384 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
4386         [BZ #15479]
4387         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
4388         floating-point state after first floating-point operation on
4389         input.  Restore full floating-point state instead of just rounding
4390         mode.
4391         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
4392         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
4393         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
4394         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
4395         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
4397         [BZ #15479]
4398         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
4399         floating-point state after first floating-point operation on
4400         input.  Restore full floating-point state instead of just rounding
4401         mode.
4402         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
4403         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
4404         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
4405         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
4406         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
4408 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4410         [BZ #19727]
4411         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
4412         valid high surrogate.
4413         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
4414         of an utf16 surrogate.
4415         * iconv/gconv_simple.c (BODY): Likewise.
4416         * iconvdata/bug-iconv12.c: New file.
4417         * iconvdata/Makefile (tests): Add bug-iconv12.
4419 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4421         [BZ #19726]
4422         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
4423         outptrp in case of an illegal input.
4424         * iconv/tst-iconv6.c: New file.
4425         * iconv/Makefile (tests): Add tst-iconv6.
4427 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4429         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
4430         an error in case of a value in range of an utf16 low surrogate.
4432 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4434         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
4435         an error in case of a value in range of an utf16 low surrogate.
4437 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4439         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
4440         Move to ...
4441         * sysdeps/s390/Makefile: ... here.
4442         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
4443         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
4444         (BRANCH_ON_COUNT): New define.
4445         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
4446         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
4447         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
4448         run on s390-32, too.
4449         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
4450         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
4451         run on s390-32, too.
4452         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
4453         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
4454         run on s390-32, too.
4456 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4458         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
4459         etf3eh or new vector loop-variant.
4461 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4463         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
4464         etf3eh or new vector loop-variant.
4466 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4468         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
4469         or new vector loop-variant.
4471 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4473         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
4474         Rename to TR_LOOP and usage of tr instead of troo instruction.
4476 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4478         * sysdeps/s390/multiarch/gconv_simple.c: New File.
4479         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
4481 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4483         * sysdeps/s390/multiarch/8bit-generic.c: New File.
4484         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
4485         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
4486         New override define.
4487         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
4489 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4491         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
4492         * sysdeps/s390/configure.ac: Add test for S390 vector register
4493         support in gcc.
4494         * sysdeps/s390/configure: Regenerated.
4496 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
4498         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
4499         Install file from $(objpfx)gconv-modules.
4500         ($(objpfx)gconv-modules): Concatenate architecture specific file
4501         in variable sysdeps-gconv-modules and gconv-modules in src dir.
4502         * sysdeps/s390/gconv-modules: New file.
4503         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
4504         Deleted.
4505         ($(objpfx)gconv-modules-s390): Deleted.
4506         (sysdeps-gconv-modules): New variable.
4508 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4510         [BZ #15479]
4511         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
4512         of immediate operand to rounding instruction.
4513         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
4514         Likewise.
4515         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
4516         Likewise.
4517         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
4518         Likewise.
4520 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4522         * math/libm-test.inc (MIN_EXP): Directly define as
4523         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
4525 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4527         * math/libm-test.inc (MANT_DIG): Directly define as
4528         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
4530 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4532         * stdlib/gen-tst-strtod-round.c (main):
4533           Change usage to more closely match the generated
4534           output.  Add usage and compilation instructions.
4535           (string_to_fp): Add and use FILE* parameter as
4536           output target.
4537           (print_fp): Likewise.
4538           (round_str): Likewise.
4539           (round_for_all): Likewise.
4540         * stdlib/tst-strtod-round.c (tests): Move into
4541         * stdlib/tst-strtod-round-data.h: New file.
4543 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
4545         [BZ #15479]
4546         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
4547         (__round): Do not force "inexact" exception.
4548         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
4549         variable.
4550         (__round): Do not force "inexact" exception.
4551         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
4552         (__roundf): Do not force "inexact" exception.
4553         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
4554         (__roundl): Do not force "inexact" exception.
4555         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
4556         (__roundl): Do not force "inexact" exception.
4557         * math/libm-test.inc (round_test_data): Do not allow spurious
4558         "inexact" exceptions.
4560         [BZ #15479]
4561         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
4562         exception in comment.
4563         (huge): Remove variable.
4564         (__floor): Do not force "inexact" exception.
4565         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
4566         "inexact" exception in comment.
4567         (huge): Remove variable.
4568         (__floor): Do not force "inexact" exception.
4569         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
4570         exception in comment.
4571         (huge): Remove variable.
4572         (__floorf): Do not force "inexact" exception.
4573         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
4574         exception in comment.
4575         (huge): Remove variable.
4576         (__floorl): Do not force "inexact" exception.
4578         [BZ #15479]
4579         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
4580         exception in comment.
4581         (huge): Remove variable.
4582         (__ceil): Do not force "inexact" exception.
4583         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
4584         "inexact" exception in comment.
4585         (huge): Remove variable.
4586         (__ceil): Do not force "inexact" exception.
4587         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
4588         (__ceilf): Do not force "inexact" exception.
4589         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
4590         exception in comment.
4591         (huge): Remove variable.
4592         (__ceill): Do not force "inexact" exception.
4594 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
4596         * config.h.in (BIND_NOW): New.
4597         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
4598         * configure: Regenerated.
4599         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
4600         indirect branch via the GOT slot.
4602 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4604         [BZ #19765]
4605         * sysdeps/s390/mempcpy.S: New File.
4606         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
4607         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
4608         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4609         Add mempcpy variants.
4610         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
4611         (memcpy): Adjust to be usable from mempcpy entry point.
4612         (__memcpy_mvcle): Likewise.
4613         * sysdeps/s390/s390-64/memcpy.S: Likewise.
4614         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
4615         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
4616         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
4617         (__memcpy_z10): Likewise.
4618         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4620 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4622         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
4623         Remove __GI_ symbol.
4624         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
4625         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
4626         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
4627         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
4628         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
4629         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
4631 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4633         * sysdeps/s390/s390-64/memcpy.S (memcpy):
4634         Use cghi instead of chi to compare 64bit value.
4636 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4638         * sysdeps/s390/s390-32/memcpy.S (memcpy):
4639         Jump to 1MB check before executing mvc-loop.
4641 2016-05-24  Florian Weimer  <fweimer@redhat.com>
4643         [BZ #6527]
4644         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
4645         unconditionally.
4646         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
4648 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4650         * stdlib/tst-strtod6.c (do_test): Use new type generic
4651         invocation of the test function.
4652         (test): Refactor into ...
4653         (TEST_STRTOD): New macro base function.
4655 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4657         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
4658         (TEST_STRTOD): New macro.
4659         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
4661 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
4663         * stdlib/tst-strtod6.c (do_test): Use new type generic
4664         invocation of the test function.
4665         (test): Refactor into ...
4666         (TEST_STRTOD): New macro base function.
4668 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4670         CVE-2016-4429
4671         [BZ #20112]
4672         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
4673         payload.
4675 2016-05-23  Florian Weimer  <fweimer@redhat.com>
4677         [BZ #20111]
4678         * bits/sockaddr.h (_SS_SIZE): Define.
4679         * bits/socket.h (_SS_SIZE): Remove.
4680         (_SS_PADSIZE): Adjust to account for all padding.
4681         (struct sockaddr_storage): Update comment.  Avoid implicit
4682         padding.
4683         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
4684         (_SS_PADSIZE): Adjust to account for all padding.
4685         (struct sockaddr_storage): Update comment.  Avoid implicit
4686         padding.
4687         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
4688         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
4689         (_SS_PADSIZE): Adjust to account for all padding.
4690         (struct sockaddr_storage): Update comment.  Avoid implicit
4691         padding.
4692         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
4693         __SS_SIZE is 126 in this version.
4694         * inet/tst-sockaddr.c: New file.
4695         * inet/Makefile (tests): Add tst-sockaddr.c
4696         (tst-sockaddr.c): Compile with non-strict aliasing.
4698 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
4700         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
4701         [XPG3 || XPG4].
4702         (NL_ARGMAX): Also expect for [XPG3].
4703         (NL_LANGMAX): Likewise.
4704         (NL_MSGMAX): Likewise.
4705         (NL_NMAX): Likewise.
4706         (NL_SETMAX): Likewise.
4707         (NL_TEXTMAX): Likewise.
4708         (NZERO): Likewise.
4709         (TMP_MAX): Likewise.
4710         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
4711         variable.
4713         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
4714         (PF_MAX): Update value.
4715         (AF_KCM): New macro.
4716         (SOL_NETBEUI): Likewise.
4717         (SOL_LLC): Likewise.
4718         (SOL_DCCP): Likewise.
4719         (SOL_NETLINK): Likewise.
4720         (SOL_TIPC): Likewise.
4721         (SOL_RXRPC): Likewise.
4722         (SOL_PPPOL2TP): Likewise.
4723         (SOL_BLUETOOTH): Likewise.
4724         (SOL_PNPIPE): Likewise.
4725         (SOL_RDS): Likewise.
4726         (SOL_IUCV): Likewise.
4727         (SOL_CAIF): Likewise.
4728         (SOL_ALG): Likewise.
4729         (SOL_NFC): Likewise.
4730         (SOL_KCM): Likewise.
4731         (MSG_BATCH): New enum value and macro.
4733 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
4735         [BZ #18185]
4736         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
4737         sharing L2 cache to 2 for Knights Landing.
4739 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
4741         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
4742         (FTW_DP): Do not expect for [XPG3 || XPG4].
4743         (FTW_SL): Do not expect for [XPG3].
4744         (FTW_SLN): Likewise.
4745         (FTW_PHYS): Likewise.
4746         (FTW_MOUNT): Likewise.
4747         (FTW_DEPTH): Likewise.
4748         (FTW_CHDIR): Likewise.
4749         (nftw): Likewise.
4750         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
4751         variable.
4753 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4755         * manual/errno.texi: Fix various typos & grammar errors.
4757 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
4759         * manual/intro.texi: Fix duplicated typo.
4761 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4763         [BZ #13304]
4764         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
4765         <float.h>, <math_private.h> and <stdlib.h>.
4766         (add_split): New function.
4767         (mul_split): Likewise.
4768         (ext_val): New typedef.
4769         (store_ext_val): New function.
4770         (mul_ext_val): New function.
4771         (compare): New function.
4772         (add_split_ext): New function.
4773         (__fmal): After checking for Inf, NaN and zero, compute result as
4774         an exact sum of scaled double values in round-to-nearest before
4775         adding those up and adjusting for other rounding modes.
4776         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
4777         tests of fma.
4778         * math/auto-libm-test-out: Regenerated.
4780 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4782         [BZ #20119]
4783         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
4784         processor level type mask for CPUID with EAX == 11.
4786 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4788         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
4789         logical threads if the HTT bit is 0.
4790         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
4791         (index_cpu_HTT): Likewise.
4792         (reg_HTT): Likewise.
4794 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
4796         [BZ #20115]
4797         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
4798         Remove alignments on jump targets.
4800 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
4802         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
4803         (getpwent): Likewise.
4804         (setpwent): Likewise.
4805         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
4806         variable.
4808         * conform/data/search.h-data (insque): Do not expect for [XPG3].
4809         (remque): Likewise.
4810         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
4811         variable.
4813 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4815         * math/libm-test.inc: Update comment not to refer to signs of NaNs
4816         not being tested.
4818 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4820         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
4821         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
4822         call.
4823         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
4824         (__condvar_cleanup1): Likewise.
4826 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4828         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
4829         New
4830         (__pthread_unwind): Renamed to ...
4831         (PTHREAD_UNWIND): This.
4832         (__pthread_enable_asynccancel): Replace
4833         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
4835 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
4837         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
4838         (CLONE_NEWCGROUP): New macro.
4840         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
4841         (Q_GETNEXTQUOTA): New macro.
4843 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
4845         [BZ #19907]
4846         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
4847         buffer updated by the previous run.
4848         * string/test-memcpy.c (do_one_test): Likewise.
4849         * benchtests/bench-memmove.c (do_one_test): Add a comment.
4850         * string/test-memmove.c (do_one_test): Likewise.
4852 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
4854         [BZ #20094]
4855         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
4856         not [__USE_XOPEN].
4857         (unlockpt): Likewise.
4858         (ptsname): Likewise.
4859         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
4860         variable.
4862         [BZ #20076]
4863         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
4864         instead of [__USE_UNIX98].
4865         (S_ISSOCK): Likewise.
4866         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
4867         variable.
4869         [BZ #20074]
4870         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
4871         [__USE_POSIX].
4872         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
4873         variable.
4875         [BZ #20051]
4876         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
4877         (ttyslot): Do not declare.
4878         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
4879         (ttyslot): New prototype.
4880         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
4881         variable.
4882         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
4884 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
4886         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
4888 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4890         Fix race condition in tst-mallocfork2, use fewer resources.
4891         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
4892         to current process group.
4893         (signal_sender): Yield in the non-sleeping case.
4895 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
4897         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
4898         (ecvt): Likewise.
4899         (fcvt): Likewise.
4900         (gcvt): Likewise.
4901         (getsubopt): Likewise.
4902         (grantpt): Likewise.
4903         (initstate): Likewise.
4904         (l64a): Likewise.
4905         (mktemp): Likewise.
4906         (mkstemp): Likewise.
4907         (ptsname): Likewise.
4908         (random): Likewise.
4909         (realpath): Likewise.
4910         (setstate): Likewise.
4911         (srandom): Likewise.
4912         (ttyslot): Likewise.
4913         (unlockpt): Likewise.
4914         (valloc): Likewise.
4916         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
4917         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
4918         variable.
4920 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4922         [BZ #20072]
4923         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
4924         init_cpu_features only if SHARED is defined.
4925         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
4927 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
4929         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
4930         non-inclusive caches on Intel processors.
4932 2016-05-13  Florian Weimer  <fweimer@redhat.com>
4934         * malloc/malloc.c (dumped_main_arena_start)
4935         (dumped_main_arena_end): New variables.
4936         (DUMPED_MAIN_ARENA_CHUNK): New macro.
4937         (do_check_chunk): Skip dumped fake mmapped chunks.
4938         (munmap_chunk): Likewise.
4939         (__libc_free): Do not adjust statistics for fake mmapped chunks.
4940         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
4941         mmapped chunks.
4942         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
4943         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
4944         and dumped_main_arena_end to cover the dumped heap.
4946 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
4948         * conform/data/time.h-data (getdate_err): Do not expect for
4949         [XPG3].
4950         (getdate): Likewise.
4951         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
4952         variable.
4954         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
4955         (F_ULOCK): Likewise.
4956         (F_TEST): Likewise.
4957         (F_TLOCK): Likewise.
4958         (useconds_t): Likewise.
4959         (intptr_t): Do not expect for [XPG3] or [XPG4].
4960         (brk): Do not expect for [XPG3]
4961         (fchown): Likewise.
4962         (fchdir): Likewise.
4963         (ftruncate): Likewise.
4964         (getdtablesize): Likewise.
4965         (gethostid): Likewise.
4966         (getpagesize): Likewise.
4967         (getpgid): Likewise.
4968         (getsid): Likewise.
4969         (getwd): Likewise.
4970         (lchown): Likewise.
4971         (lockf): Likewise.
4972         (readlink): Likewise.
4973         (sbrk): Likewise.
4974         (setpgrp): Likewise.
4975         (setregid): Likewise.
4976         (setreuid): Likewise.
4977         (symlink): Likewise.
4978         (sync): Likewise.
4979         (truncate): Likewise.
4980         (ualarm): Likewise.
4981         (usleep): Likewise.
4982         (vfork): Likewise.
4983         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
4984         variable.
4986         [BZ #20054]
4987         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
4988         not [__USE_UNIX98].
4989         * conform/data/unistd.h-data (gethostname): Do not expect for
4990         [XPG3].
4992         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
4993         [!POSIX] (S_IFBLK): Likewise.
4994         [!POSIX] (S_IFCHR): Likewise.
4995         [!POSIX] (S_IFIFO): Likewise.
4996         [!POSIX] (S_IFREG): Likewise.
4997         [!POSIX] (S_IFDIR): Likewise.
4998         [!POSIX] (S_IFLNK): Likewise.
4999         [!POSIX] (S_IFSOCK): Likewise.
5000         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
5001         variable.
5002         (test-xfail-XPG4/fcntl.h/conform): Likewise.
5004 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
5006         * sysdeps/aarch64/memset.S (__memset):
5007         Rewrite of optimized memset.
5009 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5011         [BZ #19703]
5012         Partially async-signal-safe fork for single-threaded processes.
5013         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
5014         variable.  Do not acquire and reset/release malloc and libio locks
5015         in single-threaded processes.
5016         * malloc/tst-mallocfork2.c: New file.
5017         * malloc/Makefile (tests): Add it.
5019 2016-05-12  Florian Weimer  <fweimer@redhat.com>
5021         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
5022         argument.  Use scratch buffer instead of extend_alloca.
5023         (gethosts): Use scratch buffer instead of extend_alloca.
5024         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
5025         extend_alloca.
5026         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
5028 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
5030         [BZ #20055]
5031         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
5032         instead of [__USE_UNIX98].
5033         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
5034         [__USE_UNIX98].
5035         * conform/data/termios.h-data (tcgetsid): Do not expect for
5036         [XPG3].
5037         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
5038         variable.
5039         (test-xfail-XPG4/termios.h/conform): Likewise.
5041 2016-05-11  Florian Weimer  <fweimer@redhat.com>
5043         Do not use mcheck in localedef.
5044         * locale/programs/localedef.c (turn_on_mcheck)
5045         (__malloc_initialize_hook): Remove.
5047 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5049         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
5050         * sysdeps/s390/s390-64/Makefile: Likewise.
5052 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
5054         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
5055         Remove ifunc-defines.sym.
5056         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
5057         Likewise.
5058         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
5059         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
5060         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
5061         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
5062         rtld-global-offsets.sym.
5063         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
5064         * sysdeps/x86/cpu-features-offsets.sym: This.
5065         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
5066         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
5068 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
5070         [BZ #20073]
5071         * io/sys/stat.h (fchmod): Declare for
5072         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
5073         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
5074         variable.
5076         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
5077         [XPG3] (S_IFSOCK): Likewise.
5078         [XPG3] (S_ISVTX): Likewise.
5079         [XPG3] (S_ISLNK): Likewise.
5080         [XPG3] (S_ISSOCK): Likewise.
5081         [XPG3] (fchmod): Likewise.
5082         [XPG3] (lstat): Likewise.
5083         [XPG3] (mknod): Likewise.
5085         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
5086         [XPG3].  Expect type long and XFAIL for [XPG4].
5087         (st_blocks): Likewise.
5089         [BZ #20044]
5090         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
5091         (pthread_atfork): New prototype.
5092         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
5093         variable.
5095         [BZ #20043]
5096         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
5097         prototype.
5099 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5101         [BZ #20017]
5102         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
5103         gmtime.
5105 2016-05-10  Florian Weimer  <fweimer@redhat.com>
5107         [BZ #19994]
5108         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
5109         flag in _res.options.
5111 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
5113         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
5114         [XPG3 || XPG4].
5115         (blksize_t): Likewise.
5116         (clockid_t): Likewise.
5117         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
5118         variable.
5119         (test-xfail-XPG4/sys/types.h/conform): Likewise.
5121 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
5123         * sysdeps/unix/sysv/linux/s390/init-first.c:
5124         Add VDSO_SYMBOL(getcpu).
5125         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
5126         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
5127         Add VDSO_SYMBOL(getcpu).
5128         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
5129         New define HAVE_GETCPU_VSYSCALL.
5130         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5132 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
5134         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
5135         instead of <sysdeps/x86_64/cacheinfo.c>.
5136         * sysdeps/x86_64/cacheinfo.c: Moved to ...
5137         * sysdeps/x86/cacheinfo.c: Here.
5139 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5141         * malloc/malloc-internal.h: Adjust header file guard.
5143 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5145         [BZ #19787]
5146         * inet/getnameinfo.c (check_sprintf_result): New function.
5147         (CHECKED_SNPRINTF): New macro.
5148         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
5149         to the host buffer.
5150         (gni_host_local): Use checked_copy to copy the host name.
5151         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
5152         (gni_serv_local): Use checked_copy to copy the service name.
5153         (getnameinfo): Remove unnecessary truncation of result buffers.
5155 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5157         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
5158         in case of inet_ntop failure.
5160 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5162         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
5163         avoid long lines.
5164         (gni_host_inet_numeric): Likewise.  Reduce scope of local
5165         variables.
5166         (gni_host_inet, gni_host_local): Add comment.
5167         (gni_host): Add comment.  Use temporary to avoid long lines.
5169 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5171         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
5172         registers specifiers where general purpose registers specifiers should
5173         have been used.
5175 2016-05-04  Florian Weimer  <fweimer@redhat.com>
5177         [BZ #19779]
5178         CVE-2016-1234
5179         Avoid copying names of directory entries.
5180         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
5181         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
5182         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
5183         (struct readdir_result): New type.
5184         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
5185         (GL_READDIR): New macros.
5186         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
5187         (convert_dirent, convert_dirent64): New functions.
5188         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
5189         convert_dirent64.  Adjust references to the readdir result.
5190         * sysdeps/unix/sysv/linux/i386/glob64.c:
5191         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
5192         * posix/bug-glob2.c (LONG_NAME): Define.
5193         (filesystem): Add LONG_NAME.
5194         (my_DIR): Increase the size of room_for_dirent.
5196 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
5198         [BZ #20041]
5199         * misc/sys/select.h (__need_timespec): Only define if
5200         [__USE_XOPEN2K].
5201         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
5202         variable.
5203         (test-xfail-XPG4/utmpx.h/conform): Likewise.
5204         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
5205         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
5207 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5208             Segher Boessenkool  <segher@gcc.gnu.org>
5210         [BZ #20004]
5211         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
5212         (__novec_swapcontext): Add missing load.
5214 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
5216         [BZ #20023]
5217         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
5218         <time.h>.
5219         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
5220         variable.
5221         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
5223 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5225         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
5226         flags CLONE_VM compare.
5228 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5230         [BZ #20031]
5231         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
5232         completely empty.
5234 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5236         [BZ #19573]
5237         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
5238         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
5239         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
5240         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
5241         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
5242         (hesiod_free_list): Mark as hidden.
5243         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
5244         res_set, res_get.
5245         * hesiod/hesiod.c: Remove unnecessary forward declarations.
5246         (init, __hesiod_res_get, __hesiod_res_set): Remove.
5247         (hesiod_init): Remove obsolete res_ninit call.
5248         (hesiod_end): Do not free resolver state.  Do not invoke callback.
5249         (hesiod_bind): Do not call init.
5250         (get_txt_records): Use res_mkquery, res_send instead of
5251         res_nmkquery, res_nsend.
5252         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
5253         instead of _nss_hesiod_init.
5254         (_nss_hesiod_initgroups_dyn): Likewise.
5255         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
5256         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
5257         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
5259 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5261         * hesiod/hesiod_p.h (DEF_RHS): Remove.
5262         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
5264 2016-05-02  Florian Weimer  <fweimer@redhat.com>
5266         * hesiod/hesiod.h: Remove RCS keyword.
5267         * hesiod/hesiod_p.h: Likewise.
5269         * hesiod/hesiod.c: Likewise.
5271 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
5273         [BZ #12450]
5274         * locale/iso-639.def: Add Samogitian/sgs.
5276 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
5278         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
5280         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
5282 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
5283             Carlos O'Donell  <carlos@redhat.com>
5285         [BZ #19072]
5286         * grp/Makefile (headers): Add grp-merge.h
5287         (routines): Add grp-merge.
5288         * grp/getgrgid_r.c: Include grp-merge.h.
5289         (DEEPCOPY_FN): Define.
5290         (MERGE_FN): Define.
5291         * grp/getgrname_r.c: Include grp-merge.h.
5292         (DEEPCOPY_FN): Define.
5293         (MERGE_FN): Define.
5294         * grp/grp-merge.c: New file.
5295         * grp/grp-merge.h: New file.
5296         * include/grp-merge.h: New file.
5297         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
5298         __copy_grp@GLIBC_PRIVATE.
5299         * manual/nss.texi (Actions in the NSS configuration): Describe
5300         return, continue, and merge.
5301         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
5302         (DEEPCOPY_FN): Define.
5303         (MERGE_FN): Define.
5304         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
5305         (DEEPCOPY_FN): Define.
5306         (MERGE_FN): Define.
5307         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
5308         [!MERGE_FN]: Define __merge_einval.
5309         (CHECK_MERGE): Define.
5310         (REENTRANT_NAME): Process merge if do_merge is true.
5311         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
5312         (__nss_getent_r): Likewise.
5313         * nss/nsswitch.c (nss_parse_service_list): Likewise.
5314         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
5316 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5318         [BZ #20012]
5319         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
5320         length to calculate the buffer to read.
5321         (fmemopen_write): Set the buffer position based on bytes written.
5322         (fmemopen_seek): Return EINVAL for invalid whence modes.
5324         [BZ #19957]
5325         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
5326         tst-getpid2.
5327         (test): Add tst-clone2.
5328         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
5329         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
5330         pid/tid fields for CLONE_VM.
5331         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
5332         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
5333         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
5334         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
5335         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
5336         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
5337         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
5338         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
5339         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
5340         Likewise.
5341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
5342         Likewise.
5343         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
5344         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
5345         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
5346         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
5347         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
5348         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
5349         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
5350         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
5352 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5354         [BZ #19642]
5355         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
5356         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
5357         (gni_serv_local, gni_serv): New functions extracted from
5358         getnameinfo.
5359         (getnameinfo): Call gni_host and gni_serv to perform the
5360         processing.  Always free scratch buffer.
5362 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5364         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
5365         remaining bytes in the dest string, with zeros.
5367 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5369         [BZ #20010]
5370         CVE-2016-3706
5371         * sysdeps/posix/getaddrinfo.c
5372         (convert_hostent_to_gaih_addrtuple): New function.
5373         (gethosts): Call convert_hostent_to_gaih_addrtuple.
5374         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
5375         AF_INET data.
5377 2016-04-29  Florian Weimer  <fweimer@redhat.com>
5379         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
5380         callback function gl_readdir.
5381         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
5382         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
5383         (glob_in_dir): Remove len.  Use strdup instead of malloc and
5384         memcpy to copy the name.
5385         * manual/pattern.texi (Calling Glob): Document requirements for
5386         implementations of the gl_readdir callback function.
5387         * manual/examples/mkdirent.c: New example.
5388         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
5389         per the manual guidance.
5390         * posix/tst-gnuglob.c (my_readdir): Likewise.
5392 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
5394         [BZ #20014]
5395         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
5396         not [__USE_POSIX].
5397         (getchar_unlocked): Likewise.
5398         (putc_unlocked): Likewise.
5399         (putchar_unlocked): Likewise.
5400         (flockfile): Likewise.
5401         (ftrylockfile): Likewise.
5402         (funlockfile): Likewise.
5403         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
5404         variable.
5405         (test-xfail-XPG4/stdio.h/conform): Likewise.
5407         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
5408         Expect constant.
5409         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
5410         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
5411         variable.
5412         (test-xfail-XPG4/langinfo.h/conform): Likewise.
5413         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
5415         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
5416         [__USE_LARGEFILE64] (off64_t): Likewise.
5417         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
5418         variable.
5420 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5422         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
5424 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5426         * resolv/inet_addr.c: Reindent preprocessor conditionals.
5427         * resolv/res_init.c: Likewise.
5428         * resolv/res_mkquery.c: Likewise.
5430 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5432         * resolv/res_init.c (isascii): Do not define.  Use definition in
5433         <ctype.h>.
5434         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
5435         (LOG_AUTH): Remove.
5436         (SPRINTF): Remove, adjust caller.
5437         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
5439 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5441         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
5442         SUNSECURITY conditional.
5443         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
5445 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5447         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
5448         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
5449         Remove BSD-related preprocessor conditionals.
5450         * conf/portability.h: Remove.
5452 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5454         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
5455         * resolv/res_data.c: Likewise.
5457 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5459         * resolv/res_comp.c: Remove code conditional on __ultrix__.
5460         * resolv/res_data.c: Remove code conditional on ultrix.
5462 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5464         * resolv/res_init.c (RFC1535): Do not define.  Remove
5465         RFC1535 preprocessor conditionals.
5466         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
5467         because there configuration options which make the resolver
5468         behavior different.
5470 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5472         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
5473         RESOLVSORT preprocessor conditionals.
5474         * resolv/nss_dns/dns-host.c: Likewise.
5475         * resolv/res_init.c: Likewise.
5477 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5479         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
5480         is never defined.
5482 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5484         * inet/inet_lnaof.c: Remove SCSS keyword.
5485         * inet/inet_mkadr.c: Likewise.
5486         * inet/inet_net.c: Likewise.
5487         * inet/inet_netof.c: Likewise.
5488         * inet/rcmd.c: Likewise.
5489         * inet/rexec.c: Likewise.
5490         * inet/ruserpass.c: Likewise.
5492 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5494         * resolv/inet_addr.c: Remove _LIBC conditionals.
5495         * resolv/res_data.c: Likewise.
5496         * resolv/res_init.c: Likewise.
5497         * resolv/res_mkquery.c: Likewise.
5498         * resolv/res_libc.c: Update comment.
5499         * resolv/README: Update.
5501 2016-04-28  Florian Weimer  <fweimer@redhat.com>
5503         * resolv/gethnamaddr.c: Remove SCSS keyword.
5504         * resolv/herror.c: Likewise.
5505         * resolv/inet_addr.c: Likewise.
5506         * resolv/inet_net_ntop.c: Likewise.
5507         * resolv/inet_net_pton.c: Likewise.
5508         * resolv/inet_neta.c: Likewise.
5509         * resolv/inet_ntop.c: Likewise.
5510         * resolv/inet_pton.c: Likewise.
5511         * resolv/ns_date.c: Remove RCS keyword.
5512         * resolv/ns_name.c: Likewise.
5513         * resolv/ns_netint.c: Likewise.
5514         * resolv/ns_parse.c: Likewise.
5515         * resolv/ns_print.c: Likewise.
5516         * resolv/ns_samedomain.c: Likewise.
5517         * resolv/ns_ttl.c: Likewise.
5518         * resolv/nsap_addr.c: Likewise.
5519         * resolv/res_comp.c: Remove SCSS and RCS keyword.
5520         * resolv/res_data.c: Remove RCS keyword.
5521         * resolv/res_debug.c: Remove SCSS and RCS keyword.
5522         * resolv/res_init.c: Likewise.
5523         * resolv/res_mkquery.c: Likewise.
5524         * resolv/res_query.c: Likewise.
5525         * resolv/res_send.c: Likewise.
5527 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5529         * conform/data/stdio.h-data (fdopen): Expect also for
5530         [XPG3 || XPG4].
5532         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
5533         (fseeko): Likewise.
5534         (ftello): Likewise.
5535         (ftrylockfile): Likewise.
5536         (funlockfile): Likewise.
5537         (getc_unlocked): Likewise.
5538         (getchar_unlocked): Likewise.
5539         (putc_unlocked): Likewise.
5540         (putchar_unlocked): Likewise.
5542 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5544         [BZ #19868]
5545         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
5546         DNS packet syntax checks (which were not needed before).  Skip
5547         over non-PTR records.
5549 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5551         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
5552         definition.  Include <stddef.h> instead.
5554 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5556         [BZ #19831]
5557         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
5558         function.
5559         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
5560         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
5562 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5564         [BZ #19862]
5565         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
5566         (getanswer_r): Do not call syslog.
5567         (gaih_getanswer_slice): Likewise.
5568         * resolv/gethnamaddr.c (AskedForGot): Remove.
5569         (getanswer): Do not call syslog.
5570         (gethostbyaddr): Likewise.
5572 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
5574         * conform/data/signal.h-data (union sigval): Expect also if
5575         [XOPEN2K].
5576         (struct sigevent): Likewise.
5577         (SIGEV_NONE): Likewise.
5578         (SIGEV_SIGNAL): Likewise.
5579         (SIGEV_THREAD): Likewise.
5580         (SIGRTMIN): Likewise.
5581         (SIGRTMAX): Likewise.
5582         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
5583         variable.
5584         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
5586 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5588         [BZ #19830]
5589         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
5590         (gaih_getanswer_slice): Likewise.
5591         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
5592         Also check for availability of RR metadata.
5594 2016-04-27  Florian Weimer  <fweimer@redhat.com>
5596         [BZ #19825]
5597         * resolv/res_send.c (send_vc): Remove early *resplen2
5598         initialization.  Set *resplen2 on socket error.  Call
5599         close_and_return_error for other errors.
5601 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
5603         * sysdeps/unix/sysv/linux/netiucv/iucv.h
5604         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
5605         (SCM_IUCV_TRGCLS): New define.
5607 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5609         [BZ #20005]
5610         * libio/fmemopen.c (fmemopen_write): Update internal position after
5611         write.
5612         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
5613         * stdio-common/tst-fmemopen4.c: New file..
5615 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
5617         [BZ #19996]
5618         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
5619         not [__USE_XOPEN2K].
5620         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
5621         variable.
5623         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
5624         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
5625         variable.
5627         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
5628         [__USE_XOPEN2K8].
5629         [__USE_LARGEFILE64] (off64_t): Likewise.
5630         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
5631         variable.
5633 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
5635         [BZ #19989]
5636         * libio/stdio.h (cuserid): Do not declare if
5637         [__USE_XOPEN2K && !__USE_GNU].
5638         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
5639         variable.
5641 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5643         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5644         (sysdep_routines): Add P8 and PPC64 strcspn targets.
5645         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5646         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
5647         ifunc'ed strcspn.
5648         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
5649         [EALIGN]: Removed.
5650         [END]: Likewise
5651         [STRSPN]: Define instead of the above to control symbol name.
5652         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
5653         New file.
5654         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
5655         Likewise.
5656         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
5657         Likewise.
5658         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
5659         Likewise.
5660         * sysdeps/powerpc/powerpc64/power8/strspn.S:
5661         [INITIAL_MASK]: New macro.
5662         [STRCSPN]: Likewise.
5663         [UPDATE_MASK]: Likewise.
5664         [USE_AS_STRCSPN]: Lisewise.
5666 2016-04-25  Florian Weimer  <fweimer@redhat.com>
5668         [BZ #19931]
5669         * stdio-common/tst-vfprintf-width-prec.c: New file.
5670         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
5671         (tests-special): Add tst-vfprintf-width-prec-mem.out.
5672         (generated): Add mtrace-related files.
5673         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
5674         (tst-%-mem.out): New pattern rule, replaces
5675         tst-printf-bz18872-mem.out.
5676         * stdio-common/vfprintf.c (vfprintf): When handling a precision
5677         specifier, deallocate any previously allocated work buffer.
5679 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
5681         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
5682         Add nop before __startcontext, add explaining comments.
5684 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
5686         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
5687         any more. Notably since IPV6_PKTINFO has been reintroduced with a
5688         completely different API.
5690         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
5691         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
5692         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
5693         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
5694         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
5695         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
5696         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
5697         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
5698         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
5699         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
5701 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
5703         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
5705 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
5707         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
5708         when it is the default of 0.
5710 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5712         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
5713         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5714         (sysdep_routines): Add new strcasestr targets.
5715         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
5716         (__libc_ifunc_impl_list): Likewise.
5717         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
5718         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
5719         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
5720         * sysdeps/powerpc/powerpc64/power8/Makefile:
5721         New file to add strcasestr-ppc64 to sysdep_routines.
5722         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
5723         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
5725 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
5727         * benchtests/Makefile (wcsmbs-benchset): Include only for
5728         native builds and runs.
5729         (LOCALES): Likewise.
5730         (bench-build): Build timing-type here instead of the bench
5731         target.  Generate locale only for native builds.
5732         * benchtests/README: Add note for cross-building.
5734         * benchtests/Makefile (bench-clean): Clean up extra-objs.
5736         * benchtests/README: Update README to include instructions on
5737         using bench-build.
5739         * Makefile.in (bench-build): New target.
5740         * Rules (PHONY): Add bench-build target.
5741         * benchtests/Makefile (bench): Depend on bench-build.
5742         (bench-build): New target.
5744 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
5746         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
5747         profil_reply_port.
5748         (profile_waiter): Do not initialize profil_reply_port.
5749         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
5750         frequency instead of tick length in us.
5752 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
5754         [BZ #18712]
5755         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
5756         (__old_mempcpy_small): Likewise.
5757         (__old_strcpy_small): Likewise.
5758         (__old_stpcpy_small): Likewise.
5759         (__old_strpbrk_c2): Fix compat symbol name.
5760         (__old_strpbrk_c3): Likewise.
5761         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
5762         (__mempcpy_small): Remove.
5763         (__strcpy_small): Remove.
5764         (__stpcpy_small): Remove.
5766 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
5768         [BZ #19400]
5769         * locale/iso-639.def: Add the Talossan/tzl language.
5771 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5773         [BZ #16983]
5774         * locale/programs/ld-address.c (address_finish): Update postal_fmt
5775         comment.  Add "ln" to strchr check on postal_fmt.
5777 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
5779         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
5780         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
5781         tel_dom_fmt.
5783 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
5785         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
5786         (sysdep_routines): Added __strlen_power8.
5787         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
5788         __strlen_power8 entry.
5789         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
5790         Implementation for POWER8.
5791         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
5792         for __strlen_power8.
5793         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
5794         Implementation for POWER8.
5796 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
5798         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
5800 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
5802         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
5803         Goldmont and Airmont processors.
5805 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
5807         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
5808         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
5809         (__STRING2_SMALL_GET32): Remove.
5810         (memset): Remove.
5811         (__memset_1): Remove.
5812         (__memset_gc): Remove.
5813         (__mempcpy): Remove.
5814         (mempcpy): Remove.
5815         (__mempcpy_args): Remove.
5816         (strchr): Remove.
5817         (strcpy): Remove.
5818         (strcpy_args): Remove.
5819         (__stpcpy_args): Remove.
5820         (__strcmp_cc): Remove.
5821         (__strcmp_gc): Remove.
5822         (strstr): Remove.
5824 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
5826         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
5827         * nis/nis_call.c (nis_server_cache_add): Likewise.
5829 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5831         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
5833 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5835         * malloc/arena.c (__malloc_fork_lock_parent)
5836         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
5837         internal_function attribute.
5839 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
5841         * stdio-common/printf_fp.c (__printf_fp_l):
5842         Rename ___printf_fp_l to __printf_fp_l and
5843         remove strong alias. Use libc_hidden_def instead
5844         of ldbl_hidden_def macro.
5846 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5848         Remove malloc hooks from fork handler.  They are no longer needed
5849         because malloc runs right before fork, and no malloc calls from
5850         other fork handlers are not possible anymore.
5851         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
5852         declarations.
5853         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
5854         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
5855         (atfork_recursive_cntr): Remove.
5856         (__malloc_fork_lock_parent): Do not override malloc hooks and
5857         thread_arena.
5858         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
5859         thread_arena.
5860         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
5861         thread_arena instead of save_arena.
5863 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5865         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
5866         (thread_atfork, thread_atfork_static): Remove.
5867         * sysdeps/mach/hurd/malloc-machine.h:
5868         (thread_atfork, thread_atfork_static): Remove.
5870 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5872         [BZ #19431]
5873         Run the malloc fork handler as late as possible to avoid deadlocks.
5874         * malloc/malloc-internal.h: New file.
5875         * malloc/malloc.c: Include it.
5876         * malloc/arena.c (ATFORK_MEM): Remove.
5877         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
5878         Update comment.
5879         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
5880         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
5881         Remove outdated comment.
5882         (ptmalloc_init): Do not call thread_atfork.  Remove
5883         thread_atfork_static.
5884         * malloc/tst-malloc-fork-deadlock.c: New file.
5885         * Makefile (tests): Add tst-malloc-fork-deadlock.
5886         (tst-malloc-fork-deadlock): Link against libpthread.
5887         * manual/memory.texi (Aligned Memory Blocks): Update safety
5888         annotation comments.
5889         * sysdeps/nptl/fork.c (__libc_fork): Call
5890         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
5891         __malloc_fork_unlock_child.
5892         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
5894 2016-04-14  Florian Weimer  <fweimer@redhat.com>
5896         [BZ #19613]
5897         Remove union wait.
5898         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
5899         (w_stopsig, w_stopval): Remove.
5900         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
5901         stat_loc argument.
5902         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
5903         (__WAIT_STATUS_DEFN): Remove.
5904         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5905         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
5906         (wait, wait3, wait4): Use int * for the stat_loc argument.
5907         * posix/wait.c (__wait): Likewise.
5908         * posix/wait3.c (__wait3): Likewise.
5909         * posix/wait4.c (__wait4): Likewise.
5910         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
5911         (__WAIT_STATUS_DEFN): Remove.
5912         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
5913         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
5914         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
5915         argument.
5916         * sysdeps/posix/wait.c (__libc_wait): Likewise.
5917         * sysdeps/posix/wait3.c (__wait3): Likewise.
5918         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
5919         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
5920         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
5921         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
5922         stat_loc argument.
5923         * manual/process.texi (BSD Wait Functions): Remove union wait.
5925 2016-04-13  Andreas Schwab  <schwab@suse.de>
5927         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
5928         (test-extras): Add tst-tlsalign-vars.
5929         * math/Makefile: Wrap long lines.
5930         (libm-vec-test-wrappers): Define.
5931         (test-extras): Add $(libm-vec-test-wrappers).
5932         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
5933         * nss/Makefile (extra-test-objs): Add nss_test1.os.
5934         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
5935         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
5936         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
5937         (extra-test-objs): Add corresponding objects.
5939 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
5941         [BZ #19928]
5942         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
5943         New.
5944         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
5945         times of shared cache size.
5946         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
5947         (VMOVNT): New.
5948         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
5949         (VMOVNT): Likewise.
5950         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
5951         (VMOVNT): Likewise.
5952         (VMOVU): Changed to movups for smaller code sizes.
5953         (VMOVA): Changed to movaps for smaller code sizes.
5954         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
5955         comments.
5956         (PREFETCH): New.
5957         (PREFETCH_SIZE): Likewise.
5958         (PREFETCHED_LOAD_SIZE): Likewise.
5959         (PREFETCH_ONE_SET): Likewise.
5960         Rewrite to use forward and backward loops, which move 4 vector
5961         registers at a time, to support overlapping addresses and use
5962         non temporal store if size is above the threshold and there is
5963         no overlap between destination and source.
5965 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
5967         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
5968         Include dl-vdso.
5969         * sysdeps/unix/sysv/linux/mips/Versions: Add
5970         __vdso_clock_gettime.
5971         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
5972         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
5973         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
5974         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
5975         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
5976         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
5977         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
5978         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
5979         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
5981 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5983         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
5984         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
5985         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
5986         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
5987         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
5988         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
5989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
5990         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
5991         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
5992         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
5993         syscalls generation.
5994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
5995         [__NR_pwrite64] (__NR_write): Remove define.
5996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
5997         [__NR_pwrite64] (__NR_write): Remove define.
5998         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
5999         Remove define.
6000         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
6001         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
6002         Remove define.
6003         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
6004         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
6005         Linux implementation as base.
6006         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
6008         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
6009         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
6010         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
6011         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
6012         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
6013         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
6014         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
6015         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
6016         syscall generation.
6017         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
6018         [__NR_pread64] (__NR_pread): Remove define.
6019         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
6020         [__NR_pread64] (__NR_pread): Likewise.
6021         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
6022         define.
6023         (__libc_pread): Use SYSCALL_LL macro on offset argument.
6024         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
6025         Remove define.
6026         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
6027         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
6028         Linux implementation as base.
6029         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
6030         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
6031         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
6033         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
6034         definition.
6035         (__ALIGNMENT_COUNT): Likewise.
6036         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
6037         (__ALIGNMENT_COUNT): Likewise.
6038         (SYSCALL_LL): New define.
6039         (SYSCALL_LL64): Likewise.
6040         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
6041         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
6042         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
6043         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
6045         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6046         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
6047         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6048         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6049         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6050         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
6052 2016-04-11  Florian Weimer  <fweimer@redhat.com>
6054         [BZ #19865]
6055         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
6056         original buffer before retry.
6058 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6060         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
6061         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
6062         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
6063         GLRO(dl_auxv) list.
6064         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
6065         including <ldsodefs.h>.
6066         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
6068 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
6070         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
6071         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
6072         $(CPPFLAGS).
6074 2016-04-09  Khem Raj  <raj.khem@gmail.com>
6076         [BZ #17950]
6077         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
6078         Add -mfpmath=387.
6080 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
6082         * sysdeps/i386/configure.ac: Change == to = when calling test.
6083         * sysdeps/x86_64/configure.ac: Likewise.
6084         * sysdeps/i386/configure: Regenerated.
6085         * sysdeps/x86_64/configure: Likewise.
6087 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
6089         [BZ #16137]
6090         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
6091         * benchtests/bench-strcoll.c (input_files): Likewise.
6092         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
6093         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
6094         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
6096 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
6098         [BZ #19929]
6099         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
6100         [__USE_XOPEN2K8 && !__USE_GNU].
6101         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
6102         variable.
6104         [BZ #19925]
6105         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
6106         define if [!__USE_MISC && __USE_XOPEN2K].
6107         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
6108         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
6109         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
6110         Likewise.
6111         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
6112         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
6113         variable.
6114         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
6116 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6118         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
6119         (sysdep_routines): Add new strspn targets.
6120         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6121         (__libc_ifunc_impl_list): Add strspn.
6122         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
6123         New file.
6124         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
6125         Likewise.
6126         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
6127         Likewise.
6128         * sysdeps/powerpc/powerpc64/power8/strspn.S:
6129         Likewise.
6131 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6133         * misc/hsearch_r.c: Include <limits.h>.
6135 2016-04-07  Florian Weimer  <fweimer@redhat.com>
6137         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
6139 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6141         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
6142         (MEMCPY_SYMBOL): New.
6143         (MEMPCPY_SYMBOL): Likewise.
6144         (MEMMOVE_CHK_SYMBOL): Likewise.
6145         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
6146         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
6147         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
6148         Provide alias for memcpy in libc.a and ld.so.
6150 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6152         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
6153         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
6154         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
6155         Disabled fro now.
6156         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
6157         symbols.  Properly check USE_MULTIARCH on __memset symbols.
6159 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
6161         * benchtests/Makefile (string-benchset): Add memcpy-large,
6162         memmove-large and memset-large.
6163         * benchtests/bench-memcpy-large.c: New file.
6164         * benchtests/bench-memmove-large.c: Likewise.
6165         * benchtests/bench-memmove-large.c: Likewise.
6166         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
6168 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6170         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
6171         32-bit displacement to avoid long nop between instructions.
6173 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
6175         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
6176         a comment on VMOVU and VMOVA.
6178 2016-04-04  Florian Weimer  <fweimer@redhat.com>
6180         [BZ #19633]
6181         Use specified locale for number formatting in strfmon_l.
6182         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
6183         (__nl_lookup_word): New inline functions.
6184         * include/printf.h (__print_fp_l): Declare.
6185         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
6186         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
6187         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
6188         (___printf_fp): New function.
6189         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
6190         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
6191         * stdlib/tst-strfmon_l.c (do_test): New test.
6192         * stdlib/Makefile (tests): Add kt.
6193         (LOCALES): Build additional locales.
6194         (tst-strfmon_l.out): Require locales.
6196 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6198         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
6199         if not in libc.
6200         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6201         Likewise.
6202         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
6203         Likewise.
6204         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6205         Likewise.
6207 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
6209         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6210         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
6211         with unaligned_erms.
6212         (__memmove_erms): Skip if source == destination.
6213         (__memmove_unaligned_erms): Don't check source == destination
6214         first.
6216 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6218         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
6219         bit_arch_Fast_Copy_Backward for Intel Core proessors.
6221 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6223         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
6224         * string/strspn.c (strspn): Likewise.
6226 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6228         * benchtests/bench-memset.c (do_test): Support 64-byte
6229         alignment.
6230         (test_main): Test 64-byte alignment.
6232 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6234         * benchtests/bench-memmove.c (test_main): Test 64-byte
6235         alignment.
6237 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
6239         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
6241 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6243         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
6244         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
6245         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
6247         * string/strpbrk.c (strpbrk): Rewrite function.
6248         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
6249         (__strpbrk_c2): Likewise.
6250         (__strpbrk_c3): Likewise.
6251         * string/string-inlines.c
6252         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
6253         Likewise.
6254         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
6255         Likewise.
6257         * string/strspn.c (strcspn): Rewrite function.
6258         * string/bits/string2.h (strspn): Use __builtin_strcspn.
6259         (__strspn_c1): Remove inline function.
6260         (__strspn_c2): Likewise.
6261         (__strspn_c3): Likewise.
6262         * string/string-inlines.c
6263         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
6264         compatibility symbol.
6265         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
6266         Likewise.
6267         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
6268         Likewise.
6269         * string/string-inlines.c: Include generic version.
6271 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
6272             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6274         * string/Version (libc): Add GLIBC_2.24.
6275         * string/strcspn.c (strcspn): Rewrite function.
6276         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
6277         (__strcspn_c1): Remove inline function.
6278         (__strcspn_c2): Likewise.
6279         (__strcspn_c3): Likewise.
6280         * string/string-inline.c
6281         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
6282         compatibility symbol.
6283         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
6284         Likewise.
6285         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
6286         Likewise.
6287         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
6289 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6291         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
6292         Use ahi instead of aghi to adjust stack pointer.
6294 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
6296         [BZ #19853]
6297         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
6298         TEST to take significant digits as second parameter.
6299         [TEST]: Redefine in terms of TEST_N taking 30
6300         significant digits.
6301         (do_test): Add test case to demonstrate precision
6302         failure in the ldbl-128ibm printf.
6303         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
6304         (__mpn_extract_long_double): Carry 7 extra intermediate
6305         bits of precision to aide computing difference when
6306         signs differ.
6308 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6310         [BZ #19881]
6311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6312         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
6313         memset-avx512-unaligned-erms.
6314         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6315         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
6316         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
6317         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
6318         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
6319         __memset_sse2_unaligned_erms, __memset_erms,
6320         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
6321         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
6322         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
6323         file.
6324         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
6325         Likewise.
6326         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
6327         Likewise.
6328         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
6329         Likewise.
6331 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
6333         [BZ #19776]
6334         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
6335         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
6336         memmove-avx512-unaligned-erms.
6337         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
6338         (__libc_ifunc_impl_list): Test
6339         __memmove_chk_avx512_unaligned_2,
6340         __memmove_chk_avx512_unaligned_erms,
6341         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
6342         __memmove_chk_sse2_unaligned_2,
6343         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
6344         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
6345         __memmove_avx512_unaligned_erms, __memmove_erms,
6346         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
6347         __memcpy_chk_avx512_unaligned_2,
6348         __memcpy_chk_avx512_unaligned_erms,
6349         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
6350         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
6351         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
6352         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
6353         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
6354         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
6355         __mempcpy_chk_avx512_unaligned_erms,
6356         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
6357         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
6358         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
6359         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
6360         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
6361         __mempcpy_erms.
6362         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
6363         file.
6364         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
6365         Likwise.
6366         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
6367         Likwise.
6368         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
6369         Likwise.
6371 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6373         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
6374         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
6375         (La_s390_64_regs): Likewise.
6376         (La_s390_32_retval): Append vector register lrv_v24.
6377         (La_s390_64_retval): Likeweise.
6378         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
6379         Handle extended structs La_s390_32_regs and La_s390_32_retval.
6380         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
6381         Handle extended structs La_s390_64_regs and La_s390_64_retval.
6383 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
6385         [BZ #19916]
6386         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
6387         to create a non-vector/vector version for _dl_runtime_resolve and
6388         _dl_runtime_profile. Move implementation to ...
6389         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
6390         (_dl_runtime_resolve) Save and restore fpr/vrs.
6391         (_dl_runtime_profile) Save and restore vrs and fix some issues
6392         if _dl_call_pltexit is called.
6393         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
6394         Choose the correct resolver function if running on a machine with vx.
6395         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
6396         to create a non-vector/vector version for _dl_runtime_resolve and
6397         _dl_runtime_profile. Move implementation to ...
6398         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
6399         (_dl_runtime_resolve) Save and restore fpr/vrs.
6400         (_dl_runtime_profile) Save and restore vrs and fix some issues
6401         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
6402         Choose the correct resolver function if running on a machine with vx.
6404 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6406         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
6408 2016-03-31  Florian Weimer  <fweimer@redhat.com>
6410         [BZ #19509]
6411         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
6412         skip_map != NULL.
6413         * elf/tst-dlsym-error.c: New file.
6414         * elf/Makefile (tests): Add tst-dlsym-error.
6415         (tst-dlsym-error): Link against libdl.
6417 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
6419         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6420         (__ASSUME_FUTIMESAT): Remove macro.
6421         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
6423 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6425         [BZ #19879]
6426         CVE-2016-3075
6427         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
6428         copy name.
6430 2016-03-29  Florian Weimer  <fweimer@redhat.com>
6432         [BZ #19837]
6433         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
6434         error if parse_line fails.
6436 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6438         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
6439         (index_cpu_ERMS): Likewise.
6440         (reg_ERMS): Likewise.
6442 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
6444         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
6445         PER_LINUX_FDPIC): Add.
6447 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6449         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6450         memcpy-avx512-no-vzeroupper.
6451         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
6452         to ...
6453         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
6454         (MEMCPY): Don't define.
6455         (MEMCPY_CHK): Likewise.
6456         (MEMPCPY): Likewise.
6457         (MEMPCPY_CHK): Likewise.
6458         (MEMPCPY_CHK): Renamed to ...
6459         (__mempcpy_chk_avx512_no_vzeroupper): This.
6460         (MEMPCPY_CHK): Renamed to ...
6461         (__mempcpy_chk_avx512_no_vzeroupper): This.
6462         (MEMCPY_CHK): Renamed to ...
6463         (__memmove_chk_avx512_no_vzeroupper): This.
6464         (MEMCPY): Renamed to ...
6465         (__memmove_avx512_no_vzeroupper): This.
6466         (__memcpy_avx512_no_vzeroupper): New alias.
6467         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
6469 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6471         [BZ #18858]
6472         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
6473         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
6474         and mempcpy-avx512-no-vzeroupper.
6475         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
6476         New.
6477         (MEMPCPY): Likewise.
6478         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
6479         (MEMPCPY_CHK): New.
6480         (MEMPCPY): Likewise.
6481         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
6482         (MEMPCPY): Likewise.
6483         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
6484         (MEMPCPY): Likewise.
6485         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
6486         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
6487         Likewise.
6488         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
6489         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
6491 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
6492              Amit Pawar  <Amit.Pawar@amd.com>
6494         [BZ #19583]
6495         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
6496         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
6497         processors.  Set Fast_Copy_Backward for AMD Excavator
6498         processors.
6499         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
6500         New.
6501         (index_arch_Fast_Unaligned_Copy): Likewise.
6502         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
6503         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
6505 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6507         [BZ #19791]
6508         * resolv/res_send.c (close_and_return_error): New function.
6509         (send_dg): Initialize *resplen2 after reopen failure.  Call
6510         close_and_return_error for error returns.  On error paths without
6511         __res_iclose, initialze *resplen2 explicitly.  Update comment for
6512         successful return.
6514 2016-03-25  Florian Weimer  <fweimer@redhat.com>
6516         [BZ# 19860]
6517         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
6518         zero if the compiler does not provide the AVX512F bit.
6520 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
6522         [BZ #19848]
6523         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
6524         from 8 to 4.
6525         (__ieee754_powl): Compare integer exponent against 4 not 8.
6526         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
6527         from 8 to 4.
6528         (__ieee754_powl): Compare integer exponent against 4 not 8.
6529         * math/auto-libm-test-in: Add more tests of pow.
6530         * math/auto-libm-test-out: Regenerated.
6531         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
6532         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6534 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6536         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
6537         Make code unconditional.
6538         [!__NR_utimensat]: Remove conditional code.
6539         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
6540         Make code unconditional.
6541         [!__NR_utimensat]: Remove conditional code.
6542         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
6543         Make code unconditional.
6544         [!__NR_utimensat]: Remove conditional code.
6546 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
6548         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
6549         Make code unconditional.
6551 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
6553         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
6554         call-clobbered %eax on retry path.
6555         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
6557 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6559         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
6560         Don't set %rcx twice before "rep movsb".
6562 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
6564         [BZ #19583]
6565         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
6566         inline.  Check family before setting family, model and
6567         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
6568         bits here.
6569         (init_cpu_features): Replace HAS_CPU_FEATURE and
6570         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
6571         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
6572         for Intel processors with usable AVX2.  Call get_common_indeces
6573         for other processors with family == NULL.
6574         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
6575         (CPU_FEATURES_ARCH_P): Likewise.
6576         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
6577         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
6579 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6581         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
6582         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
6583         $(shared-thread-library) instead of hardcoding the path to libpthread.
6585 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
6587         * sysdeps/unix/sysv/linux/kernel-features.h
6588         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
6589         * sysdeps/unix/sysv/linux/getdents.c
6590         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
6591         [!have_no_getdents64_defined]: Likewise.
6592         (__GETDENTS): Remove __have_no_getdents64 conditional.
6594 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
6596         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
6597         Remove macro.
6598         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
6599         <kernel-features.h>.
6600         (signalfd) [__NR_signalfd4]: Make code unconditional.
6601         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
6603 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6605         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
6606         style.
6608 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
6610         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
6611         (__pthread_enable_asynccancel): Use JUMPTARGET to call
6612         __pthread_unwind.
6613         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
6614         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
6615         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
6616         (__condvar_cleanup1): Likewise.
6618 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
6620         [BZ #19822]
6621         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
6622         move it to the final $@ location.
6624 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
6626         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
6627         access where posix_spawn success and pid argument is null.
6628         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
6629         success case.
6631 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
6633         * sysdeps/mach/hurd/i386/c++-types.data: New file.
6635         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
6637         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
6638         and __fcntl.
6639         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
6640         __fcntl only.
6641         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
6642         adding attribute_hidden to __open and __fcntl.
6644         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
6645         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
6646         depend on libc-modules.h,
6647         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
6649 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
6651         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
6652         Remove macro.
6653         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
6654         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
6655         entry.
6657         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
6658         Remove macro.
6659         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
6660         include <kernel-features.h>.
6661         [!__ASSUME_FALLOCATE]: Remove conditional code.
6662         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
6664 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
6666         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
6667         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
6668         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
6669         (_ZGVdN4v_cos_avx2): Likewise.
6670         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
6671         (_ZGVdN4v_cos): Likewise.
6672         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
6673         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
6674         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
6675         (_ZGVdN4v_exp_avx2): Likewise.
6676         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
6677         (_ZGVdN4v_exp): Likewise.
6678         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
6679         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
6680         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
6681         (_ZGVdN4v_log_avx2): Likewise.
6682         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
6683         (_ZGVdN4v_log): Likewise.
6684         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
6685         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
6686         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
6687         (_ZGVdN4vv_pow_avx2): Likewise.
6688         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
6689         (_ZGVdN4vv_pow): Likewise.
6690         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
6691         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
6692         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
6693         (_ZGVdN4v_sin_avx2): Likewise.
6694         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
6695         (_ZGVdN4v_sin): Likewise.
6696         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
6697         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
6698         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
6699         (_ZGVdN4vvv_sincos_avx2): Likewise.
6700         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
6701         (_ZGVdN4vvv_sincos): Likewise.
6702         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
6703         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
6704         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
6705         (_ZGVbN4v_cosf_sse4): Likewise.
6706         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
6707         (_ZGVdN8v_cosf_avx2): Likewise.
6708         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
6709         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
6710         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
6711         (_ZGVbN4v_expf_sse4): Likewise.
6712         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
6713         (_ZGVdN8v_expf_avx2): Likewise.
6714         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
6715         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
6716         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
6717         (_ZGVbN4v_logf_sse4): Likewise.
6718         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
6719         (_ZGVdN8v_logf_avx2): Likewise.
6720         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
6721         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
6722         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
6723         (_ZGVbN4vv_powf_sse4): Likewise.
6724         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
6725         (_ZGVdN8vv_powf_avx2): Likewise.
6726         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
6727         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
6728         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
6729         (_ZGVbN4vvv_sincosf_sse4): Likewise.
6730         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
6731         (_ZGVdN8vvv_sincosf_avx2): Likewise.
6732         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
6733         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
6734         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
6735         (_ZGVbN4v_sinf_sse4): Likewise.
6736         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
6737         (_ZGVdN8v_sinf_avx2): Likewise.
6738         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6739         Use JUMPTARGET to call callee.
6740         (WRAPPER_IMPL_SSE2_ff): Likewise.
6741         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6742         (WRAPPER_IMPL_AVX): Likewise.
6743         (WRAPPER_IMPL_AVX_ff): Likewise.
6744         (WRAPPER_IMPL_AVX_fFF): Likewise.
6745         (WRAPPER_IMPL_AVX512): Likewise.
6746         (WRAPPER_IMPL_AVX512_ff): Likewise.
6747         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
6748         Likewise.
6749         (WRAPPER_IMPL_SSE2_ff): Likewise.
6750         (WRAPPER_IMPL_SSE2_fFF): Likewise.
6751         (WRAPPER_IMPL_AVX): Likewise.
6752         (WRAPPER_IMPL_AVX_ff): Likewise.
6753         (WRAPPER_IMPL_AVX_fFF): Likewise.
6754         (WRAPPER_IMPL_AVX512): Likewise.
6755         (WRAPPER_IMPL_AVX512_ff): Likewise.
6756         (WRAPPER_IMPL_AVX512_fFF): Likewise.
6758 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
6760         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
6761         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
6762         qualifier.
6763         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
6764         internal_function qualifiers.
6766 2016-03-15  Carlos O'Donell <carlos@redhat.com>
6768         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
6769         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
6770         * math/atest-exp.c (exp_mpn): Mark chk unused.
6771         * math/atest-exp2.c (exp_mpn): Likwise.
6772         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
6773         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
6775 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
6777         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
6778         Remove macro.
6779         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
6780         <kernel-features.h>.
6781         [__NR_ppoll]: Make code unconditional.
6782         [!__ASSUME_PPOLL]: Remove conditional code.
6784         * sysdeps/unix/sysv/linux/kernel-features.h
6785         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
6786         (__ASSUME_ACCEPT4): Likewise.
6787         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6788         Define.
6789         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
6790         Likewise.
6791         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6792         Likewise.
6793         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
6794         Likewise.
6795         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
6796         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
6797         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
6798         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6799         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6800         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6801         * sysdeps/unix/sysv/linux/arm/kernel-features.h
6802         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6803         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6804         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6805         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
6806         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6807         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6808         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6809         * sysdeps/unix/sysv/linux/i386/kernel-features.h
6810         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6811         Likewise.
6812         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6813         Likewise.
6814         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6815         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6816         0x040300].
6817         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
6818         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
6819         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6820         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6821         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6822         0x030300].
6823         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
6824         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
6825         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6826         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6827         0x040300].
6828         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6829         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6830         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6831         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6832         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6833         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6834         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
6835         0x030300].
6836         * sysdeps/unix/sysv/linux/mips/kernel-features.h
6837         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6838         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6839         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6840         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
6841         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6842         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6843         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6844         * sysdeps/unix/sysv/linux/s390/kernel-features.h
6845         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
6846         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
6847         0x040300].
6848         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6849         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6850         * sysdeps/unix/sysv/linux/sh/kernel-features.h
6851         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
6852         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6853         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6854         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
6855         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6856         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6857         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6858         * sysdeps/unix/sysv/linux/tile/kernel-features.h
6859         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6860         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
6861         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
6862         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
6863         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
6864         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
6865         Likewise.
6866         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
6867         Likewise.
6869 2016-03-15  Andreas Schwab  <schwab@suse.de>
6871         [BZ #19257]
6872         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
6873         statp->_u._ext.nscount as loop count.
6875 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
6877         * math/test-signgam-finite-c99.c: Also #undef
6878         __LIBC_INTERNAL_MATH_INLINES.
6879         * math/test-signgam-main.c: Likewise.
6881 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
6883         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
6884         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
6885         (MADV_FREE): Likewise.
6886         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
6887         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
6888         EPOLLEXCLUSIVE.
6890 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
6892         * timezone/README: Remove mention of checktab.awk. Mention wiki
6893         SharedSourceFiles.
6895 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
6897         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
6898         WUNTRACED.
6900 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
6902         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
6903         order to match the type of p when calling atomic_exchange_acq().
6905 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6907         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
6908         cfi_offset calls.
6909         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
6910         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
6911         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
6912         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
6913         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
6915 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
6917         * timezone/checktab.awk: Removed.
6919 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
6921         * manual/math.texi (Errors in Math Functions): Document relaxed
6922         accuracy goals for IBM long double.
6923         * math/libm-test.inc (test_exceptions): Always allow spurious
6924         "underflow" and "inexact" exceptions for IBM long double.
6926 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
6928         [BZ #19762]
6929         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
6930         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
6931         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
6932         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
6933         (bit_arch_*): This for feature array.
6934         (bit_*): Renamed to ...
6935         (bit_cpu_*): This for cpu array.
6936         (index_*): Renamed to ...
6937         (index_arch_*): This for feature array.
6938         (index_*): Renamed to ...
6939         (index_cpu_*): This for cpu array.
6940         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
6941         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
6942         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
6943         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
6944         bit_##name with index_cpu_##name and bit_cpu_##name.
6945         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
6946         bit_##name with index_arch_##name and bit_arch_##name.
6948 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
6950         [BZ #19792]
6951         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
6952         Terminate FDE before return label.
6954 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
6956         [BZ #19790]
6957         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
6958         (rintl): Define as macro.
6959         [USE_AS_NEARBYINTL] (__rintl): Likewise.
6960         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
6961         of fesetround.  Ensure results are evaluated before end of scope.
6962         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
6963         USE_AS_NEARBYINTL and include s_rintl.c.
6964         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
6965         Disable exception traps in new environment.
6966         (libc_feholdsetround_ppc_ctx): Likewise.
6968 2016-03-08  Roland McGrath  <roland@hack.frob.com>
6970         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
6971         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
6972         (tst_audit10_aux) [__AVX512F__]: ... here.
6974 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
6976         * include/sys/auxv.h: New file.
6978 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6980         [BZ #19759]
6981         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
6983 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6985         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
6986         operand modifier.
6987         (feclearexcept): Likewise.
6989 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
6991         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
6992         to reflect the entire 32-bit HWCAP.
6993         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
6994         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
6996 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
6998         [BZ #19783]
6999         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
7000         $(test-via-rtld-prefix).
7001         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
7003 2016-03-08  Florian Weimer  <fweimer@redhat.com>
7005         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
7006         union wait.  Report any non-zero exit status as error.
7008 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7010         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
7011         configured with --enable-hardcoded-path-in-tests.
7013 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
7015         [BZ #19677]
7016         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7017         (__ieee754_remainderl): Put zero low parts in canonical form.
7018         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
7019         file.  Based on
7020         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
7021         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
7022         with wrapper round test-fmodrem-ldbl-128ibm.c.
7023         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
7024         file.
7025         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
7026         Likewise.
7027         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
7028         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
7030 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7032         [BZ #19610]
7033         * elf/ldconfig.c (opt_link): Update comment.
7034         (options): Update help string for option -X.
7035         (search_dir): Unlink stale symbolic link only if updating symbolic
7036         links.
7037         * elf/tst-ldconfig-X.sh: New file.
7038         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
7039         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
7041 2016-03-07  Andreas Schwab  <schwab@suse.de>
7043         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
7044         needed arguments.
7046 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
7048         [BZ #15333]
7049         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
7050         to lstat64.
7052 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7054         * libio/filedoalloc.c (isatty): Remove.
7055         (local_isatty): Add comment.  Call __isatty directly.
7056         (_IO_file_doallocate): Update comment.  Assume _LIBC.
7057         * libio/wfiledoalloc.c (isatty): Remove.
7058         (_IO_wfile_doallocate): Update comment.
7060 2016-03-07  Florian Weimer  <fweimer@redhat.com>
7062         [BZ #19269]
7063         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
7064         tst-audit4-aux.o.
7065         (tst-audit10): Depend on tst-audit10-aux.o.
7066         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
7067         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
7068         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
7069         instead of inline AVX code.
7070         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
7071         instead of inline AVX512 code.
7072         * sysdeps/x86_64/tst-audit4-aux.c: New file
7073         * sysdeps/x86_64/tst-audit10-aux.c: New file
7075         [BZ #19648]
7076         * test-skeleton.c (main): Do not set RLIMIT_DATA.
7078 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7080         [BZ #14750]
7081         [BZ #10354]
7082         [BZ #18433]
7083         * include/sched.h (__clone): Add hidden prototype.
7084         (__clone2): Likewise.
7085         * include/unistd.h (__dup): Likewise.
7086         * posix/Makefile (tests): Add tst-spawn2.
7087         * posix/tst-spawn2.c: New file.
7088         * sysdeps/posix/dup.c (__dup): Add hidden definition.
7089         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
7090         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
7091         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
7092         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
7093         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
7094         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
7095         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
7096         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
7097         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
7098         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
7099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
7100         Likewise.
7101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
7102         Likewise.
7103         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
7104         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
7105         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
7106         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7107         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
7108         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
7109         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
7110         * sysdeps/unix/sysv/linux/nptl-signals.h
7111         (____nptl_is_internal_signal): New function.
7112         * sysdeps/unix/sysv/linux/spawni.c: New file.
7114         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
7115         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
7116         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
7117         * posix/tst-execvp2.c (do_test): Likewise.
7118         * posix/tst-execvp3.c (do_test): Likewise.
7119         * posix/tst-execvp4.c (do_test): Likewise.
7120         * posix/tst-execvpe1.c: New file.
7121         * posix/tst-execvpe2.c: Likewise.
7122         * posix/tst-execvpe3.c: Likewise.
7123         * posix/tst-execvpe4.c: Likewise.
7124         * posix/tst-execvpe5.c: Likewise.
7125         * posix/tst-execvpe6.c: Likewise.
7127         [BZ #19534]
7128         * posix/execl.c (execl): Remove dynamic memory allocation.
7129         * posix/execle.c (execle): Likewise.
7130         * posix/execlp.c (execlp): Likewise.
7132 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7134         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
7135         Replace .text with .text.avx512.
7136         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
7137         Likewise.
7139 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
7141         * sysdeps/generic/libnsl.abilist: New file.
7142         * sysdeps/generic/libutil.abilist: New file.
7144 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
7146         [BZ #19762]
7147         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
7148         HAS_ARCH_FEATURE with Fast_Rep_String.
7149         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
7150         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
7151         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
7152         Likewise.
7153         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
7154         Likewise.
7155         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
7156         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
7157         Likewise.
7158         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
7159         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
7160         Likewise.
7162 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7164         [BZ #19745]
7165         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
7166         with *%rax in call.
7168 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7170         [BZ #19745]
7171         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
7172         with *__libc_start_main@GOTPCREL(%rip) in call.
7174 2016-03-04  Roland McGrath  <roland@hack.frob.com>
7176         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
7177         inside conditional for nonempty $(CXX).
7179         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
7180         nonempty.
7182         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
7183         to test for empty $(CXX) rather than $(CXX) of "no".
7185 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
7187         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
7189 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
7190             H.J. Lu  <hongjiu.lu@intel.com>
7192         [BZ #18880]
7193         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
7194         instead of Slow_BSF, and also check for Fast_Copy_Backward to
7195         enable __memcpy_ssse3_back.
7197 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7199         [BZ #19758]
7200         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
7201         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
7203 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
7205         [BZ #19490]
7206         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
7207         (__fentry__): Likewise.
7209 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
7211         * gmon/Makefile (noprof): Add $(sysdep_noprof).
7212         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
7214 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7216         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
7217         __mcount_internal directly.
7218         (C_LABEL(__fentry__)): Likewise.
7219         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
7220         directly.
7222 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
7224         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
7225         (__start_context): Call __setcontext directly.
7227 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
7229         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
7230         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7231         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
7232         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7233         * sysdeps/unix/sysv/linux/arm/kernel-features.h
7234         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7235         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
7236         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7237         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
7238         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
7239         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7240         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7241         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
7242         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7243         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7244         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
7245         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
7246         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
7247         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7248         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
7249         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
7250         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7251         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7252         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
7253         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
7254         Remove conditional code.
7255         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
7256         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
7257         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7258         * sysdeps/unix/sysv/linux/sh/kernel-features.h
7259         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
7260         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7261         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
7262         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
7263         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
7264         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7265         * sysdeps/unix/sysv/linux/tile/kernel-features.h
7266         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
7268 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
7270         * NEWS (2.23): Fix typo in bug 19048 text.
7272 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
7274         [BZ #14259]
7275         * Makeconfig: Rename msgcatdir to localedir.
7276         Rename inst_msgcatdir to inst_localedir.
7277         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
7278         * config.make.in: Add localedir.
7279         * elf/Makefile ($(objpfx)sotruss): Use localedir.
7280         (ldd-rewrite): Likewise.
7281         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
7282         (install-others): Use inst_localedir.
7283         (CPPFLAGS): Use localedir.
7284         * locale/Makefile (locale-CPPFLAGS): Likewise.
7285         * po/Makefile (mo-installed): Use inst_localedir.
7287         [BZ #19575]
7288         * localedata/charmaps/GB18030: Update comments regarding PAU to
7289         non-PUA mappings.
7291 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
7293         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
7294         test for header.
7295         * sysdeps/unix/sysv/linux/configure: Regenerated.
7296         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
7297         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
7298         Remove conditional code.
7299         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
7301         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
7302         Define to 3.2.0.
7303         (arch_minimum_kernel): Likewise.
7304         * sysdeps/unix/sysv/linux/configure: Regenerated.
7305         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
7306         Define to 2.6.32.
7307         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
7308         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
7309         (arch_minimum_kernel): Define to 2.6.32.
7310         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
7311         * README: Document Linux 3.2 requirement.
7312         * manual/install.texi (Linux): Document Linux 3.2 headers
7313         requirement.
7314         * INSTALL: Regenerated.
7316 2016-02-24  Andreas Schwab  <schwab@suse.de>
7318         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
7319         if !NO_LONG_DOUBLE.
7321 2016-02-22  Roland McGrath  <roland@hack.frob.com>
7323         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
7324         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
7326 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
7328         [BZ #19512]
7329         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
7331 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7333         * posix/tst-dir.c: Include libc-internal.h.
7335 2016-02-20  Florian Weimer  <fweimer@redhat.com>
7337         [BZ #19056]
7338         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
7339         * manual/filesys.texi (Reading/Closing Directory): Mention
7340         deprecaion.
7341         * posix/tst-dir.c (main): Disable deprecation warning in test.
7343 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
7345         [BZ #19679]
7346         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
7347         Renamed to ...
7348         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
7349         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7350         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
7351         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7352         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7353         * sysdeps/x86_64/dl-trampoline.h
7354         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
7355         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
7357 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7359         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
7361 2016-02-19  Mark Wielaard  <mjw@redhat.com>
7363         * elf/elf.h (R_386_GOT32X): New.
7364         (R_386_NUM): Update.
7365         (R_X86_64_GOTPCRELX: New.
7366         (R_X86_64_REX_GOTPCRELX): New.
7367         (R_X86_64_NUM): Update.
7369 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
7371         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
7373 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
7375         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
7376         assign attr->stackaddr to it, and adjust it down when
7377         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
7378         [_STACK_GROWS_UP]: Delete assert.
7379         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
7380         Implement stack grows up logic.
7381         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
7382         stack grows up logic.
7384 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7386         * NEWS: Update with 2.24 template.
7388 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7390         [BZ #19678]
7391         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
7392         Ensure +0.0 is returned when taking the next value below the least
7393         positive value.
7395 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7397         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
7398         available.  Do not define NO_THREADS.
7399         * malloc/malloc.c: Do not check NO_THREADS.
7400         * malloc/arena.c: Likewise.
7402 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7404         * malloc/malloc.c (__libc_mallinfo): Update comment.
7405         (struct malloc_par): Remove max_total_mem member, it was always 0.
7406         (int_mallinfo): Store 0 into usmblks (no functional change).
7407         * malloc/hooks.c (struct malloc_state): Document that
7408         max_total_mem is always 0.
7409         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
7410         always 0.
7411         * manual/memory.texi (Statistics of Malloc): Likewise.
7413 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7415         * malloc/malloc.c (sysmalloc): Do not update arena_max.
7416         * malloc/arena.c (arena_max): Remove.
7417         (heap_trim, _int_new_arena): Do not update arena_max.
7419 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7421         * resolv/res_init.c (res_ninit): Update comment.
7423 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7425         [BZ #19505]
7426         * posix/spawn_int.h: Add headers and include guard.
7427         (__spawn_valid_fd): New function.
7428         * posix/spawn_faction_addopen.c
7429         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
7430         * posix/spawn_faction_addclose.c
7431         (posix_spawn_file_actions_addclose): Likewise.
7432         * posix/spawn_faction_adddup2.c
7433         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
7434         second file descriptor.
7435         * posix/spawn_valid_fd.c: New file.
7436         * posix/tst-posix_spawn-fd.c: New file.
7437         * posix/Makefile (routines): Add spawn_valid_fd.
7438         (tests): Add tst-posix_spawn-fd.
7440 2016-02-19  Florian Weimer  <fweimer@redhat.com>
7442         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
7443         (do_test): Limit the number of arenas, so that we can use fewer
7444         outer threads.  Limit timeout to 3 seconds, in preparation for a
7445         larger TIMEOUT value.
7447 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
7449         [BZ #19674]
7450         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
7451         sign in overflowing and underflowing results when overflow or
7452         underflow is detected early.  Include sign in result before rather
7453         than after scaling.
7455         [BZ #19603]
7456         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
7457         (__ieee754_remainderl): Adjust sign of integer version of low part
7458         when taking absolute value of high part.
7459         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
7460         * math/libm-test.inc (remainder_test_data): Add another test.
7461         (remquo_test_data): Likewise.
7463 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
7465         [BZ #19602]
7466         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
7467         equal high parts and both low parts zero specially.
7468         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
7469         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
7470         Add test-fmodl-ldbl-128ibm.
7472         [BZ #19595]
7473         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
7474         common logic for all cases of shifting subnormal results.  Do not
7475         insert sign bit in shifted mantissa.  Always pass -1023 as biased
7476         exponent to ldbl_insert_mantissa in subnormal case.
7478         [BZ #19594]
7479         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
7480         on high and low parts then adjust result and use
7481         ldbl_canonicalize_int if needed.
7483         [BZ #19593]
7484         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
7485         on high part and __floor or __ceil on low part then use
7486         ldbl_canonicalize_int if needed.
7488         [BZ #19592]
7489         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
7490         high and low parts then use ldbl_canonicalize_int if needed.
7492         [BZ #17899]
7493         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
7494         New function.
7495         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
7496         on high and low parts then use ldbl_canonicalize_int if needed.
7498 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7500         * configure: Regenerated.
7502         * po/libc.pot: Regenerated.
7504         * po/be.po: Updated translation.
7505         * po/bg.po: Likewise.
7506         * po/ca.po: Likewise.
7507         * po/cs.po: Likewise.
7508         * po/da.po: Likewise.
7509         * po/el.po: Likewise.
7510         * po/eo.po: Likewise.
7511         * po/es.po: Likewise.
7512         * po/fi.po: Likewise.
7513         * po/fr.po: Likewise.
7514         * po/gl.po: Likewise.
7515         * po/hr.po: Likewise.
7516         * po/hu.po: Likewise.
7517         * po/ia.po: Likewise.
7518         * po/id.po: Likewise.
7519         * po/it.po: Likewise.
7520         * po/ja.po: Likewise.
7521         * po/lt.po: Likewise.
7522         * po/nb.po: Likewise.
7523         * po/nl.po: Likewise.
7524         * po/pt_BR.po: Likewise.
7525         * po/rw.po: Likewise.
7526         * po/sk.po: Likewise.
7527         * po/sl.po: Likewise.
7528         * po/sv.po: Likewise.
7529         * po/tr.po: Likewise.
7530         * po/zh_CN.po: Likewise.
7531         * po/zh_TW.po: Likewise.
7533         * version.h (RELEAES): Set to "development".
7534         (VERSION): Set to 2.23.90.
7536         * version.h (RELEASE): Set to "stable".
7537         (VERSION): Set to 2.23.
7538         * include/feature.h (__GLIBC_MINOR__): Set to 23.
7540         * NEWS: Updated fixed bugs.
7542 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
7543             Wilco Dijkstra  <wdijkstr@arm.com>
7545         [BZ #19462]
7546         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
7547         (_STRING_INLINE_unaligned): This.
7548         * include/string.h: Include <string_private.h>.
7549         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
7550         _STRING_INLINE_unaligned.
7551         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
7552         (_STRING_INLINE_unaligned): New.
7553         * sysdeps/aarch64/string_private.h: New file.
7554         * sysdeps/generic/string_private.h: Likewise.
7555         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
7556         * sysdeps/s390/string_private.h: Likewise.
7557         * sysdeps/x86/string_private.h: Likewise.
7558         * sysdeps/m68k/m680x0/m68020/bits/string.h
7559         (_STRING_ARCH_unaligned): Renamed to ...
7560         (_STRING_INLINE_unaligned): This.
7561         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
7562         to ...
7563         (_STRING_INLINE_unaligned): This.
7564         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
7565         to ...
7566         (_STRING_INLINE_unaligned): This.
7567         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
7568         to ...
7569         (_STRING_INLINE_unaligned): This.
7571 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
7572             H.J. Lu  <hongjiu.lu@intel.com>
7574         [BZ #19590]
7575         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
7576         relocation.
7578 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
7580         [BZ #18665]
7581         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
7582         *herrno_p.
7583         (gaih_getanswer): Document functional behviour. Return tryagain
7584         if any result is tryagain.
7585         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
7586         when freed.
7587         * resolv/res_send.c: Add copyright text.
7588         (__libc_res_nsend): Document that MAXPACKET is expected.
7589         (send_vc): Document. Remove buffer reuse.
7590         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
7591         size of the buffer. Add Dprint for truncated UDP buffer.
7593 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
7595         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
7596         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
7597         * INSTALL: Regenerate.
7599 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
7600             Jonathan Wakely  <jwakely@redhat.com>
7601             Carlos O'Donell  <carlos@redhat.com>
7603         [BZ 19439]
7604         * math/Makefile (tests): Add test-math-isinff.
7605         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
7606         * math/bits/mathcalls.h [__USE_MISC]: Use
7607         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
7608         functions not in C++11 and which don't conflict e.g. isinff,
7609         isinfl etc.
7610         * math/test-math-isinff.cc: New file.
7612 2016-02-12  Florian Weimer  <fweimer@redhat.com>
7614         * misc/bug18240.c (do_test): Set RLIMIT_AS.
7616 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7618         [BZ #19529]
7619         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
7621 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7623         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7625 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
7627         [BZ #19550]
7628         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
7629         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
7630         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
7631         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
7632         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
7633         New syscall entry.
7634         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
7635         New syscall entry.
7636         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
7637         syscall entry.
7639 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
7641         [BZ #18240]
7642         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
7643         unsigned int wraparound.
7645 2016-01-27  Florian Weimer  <fweimer@redhat.com>
7647         [BZ #18240]
7648         * misc/bug18240.c: New test.
7649         * misc/Makefile (tests): Add it.
7651 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
7652             Joseph Myers  <joseph@codesourcery.com>
7654         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
7655         load in branch delay slot when less than a word of input left.
7657 2016-01-27  Andreas Schwab  <schwab@suse.de>
7659         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
7660         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
7661         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
7662         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
7664 2016-01-26  David S. Miller  <davem@davemloft.net>
7666         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
7668 2016-01-25  David S. Miller  <davem@davemloft.net>
7670         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
7671         __sqrtl_finite.
7672         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
7673         instead using versioned_symbol.
7674         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
7675         of entries.
7677         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
7678         __sqrtl_finite to GLIBC_2.23
7680 2016-01-25  Ricchard Henderson  <rth@redhat.com>
7682         * sysdeps/alpha/fpu/libm-test-ulps: Update.
7684 2016-01-25  Andreas Schwab  <schwab@suse.de>
7686         [BZ #17514]
7687         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
7688         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
7689         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
7690         * nptl/tst-mutex-errorcheck.c: New file.
7692 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7694         [BZ #18560]
7695         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
7696         (IPCOP_semop): Likewise.
7697         (IPCOP_semget): Likewise.
7698         (IPCOP_semctl): Likewise.
7699         (IPCOP_msgsnd): Likewise.
7700         (IPCOP_msgrcv): Likewise.
7701         (IPCOP_msgget): Likewise.
7702         (IPCOP_msgctl): Likewise.
7703         (IPCOP_shmat): Likewise.
7704         (IPCOP_shmdt): Likewise.
7705         (IPCOP_shmget): Likewise.
7706         (IPCOP_shmctl): Likewise.
7708 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
7710         * string/tst-endian.c: Include <libc-internal.h>.
7711         (do_test): Ignore tautological-compare warnings around
7712         "htobeXX (beXXtoh (i)) != i" and
7713         "htoleXX (leXXtoh (i)) != i" if-statements.
7715 2016-01-24  David S. Miller  <davem@davemloft.net>
7717         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
7718         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
7719         alias.
7720         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
7721         __sqrtl_finite.
7723         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7725 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
7727         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
7728         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
7729         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
7731 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7733         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
7734         (thread_func): Use new function to simplify barrier check.
7735         (do_test): Use new function to simplify checking barrier exit
7736         code, and actually join the child thread.
7738 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7740         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
7741         semicolon.
7742         (__libc_tend): Likewise.
7743         (__libc_tabort): Likewise.
7745 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
7747         * sysdeps/nios2/libm-test-ulps: Update.
7748         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
7749         (__gtsf2): Likewise.
7750         (__unorddf2): Likewise.
7751         (__unordsf2): Likewise.
7752         (__ledf2): Likewise.
7754 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
7756         * nis/nis_table.c (__follow_path): Disable diagnostic for
7757         uninitialized variable that is a false positive for gcc 4.7.
7758         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
7760 2016-01-20  Roland McGrath  <roland@hack.frob.com>
7762         * sysdeps/nacl/lowlevellock-futex.h
7763         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
7764         Always evaluate PRIVATE argument.
7766 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
7768         [BZ #19490]
7769         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
7770         (pthread_cond_broadcast): Use ENTRY/END
7771         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
7772         (pthread_cond_signal): Likewise.
7773         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
7774         Likewise.
7775         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
7776         Likewise.
7777         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
7778         Likewise.
7780 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
7782         * sysdeps/ieee754/dbl-64/s_finite.c
7783         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
7784         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
7785         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
7786         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
7787         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
7789         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
7790         (__gtsf2): Add as optional for libc.so.
7791         (__unordsf2): Likewise.
7792         (__signbit): Remove for libc.so.
7793         (__signbitl): Likewise.
7795 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
7797         * iconvdata/bug-iconv11.c (test_ibm93x):
7798         Use %zu printf format specifier for size_t argument.
7800 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
7802         * math/gen-libm-test.pl (parse_ulps): Do not reduce
7803         already-recorded ulps.
7804         * sysdeps/arm/libm-test-ulps: Regenerated.
7805         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
7806         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7807         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
7809 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
7810             Paul Pluzhnikov  <ppluzhnikov@google.com>
7812         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
7813         assembler not supporting AVX-512.
7815 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
7817         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
7819 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
7821         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
7822         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
7824         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
7826         * sysdeps/arm/libm-test-ulps: Regenerated.
7828 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
7830         [BZ #19451]
7831         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
7833 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
7835         [BZ #19486]
7836         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
7837         * sysdeps/generic/fix-fp-int-convert-overflow.h
7838         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
7839         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
7840         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
7841         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
7842         Likewise.
7843         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
7844         Avoid conversions to long int where inexact exceptions
7845         could be raised.
7846         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
7847         Likewise.
7848         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
7849         Avoid conversions to long long int where inexact exceptions
7850         could be raised.
7851         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
7852         Likewise.
7854 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
7856         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
7857         * configure: Regenerated.
7859 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7861         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
7863 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
7865         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
7866         outside of comment.
7868 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7870         * nptl/tst-barrier1.c: Add description on first line.
7871         * nptl/tst-barrier2.c: Likewise.
7872         * nptl/tst-barrier3.c: Likewise.
7873         * nptl/tst-barrier4.c: Likewise.
7874         * nptl/tst-barrier5.c: Likewise.
7876 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7878         [BZ #18868]
7879         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
7881 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
7883         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
7884         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
7885         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
7886         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
7887         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
7888         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
7889         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
7890         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
7891         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
7892         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
7893         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
7895 2016-01-15  Torvald Riegel  <triegel@redhat.com>
7897         [BZ #13065]
7898         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
7899         new implementation.
7900         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
7901         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
7902         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
7903         (BARRIER_IN_THRESHOLD): New macro.
7904         * nptl/pthread_barrierattr_setpshared.c
7905         (pthread_barrierattr_setpshared): Clean up.
7906         * nptl/tst-barrier4.c: Correct comment.
7907         * nptl/tst-barrier5.c: New file.
7908         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
7909         (gen-as-const-headers): Remove lowlevelbarrier.sym.
7910         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
7911         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
7912         * nptl/lowlevelbarrier.sym: Remove.
7913         * nptl/DESIGN-barrier.txt: Remove.
7914         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
7915         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
7916         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
7917         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
7918         error.
7919         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
7920         implementation.
7922 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
7924         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
7925         (do_child): Mask SIGRTMIN while thr is running.
7927 2016-01-15  Martin Sebor  <msebor@redhat.com>
7929         [BZ #19432]
7930         * iconvdata/Makefile: Add bug-iconv11.
7931         * iconvdata/bug-iconv11.c: New test.
7932         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
7933         * iconvdata/ibm933.c: Same.
7934         * iconvdata/ibm935.c: Same.
7935         * iconvdata/ibm937.c: Same.
7936         * iconvdata/ibm939.c: Same.
7938 2016-01-15  Martin Sebor  <msebor@redhat.com>
7940         [BZ #19443]
7941         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
7942         [DEBUG] (_ufc_set_bits): Declare used.
7943         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
7944         [DEBUG] (print_all): Declare used.
7945         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
7946         operands of the ternary ?: expression to target type.
7947         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
7948         calling the undeclared abort.
7949         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
7951 2016-01-15  Martin Sebor  <msebor@redhat.com>
7953         [BZ #18755]
7954         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
7955         warnings.
7956         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
7957         (__gai_create_helper_thread): Same.
7958         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
7959         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
7960         to suppress -Wmaybe-uninitialized warnings.
7962 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
7964         [BZ #19465]
7965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
7966         inside if.
7967         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
7968         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
7969         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
7971 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
7973         [BZ #19466]
7974         * time/tst-mktime2.c (time_t_max): Removed.
7975         (time_t_min): Likewise.
7976         (TYPE_SIGNED): New.
7977         (TYPE_MINIMUM): Likewise.
7978         (TYPE_MAXIMUM): Likewise.
7979         (TIME_T_MIN): Likewise.
7980         (TIME_T_MAX): Likewise.
7981         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
7982         and TIME_T_MIN.
7983         (do_test): Likewise.
7985 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
7987         [BZ #19467]
7988         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
7989         index_Fast_Unaligned_Load flag for Excavator family CPUs.
7991 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
7993         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
7995 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
7997         * benchtests/Makefile (PYTHON): Define.
7998         (bench-func): Use $(PYTHON) to run python scripts.
7999         ($(objpfx)bench-%.c): Likewise.
8001 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
8003         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
8004         leading slash when `file_name' is "/".
8006 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
8008         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
8009         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
8010         Likewise.
8011         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
8012         Likewise.
8013         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
8014         Likewise.
8015         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
8016         enum constant and macro.
8017         (PTRACE_SETSIGMASK): Likewise.
8018         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8019         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
8020         (PTRACE_GETSIGMASK): Likewise.
8021         (PTRACE_SETSIGMASK): Likewise.
8022         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8023         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
8024         Likewise.
8025         (PTRACE_SETSIGMASK): Likewise.
8026         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8027         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
8028         (PTRACE_GETSIGMASK): Likewise.
8029         (PTRACE_SETSIGMASK): Likewise.
8030         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8031         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
8032         Likewise.
8033         (PTRACE_SETSIGMASK): Likewise.
8034         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8035         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
8036         Likewise.
8037         (PTRACE_SETSIGMASK): Likewise.
8038         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8039         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
8040         Likewise.
8041         (PTRACE_SETSIGMASK): Likewise.
8042         (PTRACE_SECCOMP_GET_FILTER): Likewise.
8044 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
8045             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8047         [BZ #19439]
8048         * math/bits/mathcalls.h
8049         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
8050         prototype.
8051         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
8053 2016-01-11  Andreas Schwab  <schwab@suse.de>
8055         [BZ #19253]
8056         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
8057         cache when TZDEFRULES was used.
8058         * time/tst-tzname.c: New file.
8059         * time/Makefile (test): Add tst-tzname.
8060         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
8061         * timezone/Makefile (test-zones): Add $(posixrules-file).
8062         ($(testdata)/$(posixrules-file)): New rule.
8064 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
8066         Fix doc quoting problems with Texinfo 5
8067         Without this change, in the info file output, Texinfo 5 quotes code
8068         in text with undirected single quotes 'like this' and generates
8069         code examples that with many PDF readers cannot be cut out of PDFs
8070         and pasted into code.
8071         * manual/libc.texinfo: Configure the libc manual like the GNU
8072         Emacs manual, by using @documentencoding and setting
8073         txicodequoteundirected and txicodequotebacktick.  This way,
8074         Texinfo 5 quotes code in text with directed single quotes ‘like
8075         this’ and produces examples that can be cut out of PDFs.  This
8076         change causes Texinfo 5 to generate info files that contain UTF-8
8077         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
8078         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
8080 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8082         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
8083         __libc_tabort, __libc_tend): New wrappers that enforce compiler
8084         barriers to their respective compiler built-ins.
8085         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
8086         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
8087         * sysdeps/powerpc/sysdep.h: Likewise.
8088         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
8089         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
8090         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
8092 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
8094         * scripts/config.guess: Revert previous shebang change.
8095         * scripts/config.sub: Likewise.
8096         * scripts/mkinstalldirs: Likewise.
8098 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8100         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
8101         PPC_FEATURE2_HAS_IEEE128.
8102         * sysdeps/powerpc/dl-procinfo.c:
8103         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
8105 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
8107         [BZ #19415]
8108         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
8109         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
8110         (_dl_lookup_address): Rewrite using function resolver trampoline.
8111         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
8112         two bits in address.
8114 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8116         * longlong.h: Change !__SHMEDIA__ to
8117         (!defined (__SHMEDIA__) || !__SHMEDIA__).
8118         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
8120 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
8121             Joseph Myers  <joseph@codesourcery.com>
8122             Mark Shinwell  <shinwell@codesourcery.com>
8123             Andrew Stubbs  <ams@codesourcery.com>
8124             Rich Felker <dalias@libc.org>
8126         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
8128 2016-01-07  Richard Henderson  <rth@redhat.com>
8130         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
8132 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
8134         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
8135         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
8136         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
8137         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
8138         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
8140 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
8141             Joseph Myers  <joseph@codesourcery.com>
8143         * timezone/private.h: Update from tzcode 2015g.
8144         * timezone/tzfile.h: Likewise.
8145         * timezone/tzselect.ksh: Likewise.
8146         * timezone/zdump.c: Likewise.
8147         * timezone/zic.c: Likewise.
8148         * timezone/ialloc.c: Remove file.
8149         * timezone/scheck.c: Likewise.
8150         * timezone/Makefile (extra-objs): Remove variable.
8151         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
8152         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
8153         -Wno-maybe-uninitialized.
8154         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
8155         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
8156         (CFLAGS-ialloc.c): Remove variable.
8157         (CFLAGS-scheck.c): Likewise.
8158         * timezone/README: Update list of files from tzcode.
8160 2016-01-07  Khem Raj  <raj.khem@gmail.com>
8162         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
8163         instead of __fxprintf when _LIBC is undefined.
8165 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
8167         * catgets/test-gencat.sh: Remove space after shebang.
8168         * conform/GlibcConform.pm: Likewise.
8169         * conform/check-header-lists.sh: Likewise.
8170         * conform/conformtest.pl: Likewise.
8171         * conform/linknamespace.pl: Likewise.
8172         * conform/list-header-symbols.pl: Likewise.
8173         * debug/catchsegv.sh: Likewise.
8174         * elf/genrtldtbl.awk: Likewise.
8175         * elf/tst-pathopt.sh: Likewise.
8176         * elf/tst-rtld-load-self.sh: Likewise.
8177         * grp/tst_fgetgrent.sh: Likewise.
8178         * iconvdata/gen-8bit-gap-1.sh: Likewise.
8179         * iconvdata/gen-8bit-gap.sh: Likewise.
8180         * iconvdata/gen-8bit.sh: Likewise.
8181         * iconvdata/run-iconv-test.sh: Likewise.
8182         * intl/tst-gettext.sh: Likewise.
8183         * intl/tst-gettext2.sh: Likewise.
8184         * intl/tst-gettext4.sh: Likewise.
8185         * intl/tst-gettext6.sh: Likewise.
8186         * intl/tst-translit.sh: Likewise.
8187         * io/ftwtest-sh: Likewise.
8188         * libio/test-freopen.sh: Likewise.
8189         * locale/gen-translit.pl: Likewise.
8190         * malloc/tst-mtrace.sh: Likewise.
8191         * manual/check-safety.sh: Likewise.
8192         * manual/libc-texinfo.sh: Likewise.
8193         * manual/tsort.awk: Likewise.
8194         * manual/xtract-typefun.awk: Likewise.
8195         * nptl/tst-cancel-wrappers.sh: Likewise.
8196         * nptl/tst-tls6.sh: Likewise.
8197         * posix/globtest.sh: Likewise.
8198         * posix/tst-getconf.sh: Likewise.
8199         * posix/wordexp-tst.sh: Likewise.
8200         * scripts/check-c++-types.sh: Likewise.
8201         * scripts/check-local-headers.sh: Likewise.
8202         * scripts/config.guess: Likewise.
8203         * scripts/config.sub: Likewise.
8204         * scripts/cpp: Likewise.
8205         * scripts/cross-test-ssh.sh: Likewise.
8206         * scripts/documented.sh: Likewise.
8207         * scripts/evaluate-test.sh: Likewise.
8208         * scripts/gen-libc-abis: Likewise.
8209         * scripts/gen-sorted.awk: Likewise.
8210         * scripts/list-fixed-bugs.py: Likewise.
8211         * scripts/merge-test-results.sh: Likewise.
8212         * scripts/mkinstalldirs: Likewise.
8213         * scripts/rellns-sh: Likewise.
8214         * scripts/test-installation.pl: Likewise.
8215         * scripts/update-copyrights: Likewise.
8216         * stdio-common/tst-printf.sh: Likewise.
8217         * stdio-common/tst-unbputc.sh: Likewise.
8218         * stdlib/tst-fmtmsg.sh: Likewise.
8219         * stdlib/tst-setcontext3.sh: Likewise.
8220         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
8221         * sysdeps/unix/make-syscalls.sh: Likewise.
8223 2016-01-06  John David Anglin  <dave.anglin@bell.net>
8225         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
8226         asm stw with atomic_exchange_rel.  Add explanatory comment.
8227         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
8228         Likewise.
8230 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8232         [BZ #19122]
8233         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
8234         * sysdeps/generic/dl-unistd.h: New file.
8235         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
8237 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
8239          [BZ #19122]
8240          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
8241          * sysdeps/generic/dl-mman.h: New file.
8242          * sysdeps/mach/hurd/dl-mman.h: Likewise.
8244 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
8246         * manual/texinfo.tex: Update to version 2016-01-04.21 with
8247         trailing whitespace removed.
8248         * scripts/config.guess: Update to version 2016-01-01.
8249         * scripts/config.sub: Update to version 2016-01-01.
8250         * scripts/move-if-change: Update from gnulib.
8252 2016-01-04  Anton Blanchard  <anton@samba.org>
8254         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
8255         for array indices.
8256         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
8258 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
8260         * NEWS: Update copyright dates.
8261         * catgets/gencat.c (print_version): Likewise.
8262         * csu/version.c (banner): Likewise.
8263         * debug/catchsegv.sh: Likewise.
8264         * debug/pcprofiledump.c (print_version): Likewise.
8265         * debug/xtrace.sh (do_version): Likewise.
8266         * elf/ldconfig.c (print_version): Likewise.
8267         * elf/ldd.bash.in: Likewise.
8268         * elf/pldd.c (print_version): Likewise.
8269         * elf/sotruss.sh: Likewise.
8270         * elf/sprof.c (print_version): Likewise.
8271         * iconv/iconv_prog.c (print_version): Likewise.
8272         * iconv/iconvconfig.c (print_version): Likewise.
8273         * locale/programs/locale.c (print_version): Likewise.
8274         * locale/programs/localedef.c (print_version): Likewise.
8275         * login/programs/pt_chown.c (print_version): Likewise.
8276         * malloc/memusage.sh (do_version): Likewise.
8277         * malloc/memusagestat.c (print_version): Likewise.
8278         * malloc/mtrace.pl: Likewise.
8279         * manual/libc.texinfo: Likewise.
8280         * nptl/version.c (banner): Likewise.
8281         * nscd/nscd.c (print_version): Likewise.
8282         * nss/getent.c (print_version): Likewise.
8283         * nss/makedb.c (print_version): Likewise.
8284         * posix/getconf.c (main): Likewise.
8285         * scripts/test-installation.pl: Likewise.
8286         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8288         * All files with FSF copyright notices: Update copyright dates
8289         using scripts/update-copyrights.
8290         * intl/plural.c: Regenerated.
8291         * locale/programs/charmap-kw.h: Likewise.
8292         * locale/programs/locfile-kw.h: Likewise.
8294 2016-01-02  Helge Deller  <deller@gmx.de>
8296         [BZ #19285]
8297         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
8298         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
8299         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
8300         (MADV_xxK_PAGES): Remove.
8302 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
8304         [BZ #15421]
8305         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
8306         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
8307         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
8308         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
8310 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
8312         [BZ #19408]
8313         * sysdeps/unix/sysv/linux/personality.c: New file.
8314         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
8315         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
8316         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
8317         (sysdep_routines): Add personality.
8318         (tests): Add tst-personality.
8319         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
8320         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
8321         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
8322         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
8323         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
8324         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
8325         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
8326         Likewise.
8327         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
8328         Likewise.
8329         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
8330         Likewise.
8331         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
8332         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
8333         Likewise.
8335 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
8337         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
8338         (PATH_ARM_SYSTYPE): Remove.
8339         (PATH_CPUINFO): Likewise.
8340         (IO_BASE_FOOTBRIDGE): Likewise.
8341         (IO_SHIFT_FOOTBRIDGE): Likewise.
8342         (struct platform): Likewise.
8343         (init_iosys): Remove compatibility code for 2.4 kernels.
8344         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
8346 2015-12-29  Florian Weimer  <fweimer@redhat.com>
8348         * malloc/tst-malloc-thread-fail.c: New file.
8349         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
8350         (tst-malloc-thread-fail): Link against libpthread.
8352 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
8354         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
8355         (get_parser): New function.
8356         (main): New function.
8358 2015-12-29  Rob Wu  <rob@robwu.nl>
8360         [BZ #19369]
8361         * resolv/res_init.c (__res_vinit): Reset defdname before use.
8363 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
8365         [BZ #19270]
8366         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
8368 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
8370         [BZ #15421]
8371         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
8373 2015-12-23  Torvald Riegel  <triegel@redhat.com>
8375         [BZ #13690]
8376         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
8377         after releasing it.
8378         (__lll_robust_unlock): Likewise.
8379         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
8380         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
8381         (lll_robust_unlock): Likewise.
8382         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
8383         Prevent warnings in callers.
8385 2015-12-23  Florian Weimer  <fweimer@redhat.com>
8387         * malloc/arena.c (list_lock): Update comment.
8389 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8391         * sysdeps/powerpc/hwcapinfo.c: Export symbol
8392         __parse_hwcap_and_convert_at_platform to libc.a.
8394 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8396         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
8397         platform and feature support for POWER9.
8398         * sysdeps/powerpc/dl-procinfo.h: Likewise.
8399         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
8400         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
8401         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
8402         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
8403         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
8404         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
8405         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
8407 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
8409         Harmonize generic stdio-lock support with nptl
8411         This fixes build when _IO_funlockfile is a macro, fixes build where
8412         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
8413         stack unwind.
8415         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
8416         _IO_release_lock ): Use cleanup attribute on new
8417         _IO_acquire_lock_file variable instead of assuming that
8418         _IO_release_lock will be called.
8419         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
8420         _IO_acquire_lock_needs_exceptions_enabled.
8421         (_IO_acquire_lock_clear_flags2): New macro.
8423 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8425         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
8427 2015-12-21  Florian Weimer  <fweimer@redhat.com>
8429         [BZ #19182]
8430         * malloc/arena.c (list_lock): Document lock ordering requirements.
8431         (free_list_lock): New lock.
8432         (ptmalloc_lock_all): Comment on free_list_lock.
8433         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
8434         (detach_arena): Update comment.  free_list_lock is now needed.
8435         (_int_new_arena): Use free_list_lock around detach_arena call.
8436         Acquire arena lock after list_lock.  Add comment, including FIXME
8437         about incorrect synchronization.
8438         (get_free_list): Switch to free_list_lock.
8439         (reused_arena): Acquire free_list_lock around detach_arena call
8440         and attached threads counter update.  Add two FIXMEs about
8441         incorrect synchronization.
8442         (arena_thread_freeres): Switch to free_list_lock.
8443         * malloc/malloc.c (struct malloc_state): Update comments to
8444         mention free_list_lock.
8446 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
8448         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
8449         Remove functions.
8450         (sloww, sloww1): Accept argument to offset quadrant.
8451         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
8452         quadrant.
8453         (__sin, __cos): Consolidate common code into new functions.
8454         (reduce_sincos_1, do_sincos_1): New functions.
8455         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8457         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
8458         code to new functions.
8459         (reduce_sincos_2, do_sincos_2): New functions.
8460         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
8462         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
8463         common code for sincos.
8464         (__cos) [!IN_SINCOS]: Likewise.
8465         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
8466         New function.
8467         (__sincos): Use it.
8469 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
8471         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
8472         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
8473         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
8475 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
8477         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
8478         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
8479         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
8480         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
8481         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8482         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
8483         index_Prefer_No_VZEROUPPER): New feature.
8484         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
8485         Prefer_No_VZEROUPPER for Knights Landing.
8487 015-12-18  Torvald Riegel  <triegel@redhat.com>
8489         * math/atest-exp2.c (mp_exp_m1): Remove.
8491 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8493         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
8494         syscalls.
8495         (__SYSCALL0): New macro.
8496         (__SYSCALL1): Likewise.
8497         (__SYSCALL2): Likewise.
8498         (__SYSCALL3): Likewise.
8499         (__SYSCALL4): Likewise.
8500         (__SYSCALL5): Likewise.
8501         (__SYSCALL6): Likewise.
8502         (__SYSCALL_CONCAT_X): Likewise.
8503         (__SYSCALL_CONCAT): Likewise.
8504         (__SYSCALL_DIST): Likewise.
8505         (__SYSCALL_CALL): Likewise.
8507 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
8509         [BZ #19363]
8510         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
8512 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8514         [BZ #19375]
8515         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
8516         negative subnormals.
8518 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
8520         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
8521         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
8522         (INTERNAL_SYSCALL_NCS): Use it.
8523         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
8525 2015-12-16  Florian Weimer  <fweimer@redhat.com>
8527         [BZ #19243]
8528         * malloc/arena.c (get_free_list): Remove assert and adjust
8529         reference count handling.  Add comment about reused_arena
8530         interaction.
8531         (reused_arena): Add comments abount get_free_list interaction.
8532         * malloc/tst-malloc-thread-exit.c: New file.
8533         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
8534         (tst-malloc-thread-exit): Link against libpthread.
8536 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8538         [BZ #19367]
8539         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
8540         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
8541         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
8542         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
8543         (index_Prefer_MAP_32BIT_EXEC): Likewise.
8545 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
8547         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
8548         Silvermont optimizations for Knights Landing.
8550 2015-12-15  Andreas Schwab  <schwab@suse.de>
8552         [BZ #17197]
8553         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
8554         immediately after emitting SI.
8555         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
8556         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
8557         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
8558         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
8559         * iconvdata/bug-iconv10.c: New file.
8560         * iconvdata/Makefile (tests): Add bug-iconv10.
8561         ($(objpfx)bug-iconv10.out): New rule.
8563 2015-12-15  Florian Weimer  <fweimer@redhat.com>
8565         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
8566         aliasing violation.
8568 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
8570         [BZ #18472]
8571         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
8572         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
8573         conditionals for them.
8574         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
8575         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
8576         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
8577         sys/kdaemon.h.
8578         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
8579         compat-only syscall, obsoleted in glibc 2.23.
8580         (create_module): Likewise.
8581         (get_kernel_syms): Likewise.
8582         (query_module): Likewise.
8583         (uselib): Likewise.
8584         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
8586 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
8588         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
8589         <linux/version.h>.
8590         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
8591         conditional code.
8592         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
8593         and ioshift_name initialization.
8595 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8597         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
8598         Fix indentation.
8600 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8602         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
8604 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
8606         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
8608 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
8609             Jakub Wilk  <jwilk@debian.org>
8611         [BZ #19347]
8612         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
8613         to change the group of the device to the tty group.
8615 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
8617         Split large string section; add truncation advice
8618         * manual/examples/strncat.c: Remove.
8619         This example was misleading, as the code would have undefined
8620         behavior if "hello" was longer than SIZE.  Anyway, the manual
8621         shouldn't encourage strncpy+strncat for this sort of thing.
8622         * manual/string.texi (Copying Strings and Arrays): Split into
8623         three sections Copying Strings and Arrays, Concatenating Strings,
8624         and Truncating Strings, as this section was way too long.  All
8625         cross-referenced changed.  Add advice about string-truncation
8626         functions.  Remove misleading strncat example.
8628 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
8630         * manual/nss.texi (NSS Modules Interface): Document
8631         NSS_STATUS_NOTFOUND and SUCCESS.
8633 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8635         [BZ 18568]
8636         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
8637         201505L, for Unicode 8.
8639 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
8641         * locale/C-translit.h: Regenerate.
8643 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
8645         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
8646         and U+0153.
8648 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
8650         [BZ #19351]
8651         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
8652         expanding log(1+z), compare z rather than its square with epsilon
8653         to determine when to avoid evaluating the expansion.
8655         [BZ #19350]
8656         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
8657         Increase overflow threshold.
8659         [BZ #19349]
8660         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
8661         when small.
8663         * sysdeps/unix/sysv/linux/i386/kernel-features.h
8664         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8665         New macro.
8666         [__LINUX_KERNEL_VERSION >= 0x040300]
8667         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8668         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8669         Likewise.
8670         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8671         Likewise.
8672         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8673         Likewise.
8674         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8675         Likewise.
8676         [__LINUX_KERNEL_VERSION >= 0x040300]
8677         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8678         [__LINUX_KERNEL_VERSION >= 0x040300]
8679         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8680         [__LINUX_KERNEL_VERSION >= 0x040300]
8681         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8682         [__LINUX_KERNEL_VERSION >= 0x040300]
8683         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8684         [__LINUX_KERNEL_VERSION >= 0x040300]
8685         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8686         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8687         Likewise.
8688         [__LINUX_KERNEL_VERSION >= 0x040300]
8689         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8690         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8691         Likewise.
8692         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8693         Likewise.
8694         [__LINUX_KERNEL_VERSION >= 0x040300]
8695         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8696         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8697         Likewise.
8698         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8699         Likewise.
8700         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
8701         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
8702         Likewise.
8703         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
8704         Likewise.
8705         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
8706         Likewise.
8707         [__LINUX_KERNEL_VERSION >= 0x040300]
8708         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8709         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
8710         Likewise.
8711         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
8712         Likewise.
8713         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
8714         Likewise.
8715         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
8716         Likewise.
8717         [__LINUX_KERNEL_VERSION >= 0x040300]
8718         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
8719         [__LINUX_KERNEL_VERSION >= 0x040300]
8720         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8721         [__LINUX_KERNEL_VERSION >= 0x040300]
8722         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8723         [__LINUX_KERNEL_VERSION >= 0x040300]
8724         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8725         [__LINUX_KERNEL_VERSION >= 0x040300]
8726         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8727         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
8728         Likewise.
8729         [__LINUX_KERNEL_VERSION >= 0x040300]
8730         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
8731         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
8732         Likewise.
8733         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
8734         Likewise.
8735         [__LINUX_KERNEL_VERSION >= 0x040300]
8736         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
8737         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
8738         Likewise.
8739         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
8740         Likewise.
8741         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
8742         (__ASSUME_SOCKET_SYSCALL): Likewise.
8743         (__ASSUME_BIND_SYSCALL): Likewise.
8744         (__ASSUME_CONNECT_SYSCALL): Likewise.
8745         (__ASSUME_LISTEN_SYSCALL): Likewise.
8746         (__ASSUME_ACCEPT_SYSCALL): Likewise.
8747         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8748         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8749         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8750         (__ASSUME_SEND_SYSCALL): Likewise.
8751         (__ASSUME_SENDTO_SYSCALL): Likewise.
8752         (__ASSUME_RECV_SYSCALL): Likewise.
8753         (__ASSUME_RECVFROM_SYSCALL): Likewise.
8754         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
8755         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8756         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8757         (__ASSUME_SENDMSG_SYSCALL): Likewise.
8758         (__ASSUME_RECVMSG_SYSCALL): Likewise.
8759         * sysdeps/unix/sysv/linux/sh/kernel-features.h
8760         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
8761         Likewise.
8762         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
8763         Likewise.
8764         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
8765         Likewise.
8766         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
8767         Likewise.
8768         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
8769         Likewise.
8770         [__LINUX_KERNEL_VERSION >= 0x020625]
8771         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
8772         [__LINUX_KERNEL_VERSION >= 0x020625]
8773         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
8774         [__LINUX_KERNEL_VERSION >= 0x020625]
8775         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
8776         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
8777         Likewise.
8778         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
8779         Likewise.
8780         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
8781         Likewise.
8782         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
8783         Likewise.
8784         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
8785         Likewise.
8786         [__LINUX_KERNEL_VERSION >= 0x020625]
8787         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
8788         [__LINUX_KERNEL_VERSION >= 0x020625]
8789         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
8790         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
8791         Likewise.
8792         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
8793         Likewise.
8795 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8797         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
8798         record the current if the current ABI and CPU support the FP64
8799         extension.
8800         (has-modd-spreg): Define to record the current if the current ABI and
8801         CPU support 32-bit floating point values in odd FPU registers.
8802         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
8803         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
8804         $(has-modd-spreg) equals yes.
8805         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
8806         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
8807         $(has-modd-spreg) equal yes.
8809 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
8811         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
8812         basename.
8814 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
8816         * benchtests/Makefile (bench-math): Move ffs and ffsll...
8817         (bench-string): ... here.
8818         (bench): Add bench-string.
8819         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
8820         to *-benchset to reflect what they are.
8821         (benchset): Adjust.
8823         * benchtests/sincos-inputs: Add inputs from sin-inputs and
8824         cos-inputs.
8826 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
8828         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
8829         __attribute__ ((__simd__)) for vector math function declarations.
8831 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8833         Fix typo in strncat, wcsncat manual entries
8834         * manual/string.texi (Copying and Concatenation): Fix typos in
8835         sample implementations of strncat and wcsncat, by having them use
8836         the old value of the destination length, not the new one.
8838 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
8840         [BZ #16961]
8841         [BZ #16962]
8842         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
8843         string on the stack for strtod.
8844         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
8845         a string on the stack for strtof.
8846         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
8847         constructing a string on the stack for strtold.
8848         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
8849         __strtold_nan to GLIBC_PRIVATE.
8850         * math/test-nan-overflow.c: New file.
8851         * math/test-nan-payload.c: Likewise.
8852         * math/Makefile (tests): Add test-nan-overflow and
8853         test-nan-payload.
8855 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8857         Consistency about byte vs character in string.texi
8858         * manual/string.texi (String and Array Utilities):
8859         Distinguish more carefully among bytes, multibyte characters,
8860         and wide characters.  Use "byte" when talking about C 'char',
8861         to distinguish it more clearly from multibyte characters.
8862         Say "wide character" or "multibyte character" instead of
8863         "character", when a wide or multibyte character is intended.
8864         Similarly for "multibyte string" versus "string".
8865         Define these terms more carefully.
8867 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
8869         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
8870         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
8871         Likewise.
8872         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8873         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
8874         * sysdeps/sh/math_private.h: New file.
8875         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
8876         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
8877         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
8878         long double function name.
8879         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
8880         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
8881         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
8882         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
8883         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
8884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
8885         Remove __finitel, __isinfl, and __isnanl.
8886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
8887         Likewise.
8888         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
8889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8890         Remove __finitel.
8891         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8892         Likewise.
8893         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8895 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
8897         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
8898         installed libmvec_nonshared.a.
8900 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
8902         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
8903         (sysdep_routines): Likewise.
8904         (sysdep-rtld-routines): Likewise.
8905         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
8906         [$(subdir) = nptl](tests-static): test-get_hwcap-static
8907         * sysdeps/powerpc/Versions: Added new
8908         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
8909         * sysdeps/powerpc/hwcapinfo.c: New file.
8910         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
8911         and parse hwcap, hwcap2 and platform number information.
8912         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
8913         to store HWCAP+HWCAP2 and platform number.
8914         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
8915         for HWCAP+HWCAP2 and platform number in the TCB.
8916         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
8917         the HWCAP, HWCAP2 and platform number in the TCB.
8918         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
8919         (TLS_INIT_TP): Included calls to add the hwcap and
8920         at_platform values in the TCB in TP initialization.
8921         (TLS_DEFINE_INIT_TP): Likewise.
8922         (THREAD_GET_HWCAP): New macro.
8923         (THREAD_SET_HWCAP): Likewise.
8924         (THREAD_GET_AT_PLATFORM): Likewise.
8925         (THREAD_SET_AT_PLATFORM): Likewise.
8926         * sysdeps/powerpc/powerpc32/dl-machine.h:
8927         (dl_platform_init): New function that calls
8928         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
8929         powerpc32.
8930         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
8931         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
8932         this functionality, static linking case.
8933         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
8934         linking case.
8935         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
8936         __parse_hwcap_and_convert_at_platform for the static linking case.
8937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
8938         Included the new __parse_hwcap_and_convert_at_platform symbol in the
8939         ABI list for GLIBC 2.23.
8940         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
8941         Likewise.
8942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
8943         Likewise.
8945 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
8947         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
8948         * configure: Regenerate.
8949         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
8950         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
8952 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
8954         * iconvdata/ibm930.c: Add comment explaining encoding uses.
8955         * iconvdata/ibm933.c: Likewise.
8956         * iconvdata/ibm935.c: Likewise.
8957         * iconvdata/ibm937.c: Likewise.
8958         * iconvdata/ibm939.c: Likewise.
8960 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8962         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
8963         pthread_join.
8964         * nptl/tst-cancel21.c (tf): Likewise.
8966 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
8968         [BZ #19313]
8969         * bits/typesizes.h (__CPU_MASK_TYPE): New.
8970         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8971         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
8972         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
8973         Likewise.
8974         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
8975         Likewise.
8976         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
8977         Likewise.
8978         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
8979         Likewise.
8980         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
8981         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
8982         unsigned long int with __CPU_MASK_TYPE.
8984 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
8986         * sysdeps/aarch64/libm-test-ulps: Regenerated.
8988 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
8990         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
8991         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
8992         t512.x.
8993         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
8995 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
8997         [BZ #19214]
8998         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
8999         argument to return extended model.  Update family and model
9000         with extended family and model when family == 0x0f.
9001         (init_cpu_features): Updated.
9003 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9005         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
9006         signed off_t, so 32bit bigger than 2GiB values are fine actually.
9008         * sysdeps/mach/hurd/mmap64.c: New file.
9010 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
9012         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
9013         rights for its main user thread in NEWTASK.
9015 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
9017         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
9018         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
9020 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
9022         [BZ #14259]
9023         * Makeconfig: Rename localedir to complocaledir.
9024         Rename inst_localedir to inst_complocaledir.
9025         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
9026         * config.make.in: Use complocaledir and libc_cv_complocaledir.
9027         * configure.ac: Use libc_cv_complocaledir.
9028         * configure: Regenerate.
9029         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
9030         -DCOMPLOCALEDIR.
9031         * locale/findlocale.c: Use COMPLOCALEDIR.
9032         * locale/loadarchive.c: Likewise.
9033         * locale/programs/locale.c: Likewise.
9034         * locale/programs/localedef.c: Likewise.
9035         * locale/programs/locarchive.c: Likewise.
9036         * localedata/Makefile: Use inst_complocaledir.
9037         * sysdeps/gnu/configure: Regenerate.
9038         * sysdeps/hppa/configure: Regenerate.
9039         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
9040         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
9041         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
9042         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
9043         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
9044         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
9045         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
9047 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
9049         [BZ #19058]
9050         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
9051         AS_NEEDED.
9052         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
9053         workaround.
9054         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
9055         libmvec-static-only-routines): Added new file.
9056         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
9058 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
9060         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
9061         of interrupted RPC instead of restoring it.
9063         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
9064         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
9065         libc_hidden_def.
9066         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
9067         into initialized data instead of common. Define rtld_hidden_data_def.
9068         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
9069         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
9070         libc_hidden_def.
9071         (if_freenameindex): Add libc_hidden_weak.
9072         (if_nameindex): Add libc_hidden_weak.
9073         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
9074         __open64.
9075         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
9076         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
9077         * sysdeps/mach/nanosleep.c: Include <time.h>
9078         (__nanosleep): Rename to __libc_nanosleep.
9079         (__nanosleep): Add weak_alias.
9080         (nanosleep): Update alias.
9082 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
9084         * stdlib/strtod_nan.c: New file.
9085         * stdlib/strtod_nan_double.h: Likewise.
9086         * stdlib/strtod_nan_float.h: Likewise.
9087         * stdlib/strtod_nan_main.c: Likewise.
9088         * stdlib/strtod_nan_narrow.h: Likewise.
9089         * stdlib/strtod_nan_wide.h: Likewise.
9090         * stdlib/strtof_nan.c: Likewise.
9091         * stdlib/strtold_nan.c: Likewise.
9092         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
9093         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
9094         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
9095         * wcsmbs/wcstod_nan.c: Likewise.
9096         * wcsmbs/wcstof_nan.c: Likewise.
9097         * wcsmbs/wcstold_nan.c: Likewise.
9098         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
9099         strtold_nan.
9100         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
9101         wcstof_nan.
9102         * include/stdlib.h (__strtof_nan): Declare and use
9103         libc_hidden_proto.
9104         (__strtod_nan): Likewise.
9105         (__strtold_nan): Likewise.
9106         (__wcstof_nan): Likewise.
9107         (__wcstod_nan): Likewise.
9108         (__wcstold_nan): Likewise.
9109         * include/wchar.h (____wcstoull_l_internal): Declare.
9110         * stdlib/strtod_l.c: Do not include <ieee754.h>.
9111         (____strtoull_l_internal): Remove declaration.
9112         (STRTOF_NAN): Define macro.
9113         (SET_MANTISSA): Remove macro.
9114         (STRTOULL): Likewise.
9115         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
9116         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
9117         (STRTOF_NAN): Define macro.
9118         (SET_MANTISSA): Remove macro.
9119         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
9120         (SET_MANTISSA): Remove macro.
9121         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
9122         macro.
9123         (SET_MANTISSA): Remove macro.
9124         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
9125         macro.
9126         (SET_MANTISSA): Remove macro.
9127         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
9128         (SET_MANTISSA): Remove macro.
9129         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
9130         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
9131         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
9133         [BZ #19266]
9134         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
9135         upper case and lower case letters inside NAN(), not using TOLOWER.
9136         * stdlib/tst-strtod-nan-locale-main.c: New file.
9137         * stdlib/tst-strtod-nan-locale.c: Likewise.
9138         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
9139         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
9140         Depend on $(gen-locales).
9141         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
9142         * wcsmbs/tst-wcstod-nan-locale.c: New file.
9143         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
9144         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
9145         Depend on $(gen-locales).
9146         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
9148 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
9150         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
9152         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
9153         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
9154         __finitel, __isinfl, and __isnanl.
9155         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
9156         Likewise.
9157         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9158         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
9159         __finitel.
9160         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9161         Likewise.
9162         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9164 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
9166         * malloc/memusage.c (me): Remove redundant getenv call.
9168 2015-10-24  Florian Weimer  <fweimer@redhat.com>
9170         [BZ #19143]
9171         [BZ #19164]
9172         * nptl/check-cpuset.h: Remove.
9173         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
9174         Remove CPU set size check.
9175         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
9176         Likewise.
9177         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
9178         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
9179         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
9180         (__pthread_setaffinity_new): Remove CPU set size check.
9181         * sysdeps/unix/sysv/linux/sched_setaffinity.c
9182         (__kernel_cpumask_size): Remove.
9183         (__sched_setaffinity_new): Remove CPU set size check.
9184         * manual/threads.texi (Default Thread Attributes): Remove stale
9185         reference to check_cpuset_attr, determine_cpumask_size in comment.
9186         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
9187         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
9188         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
9189         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
9190         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
9191         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
9192         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
9193         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
9194         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
9195         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
9196         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
9197         skeleton test file.
9198         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
9199         tst-affinity-pid.
9201 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9203         * scripts/update-abilist.sh: New file.
9204         * Makefile (+subdir_targets): Add subdir_update-all-abi.
9205         * Makerules (update-all-abi-%, update-all-abi)
9206         (subdir_update-all-abi): New targets.
9207         * elf/Makefile (update-all-abi): New target.
9209 2015-11-24  Florian Weimer  <fweimer@redhat.com>
9211         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
9212         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
9213         (__libc_lock_define_initialized): Use it.
9214         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
9215         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
9216         * malloc/malloc.c (main_arena): Likewise.
9217         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9218         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
9220 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
9222         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
9223         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
9224         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9225         (PTRACE_O_MASK): Update value.
9226         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
9227         New value in enum __ptrace_setoptions.
9228         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9229         (PTRACE_O_MASK): Update value.
9230         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
9231         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9232         (PTRACE_O_MASK): Update value.
9233         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
9234         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9235         (PTRACE_O_MASK): Update value.
9236         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
9237         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
9238         (PTRACE_O_MASK): Update value.
9239         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
9240         New value in enum __ptrace_setoptions.
9241         (PTRACE_O_MASK): Update value.
9242         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
9243         New value in enum __ptrace_setoptions.
9244         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
9245         (PTRACE_O_MASK): Update value.
9247         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
9248         New macro.
9249         (PACKET_AUXDATA): Likewise.
9250         (PACKET_ORIGDEV): Likewise.
9251         (PACKET_VERSION): Likewise.
9252         (PACKET_HDRLEN): Likewise.
9253         (PACKET_RESERVE): Likewise.
9254         (PACKET_TX_RING): Likewise.
9255         (PACKET_LOSS): Likewise.
9256         (PACKET_VNET_HDR): Likewise.
9257         (PACKET_TX_TIMESTAMP): Likewise.
9258         (PACKET_TIMESTAMP): Likewise.
9259         (PACKET_FANOUT): Likewise.
9260         (PACKET_TX_HAS_OFF): Likewise.
9261         (PACKET_QDISC_BYPASS): Likewise.
9262         (PACKET_ROLLOVER_STATS): Likewise.
9263         (PACKET_FANOUT_DATA): Likewise.
9264         (PACKET_MR_UNICAST): Likewise.
9266         [BZ #19242]
9267         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
9268         (TOUPPER): Likewise.
9269         * stdlib/tst-strtol-locale-main.c: New file.
9270         * stdlib/tst-strtol-locale.c: Likewise.
9271         * stdlib/Makefile (tests): Add tst-strtol-locale.
9272         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
9273         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
9274         Depend on $(gen-locales).
9275         * wcsmbs/tst-wcstol-locale.c: New file.
9276         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
9277         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
9278         tr_TR.ISO-8859-9.
9279         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
9280         Depend on $(gen-locales).
9282 2015-11-20  Roland McGrath  <roland@hack.frob.com>
9284         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
9285         __glibc_likely instead of __builtin_expect.  After falling back to
9286         dyncode_create in a non-ET_DYN case, use the allocate_code_data
9287         system interface to register the code pages as occupied.
9289 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
9291         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9292         [!ARM_MATH_PRIVATE_H].
9293         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
9294         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9295         [!HPPA_MATH_PRIVATE_H].
9296         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
9297         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
9298         to [!I386_MATH_PRIVATE_H].
9299         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
9300         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
9301         Change guard to [!M68K_MATH_PRIVATE_H].
9302         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
9303         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
9304         guard to [!MICROBLAZE_MATH_PRIVATE_H].
9305         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
9306         macro.
9307         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9308         [!MIPS_MATH_PRIVATE_H].
9309         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
9310         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9311         [!NIO2_MATH_PRIVATE_H].
9312         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
9313         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
9314         [!TILE_MATH_PRIVATE_H].
9315         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
9317         [BZ #15421]
9318         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
9319         initialize with 0 and define as weak alias of __signgam.
9320         * include/math.h [!_ISOMAC] (__signgam): Declare.
9321         * math/Makefile (libm-calls): Add w_lgamma_compat.
9322         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
9323         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
9324         test-signgam-ullong-init.
9325         (tests-static): Add test-signgam-uchar-static,
9326         test-signgam-uchar-init-static, test-signgam-uint-static,
9327         test-signgam-uint-init-static, test-signgam-ullong-static and
9328         test-signgam-ullong-init-static.
9329         (CFLAGS-test-signgam-uchar.c): New variable.
9330         (CFLAGS-test-signgam-uchar-init.c): Likewise.
9331         (CFLAGS-test-signgam-uchar-static.c): Likewise.
9332         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
9333         (CFLAGS-test-signgam-uint.c): Likewise.
9334         (CFLAGS-test-signgam-uint-init.c): Likewise.
9335         (CFLAGS-test-signgam-uint-static.c): Likewise.
9336         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
9337         (CFLAGS-test-signgam-ullong.c): Likewise.
9338         (CFLAGS-test-signgam-ullong-init.c): Likewise.
9339         (CFLAGS-test-signgam-ullong-static.c): Likewise.
9340         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
9341         * math/Versions (libm): Add GLIBC_2.23.
9342         * math/lgamma-compat.h: New file.
9343         * math/test-signgam-main.c: Likewise.
9344         * math/test-signgam-uchar-init-static.c: Likewise.
9345         * math/test-signgam-uchar-init.c: Likewise.
9346         * math/test-signgam-uchar-static.c: Likewise.
9347         * math/test-signgam-uchar.c: Likewise.
9348         * math/test-signgam-uint-init-static.c: Likewise.
9349         * math/test-signgam-uint-init.c: Likewise.
9350         * math/test-signgam-uint-static.c: Likewise.
9351         * math/test-signgam-uint.c: Likewise.
9352         * math/test-signgam-ullong-init-static.c: Likewise.
9353         * math/test-signgam-ullong-init.c: Likewise.
9354         * math/test-signgam-ullong-static.c: Likewise.
9355         * math/test-signgam-ullong.c: Likewise.
9356         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
9357         wrapper of w_lgamma_main.c.
9358         * math/w_lgamma_compat.c: New file.
9359         * math/w_lgamma_compatf.c: Likewise.
9360         * math/w_lgamma_compatl.c: Likewise.
9361         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
9362         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9363         defining compatibility symbols.
9364         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
9365         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
9366         wrapper of w_lgammaf_main.c.
9367         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
9368         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9369         defining compatibility symbols.
9370         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
9371         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
9372         wrapper of w_lgammal_main.c.
9373         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
9374         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
9375         defining compatibility symbols.
9376         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
9377         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
9378         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
9379         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
9380         <lgamma-compat.h>.
9381         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
9382         (__ieee754_gamma): Define as alias.
9383         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
9384         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
9385         <lgamma-compat.h>.
9386         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
9387         (__ieee754_gammaf): Define as alias.
9388         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
9389         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
9390         <lgamma-compat.h>.
9391         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
9392         (__ieee754_gammal): Define as alias.
9393         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
9394         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
9395         <math/w_lgamma_compat.c>.
9396         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
9397         Define as alias of __lgamma_compat and use in defining lgammal.
9398         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
9399         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
9400         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
9401         (USE_AS_COMPAT): New macro.
9402         (LGAMMA_OLD_VER): Undefine and redefine.
9403         (lgammal): Do not define here.
9404         (gammal): Only define here if [GAMMA_ALIAS].
9405         * conform/linknamespace.pl (@whitelist): Remove signgam.
9406         * sysdeps/nacl/libm.abilist: Update.
9407         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9408         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9409         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9410         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9411         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9412         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9413         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9414         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9415         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9416         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9417         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9418         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9420         Likewise.
9421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9422         Likewise.
9423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9424         Likewise.
9425         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9426         Likewise.
9427         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9428         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9429         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9430         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9431         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9432         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9433         Likewise.
9434         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9435         Likewise.
9436         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9437         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9438         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9440 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9442         [BZ #16364]
9443         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
9444         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
9446 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9448         * sysdeps/s390/fpu/bits/mathinline.h:
9449         Use __asm__ [__volatile__] instead of asm [volatile].
9450         * sysdeps/s390/abort-instr.h: Likewise.
9451         * sysdeps/s390/atomic-machine.h: Likewise.
9452         * sysdeps/s390/bits/string.h: Likewise.
9453         * sysdeps/s390/dl-tls.h: Likewise.
9454         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
9455         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
9456         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
9457         * sysdeps/s390/fpu/fesetround.c: Likewise.
9458         * sysdeps/s390/fpu/fpu_control.h: Likewise.
9459         * sysdeps/s390/fpu/s_fma.c: Likewise.
9460         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
9461         * sysdeps/s390/memusage.h: Likewise.
9462         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
9463         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
9464         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
9465         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
9466         * sysdeps/s390/nptl/tls.h: Likewise.
9467         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
9468         * sysdeps/s390/s390-32/backtrace.c: Likewise.
9469         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
9470         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
9471         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
9472         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
9473         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
9474         * sysdeps/s390/s390-64/backtrace.c: Likewise.
9475         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9476         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
9477         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
9478         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
9479         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
9480         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
9481         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
9482         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
9483         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
9484         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9485         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
9486         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
9487         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
9488         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
9489         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
9491 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9492             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9494         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
9495         Add lwarx hint, and use macro for acquire instruction.
9496         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
9497         Likewise.
9498         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
9499         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
9500         update to use new atomic macros.
9502 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9504         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
9505         (__lll_trylock_elision): Fix setting of adapt_count.
9506         * sysdeps/unix/sysv/linux/powerpc/htm.h
9507         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
9508         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
9509         (_ABORT_SYSCALL): Renumber, and clarify definition.
9510         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
9512 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
9514         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
9515         after system headers to prevent MIN/MAX redefinition.  Define
9516         HAVE_ALLOCA to preserve builtin alloca usage.
9518 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
9520         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
9521         static and don't set or restore rounding.
9522         (__cos)[IN_SINCOS]: Likewise.
9523         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
9524         (__sincos): Set and restore rounding mode.  Remove check for infinite
9525         or NaN input.
9527         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
9529         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
9530         as used.
9532 2015-11-16  Florian Weimer  <fweimer@redhat.com>
9534         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
9536 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
9538         * config.make.in (have-glob-dat-reloc): New.
9539         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
9540         target supports GLOB_DAT relocaton. AC_SUBST.
9541         * configure: Regenerated.
9542         * elf/Makefile (tests): Add tst-prelink.
9543         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9544         (tst-prelink-ENV): New.
9545         ($(objpfx)tst-prelink-conflict.out): Likewise.
9546         ($(objpfx)tst-prelink-cmp.out): Likewise.
9547         * sysdeps/x86/tst-prelink.c: Moved to ...
9548         * elf/tst-prelink.c: Here.
9549         * sysdeps/x86/tst-prelink.exp: Moved to ...
9550         * elf/tst-prelink.exp: Here.
9551         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
9552         (tst-prelink-ENV): Removed.
9553         ($(objpfx)tst-prelink-conflict.out): Likewise.
9554         ($(objpfx)tst-prelink-cmp.out): Likewise.
9555         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
9557 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
9559         [BZ #14551]
9560         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
9561         (__mpn_construct_long_double): If high part overflows to infinity,
9562         set errno and recompute overflowed result of the correct sign.
9563         * sysdeps/ieee754/ldbl-128ibm/Makefile
9564         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
9565         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
9566         $(libm).
9567         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
9569 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
9571         [BZ #15479]
9572         [BZ #19238]
9573         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
9574         floating-point state after first operation on input.  Restore full
9575         state rather than just rounding mode.
9576         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
9577         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
9578         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
9580         [BZ #19235]
9581         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
9582         add 0.5 to integer arguments.
9583         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
9584         Likewise.
9585         (.LC2): New object.
9587 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
9589         * scripts/pylintrc (reports): Set to no.
9591 2015-11-10  Roland McGrath  <roland@hack.frob.com>
9593         * elf/dl-load.c (open_verify): Take new argument FD.
9594         Skip __open call if passed FD is not -1.
9595         (_dl_map_object, open_path): Update callers.
9596         * elf/dl-sysdep-open.h: New file.
9597         * elf/dl-load.c: Include it.
9598         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
9599         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
9600         * sysdeps/nacl/dl-sysdep-open.h: New file.
9601         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
9602         from libc to rtld.
9604 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9606         [BZ #19228]
9607         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
9608         and restore full floating-point state.
9609         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
9610         Likewise.
9611         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
9612         Likewise.
9613         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
9614         Likewise.
9615         * math/test-nearbyint-except-2.c: New file.
9616         * math/Makefile (tests): Add test-nearbyint-except-2.
9618 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
9620         [BZ #19178]
9621         * sysdeps/x86/Makefile (tests): Add tst-prelink.
9622         (tst-prelink-ENV): New.
9623         ($(objpfx)tst-prelink-conflict.out): Likewise.
9624         ($(objpfx)tst-prelink-cmp.out): Likewise.
9625         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
9626         * sysdeps/x86/tst-prelink.c: New file.
9627         * sysdeps/x86/tst-prelink.exp: Likewise.
9629 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
9631         * math/auto-libm-test-in: Add another test of pow.
9632         * math/auto-libm-test-out: Regenerated.
9633         * math/libm-test.inc (pow_test_data): Add another test.
9635 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9637         [BZ #19219]
9638         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
9639         weak_alias to nearbyintl.
9641 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9643         * sysdeps/aarch64/bits/string.h: New file.
9644         (_STRING_ARCH_unaligned): Define.
9646 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
9648         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
9649         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
9650         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
9651         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
9652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
9654 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
9656         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
9657         for original name of the DSO.  Add it to the name list of the DSO
9658         if it is actually given.
9659         (_dl_map_object): Keep track of whether an audit module rewrote
9660         the file name.  If yes, pass the original name to
9661         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
9662         debugging is enabled, log the change of the file name.
9663         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
9664         _dl_map_object_from_fd.
9665         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
9666         * elf/tst-audit11.c: New file
9667         * elf/tst-auditmod11.c: New file.
9668         * elf/tst-audit11mod1.c: New file.
9669         * elf/tst-audit11mod2.c: New file.
9670         * elf/tst-audit11mod2.map: New file.
9671         * elf/tst-audit12.c: New file
9672         * elf/tst-auditmod12.c: New file.
9673         * elf/tst-audit12mod1.c: New file.
9674         * elf/tst-audit12mod2.c: New file.
9675         * elf/tst-audit12mod2.map: New file.
9676         * elf/tst-audit12mod3.c: New file.
9678 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9680         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
9681         Don't create weak aliases,
9682         because versioned symbols are created later.
9683         * sysdeps/s390/s390-32/setjmp.S
9684         (setjmp, _setjmp): Remove weak and rename to an unique name
9685         in SHARED case due to existing versioned symbols.
9686         * sysdeps/s390/s390-64/setjmp.S: Likewise.
9687         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
9688         (getcontext): Create weak alias only in non SHARED case.
9689         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
9691 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
9693         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
9694         (__ASSUME_*_SYSCALL) Define new macros.
9695         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
9696         Remove socketcall syscalls.
9697         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
9698         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
9699         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
9700         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
9701         * sysdeps/unix/sysv/linux/send.c (__libc_send):
9702         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
9704 2015-11-09  Florian Weimer  <fweimer@redhat.com>
9706         [BZ #12926]
9707         Terminate process on invalid netlink response.
9708         * sysdeps/unix/sysv/linux/netlinkaccess.h
9709         (__netlink_assert_response): Declare.
9710         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
9711         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
9712         (sysdep_routines): Add netlink_assert_response.
9713         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
9714         __netlink_assert_response.
9715         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
9716         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
9717         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
9718         __netlink_assert_response.
9720 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
9722         [BZ #19178]
9723         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
9724         (RTYPE_CLASS_PLT): Likewise.
9725         (RTYPE_CLASS_COPY): Likewise.
9726         (RTYPE_CLASS_TLS): Likewise.
9727         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
9728         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
9729         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
9730         DL_DEBUG_PRELINK.
9732 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
9734         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
9735         calls with argument -0.5.
9736         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
9738         * configure.ac (libc_cv_z_nodelete): Remove configure test.
9739         (libc_cv_z_nodlopen): Likewise.
9740         (libc_cv_z_initfirst): Likewise.
9741         * configure: Regenerated.
9743 2015-11-06  Florian Weimer  <fweimer@redhat.com>
9745         Simplify abilist format to be line-based.
9746         * scripts/abilist.awk: Collect descriptors in the descs variable.
9747         (emit): Write descs variable and sort it
9748         externally, with sort.
9749         * sysdeps/**/*.abilist: Convert to new format.
9751 2015-11-06  Mark Wielaard  <mjw@redhat.com>
9753         [BZ #11460]
9754         * io/Makefile (routines): Add fts64.
9755         (tests): Add tst-fts and tst-fts-lfs.
9756         (CFLAGS-fts64.c): New.
9757         * io/Versions (GLIBC_2.23): New.
9758         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
9759         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
9760         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
9761         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
9762         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
9763         (FTSENT64): Likewise.
9764         (fts64_children): Likewise.
9765         (fts64_close): Likewise.
9766         (fts64_open): Likewise.
9767         (fts64_read): Likewise.
9768         (fts64_set): Likewise.
9769         * io/fts64.c: New file.
9770         * io/tst-fts.c: New test.
9771         * io/tst-fts-lfs.c: Likewise.
9772         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
9773         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
9774         fts64_set.
9775         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
9776         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
9777         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
9778         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
9779         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
9780         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
9781         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
9782         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
9783         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
9784         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
9785         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
9786         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
9787         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
9788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
9789         Likewise.
9790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
9791         Likewise.
9792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
9793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
9794         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
9795         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
9796         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
9797         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
9798         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
9799         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
9800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
9801         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
9802         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
9803         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
9804         * sysdeps/wordsize-64/fts.c: New file.
9805         * sysdeps/wordsize-64/fts64.c: Likewise.
9806         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
9807         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
9808         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
9809         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
9811 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9813         * math/libm-test.inc (NON_FINITE): New macro.
9814         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
9815         * math/gen-libm-test.pl (show_exceptions): Add argument
9816         $non_finite.
9817         (parse_args): Update call to show_exceptions.
9818         * math/test-math-finite.h: New file.
9819         * math/test-math-no-finite.h: Likewise.
9820         * math/test-double-finite.c: Likewise.
9821         * math/test-float-finite.c: Likewise.
9822         * math/test-ldouble-finite.c: Likewise.
9823         * math/test-double.c: Include "test-math-no-finite.h".
9824         * math/test-float.c: Include "test-math-no-finite.h".
9825         * math/test-ldouble.c: Include "test-math-no-finite.h".
9826         * math/test-math-inline.h (TEST_FINITE): New macro.
9827         * math/test-math-vector.h (TEST_FINITE): Likewise.
9828         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
9829         (libm-tests): Add test-float-finite and test-double-finite.
9830         ($(objpfx)test-float-finite.o): New dependency on
9831         $(objpfx)libm-test.stmp.
9832         ($(objpfx)test-double-finite.o): Likewise.
9833         ($(objpfx)test-ldouble-finite.o): Likewise.
9834         (libm-test-no-inline-cflags): New variable.
9835         (libm-test-finite-cflags): Likewise.
9836         (CFLAGS-test-float-finite.c): Likewise.
9837         (CFLAGS-test-double-finite.c): Likewise.
9838         (CFLAGS-test-ldouble-finite.c): Likewise.
9839         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
9840         (CFLAGS-test-double.c): Likewise.
9841         (CFLAGS-test-ldouble.c): Likewise.
9843 2015-11-05  Roland McGrath  <roland@hack.frob.com>
9845         * io/fcntl.c (__fcntl): Add ... to prototype.
9846         * misc/ioctl.c (__ioctl): Likewise.
9847         * misc/syscall.c (syscall): Likewise.
9849 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
9851         * scripts/list-fixed-bugs.py: New file.
9853         [BZ #19213]
9854         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
9855         returned for argument 1.
9856         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
9857         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
9858         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
9859         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
9860         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
9861         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
9863         [BZ #19211]
9864         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
9865         __USE_XOPEN], not if [!__USE_ISOC99].
9866         (lgammaf): Likewise.
9867         (lgammal): Likewise.
9868         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
9869         (gammaf): Likewise.
9870         (gammal): Likewise.
9871         * math/test-signgam-finite-c11.c: New file.
9872         * math/test-signgam-finite-c99.c: Likewise.
9873         * math/test-signgam-finite.c: Likewise.
9874         * math/Makefile (tests): Add test-signgam-finite,
9875         test-signgam-finite-c99 and test-signgam-finite-c11.
9876         (CFLAGS-test-signgam-finite.c): New variable.
9877         (CFLAGS-test-signgam-finite-c99.c): Likewise.
9878         (CFLAGS-test-signgam-finite-c11.c): Likewise.
9880         [BZ #19212]
9881         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
9882         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
9883         500].
9884         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
9885         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
9886         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
9887         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
9888         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
9889         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
9890         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
9891         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
9892         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
9893         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
9895         [BZ #19209]
9896         * math/bits/math-finite.h (ldexp): Remove declaration.
9897         (ldexpf): Likewise.
9898         (ldexpl): Likewise.
9900         [BZ #19205]
9901         * math/bits/math-finite.h (acosf): Condition declaration on
9902         [__USE_ISOC99].
9903         (acosl): Likewise.
9904         (acoshf): Likewise.
9905         (acoshl): Likewise.
9906         (asinf): Likewise.
9907         (asinl): Likewise.
9908         (atan2f): Likewise.
9909         (atan2l): Likewise.
9910         (atanhf): Likewise.
9911         (atanhl): Likewise.
9912         (coshf): Likewise.
9913         (coshl): Likewise.
9914         (expf): Likewise.
9915         (expl): Likewise.
9916         (fmodf): Likewise.
9917         (fmodl): Likewise.
9918         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
9919         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
9920         (j0l): Likewise.
9921         (y0f): Likewise.
9922         (y0l): Likewise.
9923         (j1f): Likewise.
9924         (j1l): Likewise.
9925         (y1f): Likewise.
9926         (y1l): Likewise.
9927         (jnf): Likewise.
9928         (jnl): Likewise.
9929         (ynf): Likewise.
9930         (ynl): Likewise.
9931         (lgammaf_r): Condition declaration on [__USE_ISOC99].
9932         (lgammal_r): Likewise.
9933         (__lgamma_r_finite): New declaration.
9934         (__lgammaf_r_finite): Likewise.
9935         (__lgammal_r_finite): Likewise.
9936         (lgamma): Use __lgamma_r_finite.
9937         (lgammaf): Condition definition on [__USE_ISOC99].  Use
9938         __lgammaf_r_finite.
9939         (lgammal): Condition definition on [__USE_ISOC99].  Use
9940         __lgammal_r_finite.
9941         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
9942         __lgamma_r_finite.
9943         (gammaf): Condition definition on [__USE_ISOC99].  Use
9944         __lgammaf_r_finite.
9945         (gammal): Condition definition on [__USE_ISOC99].  Use
9946         __lgammal_r_finite.
9947         (logf): Condition declaration on [__USE_ISOC99].
9948         (logl): Likewise.
9949         (log10f): Likewise.
9950         (log10l): Likewise.
9951         (ldexpf): Likewise.
9952         (ldexpl): Likewise.
9953         (powf): Likewise.
9954         (powl): Likewise.
9955         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
9956         __USE_ISOC99].
9957         (remainderf): Condition declaration on [__USE_ISOC99].
9958         (remainderl): Likewise.
9959         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
9960         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
9961         (scalbl): Likewise.
9962         (sinhf): Condition declaration on [__USE_ISOC99].
9963         (sinhl): Likewise.
9964         (sqrtf): Likewise.
9965         (sqrtl): Likewise.
9967 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
9969         * sysdeps/arm/atomic-machine.h
9970         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9971         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9972         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
9973         Remove conditional code.
9974         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
9975         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
9976         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
9977         Change conditional to [__ASSEMBLER__].
9978         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
9979         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
9980         [!__ASSEMBLER__].
9981         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
9982         code.
9983         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
9984         conditional macro definitions.
9985         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
9986         (__arch_compare_and_exchange_val_16_acq): Likewise.
9987         (__arch_compare_and_exchange_val_32_acq): Likewise.
9988         (atomic_exchange_and_add): Likewise.
9989         (atomic_add): Likewise.
9990         (atomic_add_negative): Likewise.
9991         (atomic_add_zero): Likewise.
9992         (atomic_bit_set): Likewise.
9993         (atomic_bit_test_set): Likewise.
9994         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
9995         code unconditional.
9996         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
9998         * math/test-math-errno.h: New file.
9999         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
10000         empty.
10001         (TEST_ERRNO): New macro.
10002         (TEST_EXCEPTIONS): Likewise.
10003         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
10004         (TEST_EXCEPTIONS): Likewise.
10005         * math/test-math-vector.h (TEST_ERRNO): Likewise.
10006         * math/test-double.c: Include "test-math-errno.h".
10007         * math/test-float.c: Likewise.
10008         * math/test-ldouble.c: Likewise.
10009         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
10010         code unconditional.
10011         (test_exceptions): Only run code if TEST_EXCEPTIONS.
10012         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
10013         unconditional.
10014         (test_errno): Only run code if TEST_ERRNO.
10015         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
10017 2015-11-04  Florian Weimer  <fweimer@redhat.com>
10019         * nptl/tst-once5.cc: Remove attribution.
10021 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
10023         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
10024         sqrt, tan, tanh, y0, y1 and yn.
10025         * math/auto-libm-test-out: Regenerated.
10026         * math/libm-test.inc (scalb_test_data): Add more tests.
10027         (scalbn_test_data): Likewise.
10028         (scalbln_test_data): Likewise.
10029         (signbit_test_data): Likewise.
10030         (sin_test_data): Likewise.
10031         (sincos_test_data): Likewise.
10032         (sinh_test_data): Likewise.
10033         (sqrt_test_data): Likewise.
10034         (tan_test_data): Likewise.
10035         (tanh_test_data): Likewise.
10036         (tgamma_test_data): Likewise.
10037         (y0_test_data): Likewise.
10038         (y1_test_data): Likewise.
10039         (yn_test_data): Likewise.
10040         (significand_test_data): Likewise.
10041         * sysdeps/i386/fpu/libm-test-ulps: Update.
10043 2015-11-03  David Kastrup  <dak@gnu.org>
10045         [BZ #18604]
10046         * assert/assert.h (assert): Don't macro-expand failed assertion
10047         expression in error message.
10048         * malloc/malloc.c (assert): Likewise.
10050 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
10052         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
10053         test.
10054         * configure: Regenerated.
10056 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
10058         * math/libm-test.inc (modf_test_data): Add more tests.
10059         (nearbyint_test_data): Likewise.
10060         (nextafter_test_data): Likewise.
10061         (nexttoward_test_data): Likewise.
10062         (pow_test_data): Likewise.
10063         (remainder_test_data): Likewise.
10064         (remquo_test_data): Likewise.
10065         (rint_test_data): Likewise.
10067         [BZ #19201]
10068         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
10069         Check for zero remainder in case of large exponents and ensure
10070         correct sign of result in that case.
10071         * math/libm-test.inc (remainder_test_data): Add more tests.
10073         [BZ #6799]
10074         * math/s_nextafter.c: Include <errno.h>.
10075         (__nextafter): Set errno on overflow and underflow.
10076         * math/s_nexttowardf.c: Include <errno.h>.
10077         (__nexttowardf): Set errno on overflow and underflow.
10078         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
10079         (__nextafterl): Set errno on overflow and underflow.
10080         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
10081         (__nexttoward): Set errno on overflow and underflow.
10082         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
10083         (__nexttowardf): Set errno on overflow and underflow.
10084         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
10085         (__nextafterf): Set errno on overflow and underflow.
10086         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
10087         (__nextafterl): Set errno on overflow and underflow.
10088         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
10089         (__nexttoward): Set errno on overflow and underflow.
10090         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
10091         (__nexttowardf): Set errno on overflow and underflow.
10092         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
10093         (__nextafterl): Set errno on overflow and underflow.
10094         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
10095         (__nexttoward): Set errno on overflow and underflow.
10096         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
10097         (__nexttowardf): Set errno on overflow and underflow.
10098         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
10099         (__nexttoward): Set errno on overflow and underflow.
10100         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
10101         (__nexttowardf): Set errno on overflow and underflow.
10102         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
10103         (__nldbl_nexttowardf): Set errno on overflow and underflow.
10104         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
10105         (__nextafterl): Set errno on overflow and underflow.
10106         * math/libm-test.inc (nextafter_test_data): Do not allow errno
10107         setting to be missing on overflow.  Add more tests.
10108         (nexttoward_test_data): Likewise.
10110         * configure.ac (libc_cv_initfini_array): Remove configure test.
10111         * configure: Regenerated.
10113 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
10115         [BZ #19189]
10116         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
10117         non-finite argument handle arguments with negative sign.
10119         * math/libm-test.inc (j0_test_data): Do not test sign of zero
10120         result from infinite argument.
10121         (j1_test_data): Likewise.
10122         (jn_test_data): Likewise.
10123         (y0_test_data): Likewise.
10124         (y1_test_data): Likewise.
10125         (yn_test_data): Likewise.
10127         [BZ #16171]
10128         * math/w_remainder.c (drem): Define as weak alias of __remainder.
10129         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
10130         * math/w_remainderf.c (dremf): Define as weak alias of
10131         __remainderf.
10132         * math/w_remainderl.c (dreml): Define as weak alias of
10133         __remainderl.
10134         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
10135         __remainder.
10136         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
10137         __remainderf.
10138         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
10139         __remainderl.
10140         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
10141         weak alias of remainderl.
10142         * sysdeps/ieee754/ldbl-opt/w_remainder.c
10143         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
10144         alias of __remainder.
10145         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
10146         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
10147         strong alias of __remainderl.
10148         (dreml): Use long_double_symbol.
10149         * math/Makefile (libm-calls): Remove w_drem.
10150         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
10151         (CFLAGS-nldbl-drem.c): Remove variable.
10152         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
10153         * math/w_drem.c: Remove file.
10154         * math/w_dremf.c: Likewise.
10155         * math/w_dreml.c: Likewise.
10156         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
10157         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
10158         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
10160         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
10161         * sysdeps/i386/configure: Regenerated.
10162         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
10163         * sysdeps/x86_64/configure: Regenerated.
10165         * configure.ac (libc_cv_asm_protected_directive): Remove configure
10166         test.
10167         (libc_cv_visibility_attribute): Likewise.
10168         (libc_cv_protected_data): Test unconditionally.
10169         (libc_cv_broken_visibility_attribute): Remove configure test.
10170         (libc_cv_have_sdata_section): Test unconditionally.
10171         * configure: Regenerated.
10173         * include/libc-internal.h (libc_max_align_t): Remove typedef.
10174         * include/scratch_buffer.h: Include <stddef.h> instead of
10175         <libc-internal.h>.
10176         (struct scratch_buffer): Use max_align_t instead of
10177         libc_max_align_t.
10179 2015-10-29  Florian Weimer  <fweimer@redhat.com>
10181         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
10182         instead of extend_alloca.  Change control flow to avoid a goto.
10183         Remove assert which is trivially always true.
10185 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10187         [BZ #16068]
10188         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
10189         (FE_ALL_EXCEPT_X86): New macro.
10190         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10191         FE_ALL_EXCEPT.  Ensure precision control is included in
10192         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10193         handle "denormal operand exception" and clear FZ and DAZ bits.
10194         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
10195         (FE_ALL_EXCEPT_X86): New macro.
10196         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
10197         FE_ALL_EXCEPT.  Ensure precision control is included in
10198         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
10199         handle "denormal operand exception" and clear FZ and DAZ bits.
10200         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
10201         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
10202         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10203         test-fenv-x87 and test-fenv-sse-2.
10204         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
10206         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
10207         * math/test-double.h (BUILD_COMPLEX): New macro.
10208         * math/test-float.h (BUILD_COMPLEX): Likewise.
10209         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
10211         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
10212         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
10213         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
10214         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
10215         instead of DBL_DENORM_MIN in comment.
10216         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
10217         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10218         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
10219         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
10220         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
10221         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
10223 2015-10-28  Florian Weimer  <fweimer@redhat.com>
10225         [BZ# 19048]
10226         * malloc/malloc.c (struct malloc_state): Update comment.  Add
10227         attached_threads member.
10228         (main_arena): Initialize attached_threads.
10229         * malloc/arena.c (list_lock): Update comment.
10230         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
10231         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
10232         (deattach_arena): New function.
10233         (_int_new_arena): Initialize arena reference count and deattach
10234         replaced arena.
10235         (get_free_list, reused_arena): Update reference count and deattach
10236         replaced arena.
10237         (arena_thread_freeres): Update arena reference count and only put
10238         unreferenced arenas on the free list.
10240 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10242         [BZ #19181]
10243         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
10244         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
10245         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
10246         * math/test-fenv-clear-main.c: New file.
10247         * math/test-fenv-clear.c: Likewise.
10248         * math/Makefile (tests): Add test-fenv-clear.
10249         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
10250         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
10251         test-fenv-clear-sse.
10252         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
10254         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
10255         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
10256         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
10258 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10260         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
10261         static libc.
10263 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
10265         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
10266         test.
10267         * sysdeps/i386/configure: Regenerated.
10268         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
10269         test.
10270         * sysdeps/x86_64/configure: Regenerated.
10271         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
10272         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
10273         memset-avx2 unconditionally instead of conditionally on
10274         [$(config-cflags-avx2) = yes].
10275         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10276         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
10277         unconditional.
10278         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
10279         * sysdeps/x86_64/multiarch/memset_chk.S
10280         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
10281         to [IS_IN (libc) && SHARED].
10283 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10285         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
10286         configure test.
10287         * sysdeps/arm/configure: Regenerated.
10288         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
10289         Define variable if not already defined.
10291         [BZ #17404]
10292         * sysdeps/mips/atomic-machine.h
10293         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
10294         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
10295         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
10297         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
10298         unconditional.
10299         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
10300         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10301         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
10302         unconditional.
10303         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10304         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
10305         unconditional.
10306         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10307         * stdlib/setenv.c
10308         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
10309         code unconditional.
10310         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
10311         Remove conditional code.
10312         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
10313         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
10314         unconditional.
10315         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10316         code.
10317         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
10318         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
10319         unconditional.
10320         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10321         code.
10322         * sysdeps/ieee754/ldbl-128/k_tanl.c
10323         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10324         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10325         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
10326         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10327         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10328         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
10329         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
10330         unconditional.
10331         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
10332         code.
10333         * sysdeps/ieee754/ldbl-96/k_tanl.c
10334         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
10335         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
10337         * nptl/tst-initializers1-c11.c: New file.
10338         * nptl/tst-initializers1-gnu11.c: Likewise.
10339         * nptl/Makefile (tests): Add these new tests.
10340         (CFLAGS-tst-initializers1-c11.c): New variable.
10341         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
10343         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
10344         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
10345         instead of -std=gnu99.
10346         * configure.ac (systemtap): Test with -std=gnu11 instead of
10347         -std=gnu99.
10348         * configure: Regenerated.
10349         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
10350         in compilation command in comment.
10352         * sysdeps/nptl/configure.ac: Remove file.
10353         * sysdeps/nptl/configure: Remove generated file.
10354         * configure.ac (libc_cv_forced_unwind): Do not substitute.
10355         * configure: Regenerated.
10356         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
10357         * config.make.in (have-forced-unwind): Remove variable.
10358         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10359         unconditional.
10360         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
10361         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
10362         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
10363         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
10364         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
10365         unconditional.
10367 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
10369         [BZ #19174]
10370         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
10371         .skip_lock_out_of_tbegin_retries.
10372         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
10373         (__lll_lock_elision): Likewise, and respect a value of
10374         try_tbegin <= 0.
10376 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
10378         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
10379         statement.
10381 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10383         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
10384         variable.
10385         (test-xfail-ISO11/stdalign.h/conform): Likewise.
10386         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
10388         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
10389         of -std=c1x -D_ISOC11_SOURCE.
10391         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
10392         * configure: Regenerated.
10393         * manual/install.texi (Tools for Compilation): Document
10394         requirement for GCC 4.7 or later.
10395         * INSTALL: Regenerated.
10397 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
10399         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
10400         on CNT to a conditional jump to 'puntdata'.
10402 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
10404         * configure.ac (libc_cv_gcc___thread): Remove configure test.
10405         (libc_cv_gcc_tls_model_attr): Likewise.
10406         * configure: Regenerated.
10408         * configure.ac (libc_cv_need_minus_P): Remove configure test.
10409         * configure: Regenerated.
10410         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
10412 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
10414         * configure.ac (old_glibc_headers): Remove configure test.
10415         * configure: Regenerated.
10416         * config.make.in (old-glibc-headers): Remove variable.
10417         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
10418         (install): Remove dependency on remove-old-headers.
10419         (headers2_0): Remove variable.
10420         (remove-old-headers): Remove rule.
10422         * configure.ac (libc_cv_dot_text): Remove configure test.
10423         (libc_cv_asm_set_directive): Use .text instead of
10424         ${libc_cv_dot_text} in configure test.
10425         * configure: Regenerated.
10427 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10429         [BZ #19168]
10430         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
10432 2015-10-26  Florian Weimer  <fweimer@redhat.com>
10434         * configure.ac (CXX): Clear the variable if the C++ toolchain does
10435         not support static linking.
10436         * configure: Regenerate.
10438 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
10440         * math/libm-test.inc (check_float_internal): Do not special-case
10441         errors up to 0.5 ulp.
10443         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
10444         log2.
10445         * math/auto-libm-test-out: Regenerated.
10446         * math/libm-test.inc (MAX_EXP): New macro.
10447         (ilogb_test_data): Add more tests.
10448         (isfinite_test_data): Likewise.
10449         (isgreater_test_data): Likewise.
10450         (isgreaterequal_test_data): Likewise.
10451         (isinf_test_data): Likewise.
10452         (isless_test_data): Likewise.
10453         (islessequal_test_data): Likewise.
10454         (islessgreater_test_data): Likewise.
10455         (isnan_test_data): Likewise.
10456         (isnormal_test_data): Likewise.
10457         (issignaling_test_data): Likewise.
10458         (isunordered_test_data): Likewise.
10459         (j0_test_data): Likewise.
10460         (j1_test_data): Likewise.
10461         (jn_test_data): Likewise.
10462         (lgamma_test_data): Likewise.
10463         (log_test_data): Likewise.
10464         (log10_test_data): Likewise.
10465         (log1p_test_data): Likewise.
10466         (log2_test_data): Likewise.
10467         (logb_test_data): Likewise.
10468         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
10470         [BZ #18611]
10471         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
10472         avoid excess range and precision on underflow.
10473         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
10474         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
10475         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
10476         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
10477         underflow.
10478         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
10479         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
10480         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
10481         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
10482         * math/auto-libm-test-in: Do not allow missing errno setting for
10483         tests of j1 and jn.
10484         * math/auto-libm-test-out: Regenerated.
10486 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
10488         [BZ #15491]
10489         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
10490         floating-point environment instead of clearing all exceptions.
10491         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
10492         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
10493         merging in "invalid" exceptions from frndint.
10494         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
10495         * math/test-nearbyint-except.c: New file.
10496         * math/Makefile (tests): Add test-nearbyint-except.
10498 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
10500         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
10502         * sysdeps/tile/libm-test-ulps: Regenerated.
10504 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
10507         (__NR_sync_file_range2): Assume it is always defined.
10508         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
10509         (__NR_sync_file_range): Assume it is always defined.
10511 2015-10-22  Andreas Schwab  <schwab@suse.de>
10513         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
10514         INTERNAL_SYSCALL_ERRNO.
10515         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
10516         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
10517         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
10518         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
10519         Likewise.
10520         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
10522 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10524         * io/tst-fcntl.c (fd): New static variable.
10525         (do_prepare): Open temporary file here....
10526         (do_test): ...not here.
10528         * io/ftwtest-sh: Also trap on exit to remove temporary files.
10530 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10532         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
10533         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10534         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10535         Moved before "#ifdef __ASSEMBLER__".
10537 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10539         [BZ #19156]
10540         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
10541         arguments very close to 0.
10543 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
10545         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
10546         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
10548 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
10550         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
10551         New.  Defined for GCC 5 and above when not compiling for
10552         profiling.
10553         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
10555         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
10556         Renamed to ...
10557         (CFLAGS-epoll_pwait.o): This.
10558         (CFLAGS-mmap.c): Renamed to ...
10559         (CFLAGS-mmap.o): This.
10560         (CFLAGS-mmap64.c): Renamed to ...
10561         (CFLAGS-mmap64.o): This.
10562         (CFLAGS-epoll_pwait.os): New.
10563         (CFLAGS-mmap.os): Likewise.
10564         (CFLAGS-mmap64.os): Likewise.
10565         (CFLAGS-semtimedop.os): Likewise.
10566         (CFLAGS-semtimedop.c): Renamed to ...
10567         (CFLAGS-semtimedop.o): This.
10569 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
10571         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
10572         warning message.
10574 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
10576         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
10577         * Makefile ($(objpfx)c++-types-check.out): Filter out
10578         $(+gccwarn-c) instead of -Wstrict-prototypes.
10580         * io/fts.c (fts_open): Convert to prototype-style function
10581         definition.
10582         * malloc/mcheck.c (mcheck): Likewise.
10583         (mcheck_pedantic): Likewise.
10584         * posix/regexec.c (re_search_2_stub): Likewise.  Use
10585         internal_function.
10586         (re_search_internal): Likewise.
10587         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
10588         prototype-style function definition.
10589         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
10590         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
10591         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
10592         (xdr_utmpptr): Likewise.
10593         (xdr_utmparr): Likewise.
10594         (xdr_utmpidle): Likewise.
10595         (xdr_utmpidleptr): Likewise.
10596         (xdr_utmpidlearr): Likewise.
10598         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
10599         log, log10 and log2.
10600         * math/auto-libm-test-out: Regenerated.
10601         * math/libm-test.inc (fmod_test_data): Add more tests.
10602         (fpclassify_test_data): Likewise.
10603         (frexp_test_data): Likewise.
10604         (hypot_test_data): Likewise.
10605         (ilogb_test_data): Likewise.
10607 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
10609         * debug/fortify_fail.c (__fortify_fail): Convert to
10610         prototype-style function definition.  Use internal_function.
10611         * libio/genops.c (save_for_backup): Convert to prototype-style
10612         function definition.
10613         * libio/wgenops.c (save_for_wbackup): Likewise.
10614         * login/grantpt.c (grantpt): Likewise.
10615         * login/ptsname.c (ptsname): Likewise.
10616         (__ptsname_r): Likewise.
10617         * login/unlockpt.c (unlockpt): Likewise.
10618         * mach/msgserver.c (__mach_msg_server): Likewise.
10619         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
10620         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
10621         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
10622         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
10623         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
10624         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
10625         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
10626         Likewise.
10627         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
10628         internal_function.
10629         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
10630         prototype-style function definition.
10631         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
10632         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
10633         (__pthread_create_2_0): Likewise.
10634         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
10635         * nptl/register-atfork.c (__register_atfork): Likewise.
10636         * posix/glob.c (glob): Likewise.
10637         * posix/regcomp.c (re_comp): Likewise.
10638         * posix/regexec.c (re_exec): Likewise.
10639         * stdlib/add_n.c [__STDC__]: Make code unconditional.
10640         [!__STDC__]: Remove conditional code.
10641         * stdlib/cmp.c [__STDC__]: Make code unconditional.
10642         [!__STDC__]: Remove conditional code.
10643         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
10644         [!__STDC__]: Remove conditional code.
10645         * stdlib/divrem.c [__STDC__]: Make code unconditional.
10646         [!__STDC__]: Remove conditional code.
10647         * stdlib/lshift.c [__STDC__]: Make code unconditional.
10648         [!__STDC__]: Remove conditional code.
10649         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
10650         [!__STDC__]: Remove conditional code.
10651         * stdlib/mul.c [__STDC__]: Make code unconditional.
10652         [!__STDC__]: Remove conditional code.
10653         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
10654         [!__STDC__]: Remove conditional code.
10655         * stdlib/rshift.c [__STDC__]: Make code unconditional.
10656         [!__STDC__]: Remove conditional code.
10657         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
10658         function definition.
10659         (STRTOF): Likewise.
10660         * stdlib/strtod_l.c (__STRTOF): Likewise.
10661         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
10662         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
10663         (__strtol_l): Likewise.
10664         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
10665         [!__STDC__]: Remove conditional code.
10666         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
10667         definition.
10668         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10669         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10670         type.
10671         (__strcasecmp): Convert to prototype-style function definition.
10672         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
10673         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10674         type.
10675         (__strncasecmp): Convert to prototype-style function definition.
10676         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
10677         * sunrpc/xdr.c (xdr_union): Likewise.
10678         * sunrpc/xdr_array.c (xdr_array): Likewise.
10679         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
10680         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
10681         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
10682         Likewise.
10683         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
10684         Likewise.
10685         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
10686         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
10687         Likewise.
10688         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
10689         (LOCALE_PARAM_PROTO): Likewise.
10690         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
10691         argument type.
10692         (ut_argument_spec): Remove macro.
10693         (ut_argument_spec_iso): Rename to ut_argument_spec.
10694         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
10695         prototype-style function definition.
10696         (memcpy_uppcase): Likewise.
10697         (__strftime_internal): Likewise.
10698         (my_strftime): Likewise.
10699         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
10700         (LOCALE_PARAM_DECL): Likewise.
10701         [_LIBC] (LOCALE_PARAM): Include argument type.
10702         (__strptime_internal): Convert to prototype-style function
10703         definition.
10704         (strptime): Likewise.
10705         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
10706         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10707         type.
10708         (__wcscasecmp): Convert to prototype-style function definition.
10709         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
10710         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
10711         type.
10712         (__wcsncasecmp): Convert to prototype-style function definition.
10714         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
10715         function definition.
10716         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
10717         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
10718         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
10719         * elf/dl-minimal.c (_itoa): Likewise.
10720         * hurd/hurdmalloc.c (malloc): Likewise.
10721         (free): Likewise.
10722         (realloc): Likewise.
10723         * inet/inet6_option.c (inet6_option_space): Likewise.
10724         (inet6_option_init): Likewise.
10725         (inet6_option_append): Likewise.
10726         (inet6_option_alloc): Likewise.
10727         (inet6_option_next): Likewise.
10728         (inet6_option_find): Likewise.
10729         * io/ftw.c (FTW_NAME): Likewise.
10730         (NFTW_NAME): Likewise.
10731         (NFTW_NEW_NAME): Likewise.
10732         (NFTW_OLD_NAME): Likewise.
10733         * libio/iofwide.c (_IO_fwide): Likewise.
10734         * libio/strops.c (_IO_str_init_static_internal): Likewise.
10735         (_IO_str_init_static): Likewise.
10736         (_IO_str_init_readonly): Likewise.
10737         (_IO_str_overflow): Likewise.
10738         (_IO_str_underflow): Likewise.
10739         (_IO_str_count): Likewise.
10740         (_IO_str_seekoff): Likewise.
10741         (_IO_str_pbackfail): Likewise.
10742         (_IO_str_finish): Likewise.
10743         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
10744         (_IO_wstr_overflow): Likewise.
10745         (_IO_wstr_underflow): Likewise.
10746         (_IO_wstr_count): Likewise.
10747         (_IO_wstr_seekoff): Likewise.
10748         (_IO_wstr_pbackfail): Likewise.
10749         (_IO_wstr_finish): Likewise.
10750         * locale/programs/localedef.c (normalize_codeset): Likewise.
10751         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
10752         (add_locales_to_archive): Likewise.
10753         (delete_locales_from_archive): Likewise.
10754         * malloc/malloc.c (__libc_mallinfo): Likewise.
10755         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
10756         * misc/tsearch.c (__tfind): Likewise.
10757         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
10758         * nptl/pthread_attr_getdetachstate.c
10759         (__pthread_attr_getdetachstate): Likewise.
10760         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
10761         Likewise.
10762         * nptl/pthread_attr_getinheritsched.c
10763         (__pthread_attr_getinheritsched): Likewise.
10764         * nptl/pthread_attr_getschedparam.c
10765         (__pthread_attr_getschedparam): Likewise.
10766         * nptl/pthread_attr_getschedpolicy.c
10767         (__pthread_attr_getschedpolicy): Likewise.
10768         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
10769         Likewise.
10770         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
10771         Likewise.
10772         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
10773         Likewise.
10774         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
10775         Likewise.
10776         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
10777         (__pthread_attr_init_2_0): Likewise.
10778         * nptl/pthread_attr_setdetachstate.c
10779         (__pthread_attr_setdetachstate): Likewise.
10780         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
10781         Likewise.
10782         * nptl/pthread_attr_setinheritsched.c
10783         (__pthread_attr_setinheritsched): Likewise.
10784         * nptl/pthread_attr_setschedparam.c
10785         (__pthread_attr_setschedparam): Likewise.
10786         * nptl/pthread_attr_setschedpolicy.c
10787         (__pthread_attr_setschedpolicy): Likewise.
10788         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
10789         Likewise.
10790         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
10791         Likewise.
10792         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
10793         Likewise.
10794         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
10795         Likewise.
10796         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
10797         Likewise.
10798         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
10799         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
10800         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
10801         use internal_function.
10802         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
10803         prototype-style function definition.
10804         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
10805         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
10806         internal_function.
10807         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
10808         Convert to prototype-style function definition.
10809         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
10810         Likewise.
10811         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
10812         Likewise.
10813         (__pthread_mutex_unlock): Likewise.
10814         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
10815         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
10816         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
10817         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
10818         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
10819         * nss/makedb.c (process_input): Likewise.
10820         * posix/fnmatch.c (__strchrnul): Likewise.
10821         (__wcschrnul): Likewise.
10822         (fnmatch): Likewise.
10823         * posix/fnmatch_loop.c (FCT): Likewise.
10824         * posix/glob.c (globfree): Likewise.
10825         (__glob_pattern_type): Likewise.
10826         (__glob_pattern_p): Likewise.
10827         * posix/regcomp.c (re_compile_pattern): Likewise.
10828         (re_set_syntax): Likewise.
10829         (re_compile_fastmap): Likewise.
10830         (regcomp): Likewise.
10831         (regerror): Likewise.
10832         (regfree): Likewise.
10833         * posix/regexec.c (regexec): Likewise.
10834         (re_match): Likewise.
10835         (re_search): Likewise.
10836         (re_match_2): Likewise.
10837         (re_search_2): Likewise.
10838         (re_search_stub): Likewise.  Use internal_function
10839         (re_copy_regs): Likewise.
10840         (re_set_registers): Convert to prototype-style function
10841         definition.
10842         (prune_impossible_nodes): Likewise.  Use internal_function.
10843         * resolv/inet_net_pton.c (inet_net_pton): Convert to
10844         prototype-style function definition.
10845         (inet_net_pton_ipv4): Likewise.
10846         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
10847         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
10848         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
10849         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
10850         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
10851         Make variadic.
10852         * time/strptime_l.c (localtime_r): Convert to prototype-style
10853         function definition.
10854         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
10855         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
10856         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
10857         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
10859         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
10860         definition.
10861         (_ufc_doit_r): Likewise.
10862         * crypt/crypt_util.c (_ufc_copymem): Likewise.
10863         (_ufc_output_conversion_r): Likewise.
10864         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
10865         * inet/rcmd.c (rcmd_af): Likewise.
10866         (rcmd): Likewise.
10867         (ruserok_af): Likewise.
10868         (ruserok): Likewise.
10869         (ruserok2_sa): Likewise.
10870         (ruserok_sa): Likewise.
10871         (iruserok_af): Likewise.
10872         (iruserok): Likewise.
10873         (__ivaliduser): Likewise.
10874         (__validuser2_sa): Likewise.
10875         * inet/rexec.c (rexec_af): Likewise.
10876         (rexec): Likewise.
10877         * inet/ruserpass.c (ruserpass): Likewise.
10878         * locale/programs/xmalloc.c (xcalloc): Likewise.
10879         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
10880         * math/w_drem.c (__drem): Likewise.
10881         * math/w_dremf.c (__dremf): Likewise.
10882         * math/w_dreml.c (__dreml): Likewise.
10883         * misc/daemon.c (daemon): Likewise.
10884         * resolv/res_debug.c (p_fqnname): Likewise.
10885         * stdlib/div.c (div): Likewise.
10886         * string/memcmp.c (memcmp_bytes): Likewise.
10887         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
10888         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
10890         * crypt/cert.c (main): Convert to prototype-style function
10891         definition.
10892         * io/pipe.c (__pipe): Likewise.
10893         * io/pipe2.c (__pipe2): Likewise.
10894         * misc/futimesat.c (futimesat): Likewise.
10895         * misc/utimes.c (__utimes): Likewise.
10896         * posix/execve.c (__execve): Likewise.
10897         * posix/execvp.c (execvp): Likewise.
10898         * posix/execvpe.c (__execvpe): Likewise.
10899         * posix/fexecve.c (fexecve): Likewise.
10900         * socket/socketpair.c (socketpair): Likewise.
10901         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
10902         * stdlib/erand48.c (erand48): Likewise.
10903         * stdlib/erand48_r.c (__erand48_r): Likewise.
10904         * stdlib/jrand48.c (jrand48): Likewise.
10905         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
10906         * stdlib/lcong48.c (lcong48): Likewise.
10907         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
10908         * stdlib/nrand48.c (nrand48): Likewise.
10909         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
10910         * stdlib/seed48.c (seed48): Likewise.
10911         * stdlib/seed48_r.c (__seed48_r): Likewise.
10912         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
10913         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
10914         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
10916 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
10918         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
10919         * configure: Regenerated.
10920         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
10921         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
10922         unconditional.
10923         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10924         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10925         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10926         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
10927         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
10928         unconditional.
10929         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
10931         * posix/Makefile (CFLAGS-regex.c): Remove variable.
10932         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
10934         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
10935         function definition.
10936         * crypt/crypt_util.c (__encrypt_r): Likewise.
10937         * libio/genops.c (_IO_no_init): Likewise.
10938         * libio/iofopncook.c (_IO_fopencookie): Likewise.
10939         (_IO_old_fopencookie): Likewise.
10940         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
10941         * libio/iogetline.c (_IO_getline): Likewise.
10942         (_IO_getline_info): Likewise.
10943         * libio/iogetwline.c (_IO_getwline): Likewise.
10944         (_IO_getwline_info): Likewise.
10945         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
10946         * libio/vswprintf.c (_IO_vswprintf): Likewise.
10947         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
10948         (find_entry): Likewise.
10949         (iterate_table): Likewise.
10950         (lookup): Likewise.
10951         * login/forkpty.c (forkpty): Likewise.
10952         * misc/hsearch_r.c (__hsearch_r): Likewise.
10953         * misc/select.c (__select): Likewise.
10954         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
10955         Likewise.
10956         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
10957         Likewise.
10958         * nptl/old_pthread_cond_timedwait.c
10959         (__pthread_cond_timedwait_2_0): Likewise.
10960         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
10961         * nptl/pthread_barrierattr_getpshared.c
10962         (pthread_barrierattr_getpshared): Likewise.
10963         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
10964         Likewise.
10965         * nptl/pthread_mutex_setprioceiling.c
10966         (pthread_mutex_setprioceiling): Likewise.
10967         * nptl/pthread_mutexattr_getprioceiling.c
10968         (pthread_mutexattr_getprioceiling): Likewise.
10969         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
10970         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
10971         Likewise.
10972         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
10973         Likewise.
10974         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
10975         Likewise.
10976         * socket/recvfrom.c (__recvfrom): Likewise.
10977         * socket/sendto.c (__sendto): Likewise.
10978         * socket/setsockopt.c (__setsockopt): Likewise.
10979         * stdio-common/_itoa.c (_itoa): Likewise.
10980         * stdio-common/_itowa.c (_itowa): Likewise.
10981         * stdio-common/reg-printf.c (__register_printf_specifier):
10982         Likewise.
10983         (__register_printf_function): Likewise.
10984         * stdio-common/tempname.c (__path_search): Likewise.
10985         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
10986         * stdlib/mul_1.c (mpn_mul_1): Likewise.
10987         * stdlib/random_r.c (__initstate_r): Likewise.
10988         * stdlib/setenv.c (__add_to_environ): Likewise.
10989         * stdlib/submul_1.c (mpn_submul_1): Likewise.
10990         * streams/getpmsg.c (getpmsg): Likewise.
10991         * streams/putmsg.c (putmsg): Likewise.
10992         * streams/putpmsg.c (putpmsg): Likewise.
10993         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
10994         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
10995         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
10996         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
10997         * sunrpc/pm_getport.c (pmap_getport): Likewise.
10998         * sunrpc/svc_udp.c (cache_get): Likewise.
10999         * sunrpc/xdr_array.c (xdr_vector): Likewise.
11000         * sysdeps/mach/hurd/getcwd.c
11001         (__canonicalize_directory_name_internal): Likewise.
11002         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
11003         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
11004         * sysdeps/mach/hurd/select.c (__select): Likewise.
11005         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
11006         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
11007         * sysdeps/sparc/nptl/pthread_barrier_init.c
11008         (__pthread_barrier_init): Likewise.
11009         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
11010         (__pthread_cond_timedwait): Likewise.
11011         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
11012         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
11013         Likewise.
11014         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
11015         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
11016         Likewise.
11017         * sysvipc/semtimedop.c (semtimedop): Likewise.
11018         * time/setitimer.c (__setitimer): Likewise.
11019         * time/strftime_l.c (emacs_strftime): Likewise.
11021 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11023         * config.make.in (have-ssp): Delete.
11024         (stack-protector): New variable.
11025         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
11026         cache test for -fstack-protector-strong.  Export stack_protector to
11027         the best ssp flag.
11028         * configure: Regenerated.
11029         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
11030         * nscd/Makefile (CFLAGS-nscd): Likewise.
11031         * resolv/Makefile (CFLAGS-libresolv): Likewise.
11033 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
11035         [BZ #19122]
11036         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
11037         attribute_hidden.
11039 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11041         [BZ #18743]
11042         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
11043         code to...
11044         (ELIDE_LOCK): ...here.
11045         (__get_new_count): New function with part of the code from
11046         __elide_lock that updates the value of adapt_count after a
11047         transaction abort.
11048         (__elided_trylock): Moved this code to...
11049         (ELIDE_TRYLOCK): ...here.
11051 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
11053         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
11054         * configure: Regenerate.
11055         * INSTALL: Regenerate.
11056         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
11057         and tweak grammar.
11059 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
11061         * login/programs/pt_chown.c: Include signal.h
11062         (main): Clear any signal mask from the parent process.
11064 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
11066         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
11067         * configure: Regenerated.
11068         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
11069         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
11070         $(gnu89-inline-CFLAGS).
11072         * configure.ac (libc_cv_asm_weak_directive): Remove configure
11073         test.
11074         (libc_cv_asm_weakext_directive): Likewise.
11075         * configure: Regenerated.
11076         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
11077         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
11078         * include/libc-symbols.h
11079         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
11080         #error.
11081         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
11082         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
11084         * sysdeps/arm/backtrace.c (__backtrace): Convert to
11085         prototype-style function definition.
11086         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
11087         * sysdeps/i386/ffs.c (__ffs): Likewise.
11088         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11089         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
11090         Likewise.
11091         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11092         Likewise.
11093         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
11094         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
11095         Likewise.
11096         * sysdeps/m68k/ffs.c (__ffs): Likewise.
11097         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
11098         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
11099         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
11100         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
11101         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
11102         * sysdeps/mach/hurd/access.c (__access): Likewise.
11103         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
11104         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
11105         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
11106         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
11107         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
11108         (cthread_getspecific): Likewise.
11109         (cthread_setspecific): Likewise.
11110         (__libc_getspecific): Likewise.
11111         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
11112         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
11113         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
11114         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
11115         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
11116         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
11117         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
11118         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
11119         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
11120         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
11121         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
11122         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
11123         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
11124         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
11125         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
11126         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
11127         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
11128         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
11129         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
11130         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
11131         * sysdeps/mach/hurd/link.c (__link): Likewise.
11132         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
11133         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
11134         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
11135         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
11136         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
11137         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
11138         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
11139         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
11140         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
11141         * sysdeps/mach/hurd/rename.c (rename): Likewise.
11142         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
11143         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
11144         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
11145         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
11146         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
11147         * sysdeps/mach/hurd/send.c (__send): Likewise.
11148         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
11149         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
11150         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
11151         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
11152         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
11153         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
11154         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
11155         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
11156         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
11157         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
11158         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
11159         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
11160         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
11161         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
11162         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
11163         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
11164         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
11165         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
11166         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
11167         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
11168         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
11169         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
11170         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
11171         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
11172         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
11173         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
11174         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
11175         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
11176         * sysdeps/posix/alarm.c (alarm): Likewise.
11177         * sysdeps/posix/cuserid.c (cuserid): Likewise.
11178         * sysdeps/posix/dirfd.c (dirfd): Likewise.
11179         * sysdeps/posix/dup.c (__dup): Likewise.
11180         * sysdeps/posix/dup2.c (__dup2): Likewise.
11181         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
11182         (main): Likewise.
11183         * sysdeps/posix/flock.c (__flock): Likewise.
11184         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
11185         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
11186         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
11187         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
11188         * sysdeps/posix/isatty.c (__isatty): Likewise.
11189         * sysdeps/posix/killpg.c (killpg): Likewise.
11190         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
11191         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
11192         * sysdeps/posix/raise.c (raise): Likewise.
11193         * sysdeps/posix/remove.c (remove): Likewise.
11194         * sysdeps/posix/rename.c (rename): Likewise.
11195         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
11196         * sysdeps/posix/seekdir.c (seekdir): Likewise.
11197         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
11198         * sysdeps/posix/sigignore.c (sigignore): Likewise.
11199         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
11200         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
11201         * sysdeps/posix/sigset.c (sigset): Likewise.
11202         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
11203         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
11204         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
11205         * sysdeps/posix/time.c (time): Likewise.
11206         * sysdeps/posix/ttyname.c (getttyname): Likewise.
11207         (ttyname): Likewise.
11208         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
11209         * sysdeps/posix/utime.c (utime): Likewise.
11210         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
11211         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
11212         Likewise.
11213         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
11214         (pthread_spin_trylock): Likewise.
11215         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
11216         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
11217         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
11218         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
11219         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
11220         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
11221         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
11222         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
11223         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
11224         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
11225         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
11226         * sysdeps/s390/ffs.c (__ffs): Likewise.
11227         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
11228         Likewise.
11229         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
11230         Likewise.
11231         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
11232         Likewise.
11233         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
11234         (pthread_barrier_destroy): Likewise.
11235         * sysdeps/sparc/nptl/pthread_barrier_wait.c
11236         (__pthread_barrier_wait): Likewise.
11237         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
11238         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
11239         (__pthread_barrier_wait): Likewise.
11240         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
11241         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
11242         (memcmp_not_common_alignment): Likewise.
11243         (MEMCMP): Likewise.
11244         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
11245         (_wordcopy_fwd_dest_aligned): Likewise.
11246         (_wordcopy_bwd_aligned): Likewise.
11247         (_wordcopy_bwd_dest_aligned): Likewise.
11248         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
11249         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
11250         * sysdeps/unix/bsd/stty.c (stty): Likewise.
11251         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
11252         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
11253         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
11254         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
11255         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
11256         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
11257         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
11258         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
11259         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
11260         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
11261         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
11262         * sysdeps/unix/stime.c (stime): Likewise.
11263         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
11264         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
11265         Likewise.  Use internal_function.
11266         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
11267         Convert to prototype-style function definition.
11268         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
11269         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
11270         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
11271         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11272         Likewise.  Use internal_function.
11273         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
11274         prototype-style function definition
11275         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
11276         Likewise.
11277         (__getlogin_r): Likewise.
11278         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
11279         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
11280         (__pthread_cond_broadcast): Likewise.
11281         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
11282         (__pthread_cond_destroy): Likewise.
11283         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
11284         (__pthread_cond_init): Likewise.
11285         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
11286         (__pthread_cond_signal): Likewise.
11287         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
11288         (__pthread_cond_wait): Likewise.
11289         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
11290         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
11291         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
11292         Likewise.
11293         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
11294         Likewise.
11295         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
11296         Likewise.
11297         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
11298         Likewise.
11299         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
11300         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
11301         (__ftruncate64): Likewise.
11302         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
11303         (truncate64): Likewise.
11304         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
11305         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
11306         (pthread_getcpuclockid): Likewise.
11307         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
11308         Likewise.
11309         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
11310         Likewise.
11311         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
11312         Likewise.
11313         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11314         Likewise.
11315         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
11316         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
11317         (__libc_sigaction): Likewise.
11318         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
11319         Likewise.
11320         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
11321         (__sigprocmask): Likewise.
11322         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
11323         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
11324         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
11325         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
11326         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11327         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
11328         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11329         Likewise.
11330         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
11331         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
11332         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11333         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
11334         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
11335         Likewise.
11336         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
11337         (__sigprocmask): Likewise.
11338         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
11339         (cfgetispeed): Likewise.
11340         (cfsetospeed): Likewise.
11341         (cfsetispeed): Likewise.
11342         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
11343         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
11344         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
11345         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
11346         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
11347         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
11348         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
11349         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
11350         Likewise.
11351         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
11352         Likewise.
11353         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
11354         Likewise.
11355         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
11356         Likewise.
11357         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
11359 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11361         sunrpc: Rewrite with explicit TLS access using __thread.
11362         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
11363         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
11364         directly.
11365         (__rpc_thread_variables): Access thread_rpc_vars directly.
11366         Eliminate redundant assignment of the tvp variable.
11368 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11370         malloc: Rewrite with explicit TLS access using __thread.
11371         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
11372         (tsd_setspecific, tsd_getspecific): Remove.
11373         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
11374         (tsd_setspecific, tsd_getspecific): Likewise.
11375         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
11376         (tsd_setspecific, tsd_getspecific): Likewise.
11377         * malloc/arena.c (thread_arena): New TLS variable.
11378         (arena_key): Remove variable.
11379         (arena_get): Use thread_arena.
11380         (arena_lookup): Remove macro.
11381         (malloc_atfork, free_atfork, ptmalloc_lock_all)
11382         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
11383         (_int_new_arena, get_free_list, reused_arena)
11384         (arena_thread_freeres): Use thread_arena.
11385         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
11386         tsd_getspecific, tsd_setspecific from safety annotations.
11387         (Allocating Cleared Space): Remove arena_lookup from safety
11388         annotations.
11390 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11392         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
11393         struct scratch_buffer instead of extend_alloca.
11395 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11397         * sysdeps/unix/sysv/linux/kernel-features.h
11398         (__ASSUME_SOCK_CLOEXEC): Remove.
11399         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
11400         (__have_paccept): Remove unused macro.
11401         * include/unistd.h (__have_sock_cloexec): Remove declaration.
11402         * misc/syslog.c (openlog_internal): Remove fallback code for
11403         !__ASSUME_SOCK_CLOEXEC.
11404         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
11405         missing SOCK_CLOEXEC.
11406         * nscd/connections.c (have_sock_cloexec): Remove definition.
11407         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11408         * nscd/nscd_helper.c (open_socket): Remove fallback code for
11409         !__ASSUME_SOCK_CLOEXEC.
11410         * resolv/res_send.c (__have_o_nonblock): Remove definition.
11411         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
11412         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
11413         definition.
11414         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
11415         code for !__ASSUME_SOCK_CLOEXEC.
11417 2015-10-17  Florian Weimer  <fweimer@redhat.com>
11419         [BZ #18982]
11420         * manual/stdio.texi (Variable Arguments Output): Add portability
11421         note, explaining that vfprintf clobbers the va_list pointer.
11423 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11425         * math/libm-test.inc (fabs_test_data): Add more tests.
11426         (fdim_test_data): Likewise.
11427         (fma_test_data): Likewise.
11428         (fmax_test_data): Likewise.
11429         (fmin_test_data): Likewise.
11430         (fmod_test_data): Likewise.
11432 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
11434         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
11435         data.
11437 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
11439         * math/libm-test.inc (ceil_test_data): Add more tests and more
11440         expectations for "inexact".
11441         (floor_test_data): Add more tests.
11442         (round_test_data): Likewise.
11443         (trunc_test_data): Likewise.
11445         * crypt/cert.c (good_bye): Convert to prototype-style function
11446         definition.
11447         (get8): Likewise.
11448         (put8): Likewise.
11449         * crypt/crypt-entry.c (crypt): Likewise.
11450         (__fcrypt): Likewise.
11451         * crypt/crypt_util.c (_ufc_prbits): Likewise.
11452         (_ufc_set_bits): Likewise.
11453         (_ufc_clearmem): Likewise.
11454         (__init_des_r): Likewise.
11455         (shuffle_sb): Likewise.
11456         (shuffle_sb): Likewise.
11457         (_ufc_setup_salt_r): Likewise.
11458         (_ufc_mk_keytab_r): Likewise.
11459         (_ufc_dofinalperm_r): Likewise.
11460         (encrypt): Likewise.
11461         (__setkey_r): Likewise.
11462         (setkey): Likewise.
11463         * crypt/md5.c (md5_init_ctx): Likewise.
11464         (md5_read_ctx): Likewise.
11465         (md5_finish_ctx): Likewise.
11466         (md5_stream): Likewise.
11467         (md5_buffer): Likewise.
11468         (md5_process_bytes): Likewise.
11469         * crypt/sha256.c (__sha256_init_ctx): Likewise.
11470         (__sha256_finish_ctx): Likewise.
11471         (__sha256_process_bytes): Likewise.
11472         * crypt/sha512.c (__sha512_init_ctx): Likewise.
11473         (__sha512_finish_ctx): Likewise.
11474         (__sha512_process_bytes): Likewise.
11475         * ctype/isctype.c (__isctype): Likewise.
11476         * debug/backtrace.c (__backtrace): Likewise.
11477         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
11478         * debug/fgets_chk.c (__fgets_chk): Likewise.
11479         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
11480         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
11481         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
11482         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
11483         * debug/memset_chk.c (__memset_chk): Likewise.
11484         * debug/strcat_chk.c (__strcat_chk): Likewise.
11485         * debug/strncat_chk.c (__strncat_chk): Likewise.
11486         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
11487         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
11488         * dirent/dirfd.c (dirfd): Likewise.
11489         * dirent/getdents.c (__getdirentries): Likewise.
11490         * dirent/getdents64.c (getdirentries64): Likewise.
11491         * dirent/rewinddir.c (__rewinddir): Likewise.
11492         * dirent/seekdir.c (seekdir): Likewise.
11493         * dirent/telldir.c (telldir): Likewise.
11494         * elf/sln.c (makesymlinks): Likewise.
11495         (makesymlink): Likewise.
11496         * gmon/gmon.c (__moncontrol): Likewise.
11497         (__monstartup): Likewise.
11498         (write_hist): Likewise.
11499         (write_call_graph): Likewise.
11500         (write_bb_counts): Likewise.
11501         * grp/setgroups.c (setgroups): Likewise.
11502         * inet/inet_lnaof.c (inet_lnaof): Likewise.
11503         * inet/inet_net.c (inet_network): Likewise.
11504         * inet/inet_netof.c (inet_netof): Likewise.
11505         * inet/rcmd.c (rresvport_af): Likewise.
11506         (rresvport): Likewise.
11507         * io/access.c (__access): Likewise.
11508         * io/chdir.c (__chdir): Likewise.
11509         * io/chmod.c (__chmod): Likewise.
11510         * io/chown.c (__chown): Likewise.
11511         * io/close.c (__close): Likewise.
11512         * io/creat.c (creat): Likewise.
11513         * io/creat64.c (creat64): Likewise.
11514         * io/dup.c (__dup): Likewise.
11515         * io/dup2.c (__dup2): Likewise.
11516         * io/dup3.c (__dup3): Likewise.
11517         * io/euidaccess.c (__euidaccess): Likewise.
11518         * io/faccessat.c (faccessat): Likewise.
11519         * io/fchmod.c (__fchmod): Likewise.
11520         * io/fchmodat.c (fchmodat): Likewise.
11521         * io/fchown.c (__fchown): Likewise.
11522         * io/fchownat.c (fchownat): Likewise.
11523         * io/fcntl.c (__fcntl): Likewise.
11524         * io/flock.c (__flock): Likewise.
11525         * io/fts.c (fts_load): Likewise.
11526         (fts_close): Likewise.
11527         (fts_read): Likewise.
11528         (fts_set): Likewise.
11529         (fts_children): Likewise.
11530         (fts_build): Likewise.
11531         (fts_stat): Likewise.
11532         (fts_sort): Likewise.
11533         (fts_alloc): Likewise.
11534         (fts_lfree): Likewise.
11535         (fts_palloc): Likewise.
11536         (fts_padjust): Likewise.
11537         (fts_maxarglen): Likewise.
11538         (fts_safe_changedir): Likewise.
11539         * io/getwd.c (getwd): Likewise.
11540         * io/isatty.c (__isatty): Likewise.
11541         * io/lchown.c (__lchown): Likewise.
11542         * io/link.c (__link): Likewise.
11543         * io/linkat.c (linkat): Likewise.
11544         * io/lseek.c (__libc_lseek): Likewise.
11545         * io/mkdir.c (__mkdir): Likewise.
11546         * io/mkdirat.c (mkdirat): Likewise.
11547         * io/mkfifo.c (mkfifo): Likewise.
11548         * io/mkfifoat.c (mkfifoat): Likewise.
11549         * io/open.c (__libc_open): Likewise.
11550         * io/open64.c (__libc_open64): Likewise.
11551         * io/readlink.c (__readlink): Likewise.
11552         * io/readlinkat.c (readlinkat): Likewise.
11553         * io/rmdir.c (__rmdir): Likewise.
11554         * io/symlink.c (__symlink): Likewise.
11555         * io/symlinkat.c (symlinkat): Likewise.
11556         * io/ttyname.c (ttyname): Likewise.
11557         * io/ttyname_r.c (__ttyname_r): Likewise.
11558         * io/umask.c (__umask): Likewise.
11559         * io/unlink.c (__unlink): Likewise.
11560         * io/unlinkat.c (unlinkat): Likewise.
11561         * io/utime.c (utime): Likewise.
11562         * libio/clearerr.c (clearerr): Likewise.
11563         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
11564         * libio/feof.c (_IO_feof): Likewise.
11565         * libio/feof_u.c (feof_unlocked): Likewise.
11566         * libio/ferror.c (_IO_ferror): Likewise.
11567         * libio/ferror_u.c (ferror_unlocked): Likewise.
11568         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
11569         * libio/fileno.c (__fileno): Likewise.
11570         * libio/fputc.c (fputc): Likewise.
11571         * libio/fputc_u.c (fputc_unlocked): Likewise.
11572         * libio/fputwc.c (fputwc): Likewise.
11573         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
11574         * libio/freopen.c (freopen): Likewise.
11575         * libio/freopen64.c (freopen64): Likewise.
11576         * libio/fseek.c (fseek): Likewise.
11577         * libio/fseeko.c (fseeko): Likewise.
11578         * libio/fseeko64.c (fseeko64): Likewise.
11579         * libio/ftello.c (__ftello): Likewise.
11580         * libio/ftello64.c (ftello64): Likewise.
11581         * libio/fwide.c (fwide): Likewise.
11582         * libio/genops.c (_IO_un_link): Likewise.
11583         (_IO_link_in): Likewise.
11584         (_IO_least_marker): Likewise.
11585         (_IO_switch_to_main_get_area): Likewise.
11586         (_IO_switch_to_backup_area): Likewise.
11587         (_IO_switch_to_get_mode): Likewise.
11588         (_IO_free_backup_area): Likewise.
11589         (_IO_switch_to_put_mode): Likewise.
11590         (__overflow): Likewise.
11591         (__underflow): Likewise.
11592         (__uflow): Likewise.
11593         (_IO_setb): Likewise.
11594         (_IO_doallocbuf): Likewise.
11595         (_IO_default_underflow): Likewise.
11596         (_IO_default_uflow): Likewise.
11597         (_IO_default_xsputn): Likewise.
11598         (_IO_sgetn): Likewise.
11599         (_IO_default_xsgetn): Likewise.
11600         (_IO_sync): Likewise.
11601         (_IO_default_setbuf): Likewise.
11602         (_IO_default_seekpos): Likewise.
11603         (_IO_default_doallocate): Likewise.
11604         (_IO_init): Likewise.
11605         (_IO_old_init): Likewise.
11606         (_IO_default_sync): Likewise.
11607         (_IO_default_finish): Likewise.
11608         (_IO_default_seekoff): Likewise.
11609         (_IO_sputbackc): Likewise.
11610         (_IO_sungetc): Likewise.
11611         (_IO_set_column): Likewise.
11612         (_IO_set_column): Likewise.
11613         (_IO_adjust_column): Likewise.
11614         (_IO_get_column): Likewise.
11615         (_IO_init_marker): Likewise.
11616         (_IO_remove_marker): Likewise.
11617         (_IO_marker_difference): Likewise.
11618         (_IO_marker_delta): Likewise.
11619         (_IO_seekmark): Likewise.
11620         (_IO_unsave_markers): Likewise.
11621         (_IO_nobackup_pbackfail): Likewise.
11622         (_IO_default_pbackfail): Likewise.
11623         (_IO_default_seek): Likewise.
11624         (_IO_default_stat): Likewise.
11625         (_IO_default_read): Likewise.
11626         (_IO_default_write): Likewise.
11627         (_IO_default_showmanyc): Likewise.
11628         (_IO_default_imbue): Likewise.
11629         (_IO_iter_next): Likewise.
11630         (_IO_iter_file): Likewise.
11631         * libio/getc.c (_IO_getc): Likewise.
11632         * libio/getwc.c (_IO_getwc): Likewise.
11633         * libio/iofclose.c (_IO_new_fclose): Likewise.
11634         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
11635         * libio/iofflush.c (_IO_fflush): Likewise.
11636         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
11637         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
11638         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
11639         * libio/iofgets.c (_IO_fgets): Likewise.
11640         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
11641         * libio/iofgetws.c (fgetws): Likewise.
11642         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
11643         * libio/iofopen64.c (_IO_fopen64): Likewise.
11644         * libio/iofopncook.c (_IO_cookie_read): Likewise.
11645         (_IO_cookie_write): Likewise.
11646         (_IO_cookie_seek): Likewise.
11647         (_IO_cookie_close): Likewise.
11648         (_IO_cookie_seekoff): Likewise.
11649         (_IO_old_cookie_seek): Likewise.
11650         * libio/iofputs.c (_IO_fputs): Likewise.
11651         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
11652         * libio/iofputws.c (fputws): Likewise.
11653         * libio/iofputws_u.c (fputws_unlocked): Likewise.
11654         * libio/iofread.c (_IO_fread): Likewise.
11655         * libio/iofread_u.c (__fread_unlocked): Likewise.
11656         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
11657         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
11658         * libio/ioftell.c (_IO_ftell): Likewise.
11659         * libio/iofwrite.c (_IO_fwrite): Likewise.
11660         * libio/iogetdelim.c (_IO_getdelim): Likewise.
11661         * libio/iogets.c (_IO_gets): Likewise.
11662         * libio/iopadn.c (_IO_padn): Likewise.
11663         * libio/iopopen.c (_IO_new_proc_open): Likewise.
11664         (_IO_new_popen): Likewise.
11665         (_IO_new_proc_close): Likewise.
11666         * libio/ioputs.c (_IO_puts): Likewise.
11667         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
11668         (_IO_seekoff): Likewise.
11669         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
11670         (_IO_seekpos): Likewise.
11671         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
11672         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
11673         * libio/ioungetc.c (_IO_ungetc): Likewise.
11674         * libio/ioungetwc.c (ungetwc): Likewise.
11675         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
11676         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
11677         * libio/iowpadn.c (_IO_wpadn): Likewise.
11678         * libio/libc_fatal.c (__libc_fatal): Likewise.
11679         * libio/memstream.c (__open_memstream): Likewise.
11680         (_IO_mem_sync): Likewise.
11681         (_IO_mem_finish): Likewise.
11682         * libio/oldfileops.c (_IO_old_file_init): Likewise.
11683         (_IO_old_file_close_it): Likewise.
11684         (_IO_old_file_finish): Likewise.
11685         (_IO_old_file_fopen): Likewise.
11686         (_IO_old_file_attach): Likewise.
11687         (_IO_old_file_setbuf): Likewise.
11688         (_IO_old_do_write): Likewise.
11689         (old_do_write): Likewise.
11690         (_IO_old_file_underflow): Likewise.
11691         (_IO_old_file_overflow): Likewise.
11692         (_IO_old_file_sync): Likewise.
11693         (_IO_old_file_seekoff): Likewise.
11694         (_IO_old_file_write): Likewise.
11695         (_IO_old_file_xsputn): Likewise.
11696         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
11697         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
11698         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
11699         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
11700         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
11701         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
11702         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
11703         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
11704         (_IO_old_popen): Likewise.
11705         (_IO_old_proc_close): Likewise.
11706         * libio/oldpclose.c (__old_pclose): Likewise.
11707         * libio/pclose.c (__new_pclose): Likewise.
11708         * libio/peekc.c (_IO_peekc_locked): Likewise.
11709         * libio/putc.c (_IO_putc): Likewise.
11710         * libio/putc_u.c (putc_unlocked): Likewise.
11711         * libio/putchar.c (putchar): Likewise.
11712         * libio/putchar_u.c (putchar_unlocked): Likewise.
11713         * libio/putwc.c (putwc): Likewise.
11714         * libio/putwc_u.c (putwc_unlocked): Likewise.
11715         * libio/putwchar.c (putwchar): Likewise.
11716         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
11717         * libio/rewind.c (rewind): Likewise.
11718         * libio/setbuf.c (setbuf): Likewise.
11719         * libio/setlinebuf.c (setlinebuf): Likewise.
11720         * libio/vasprintf.c (_IO_vasprintf): Likewise.
11721         * libio/vscanf.c (_IO_vscanf): Likewise.
11722         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
11723         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
11724         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
11725         * libio/wgenops.c (_IO_least_wmarker): Likewise.
11726         (_IO_switch_to_main_wget_area): Likewise.
11727         (_IO_switch_to_wbackup_area): Likewise.
11728         (_IO_wsetb): Likewise.
11729         (_IO_wdefault_pbackfail): Likewise.
11730         (_IO_wdefault_finish): Likewise.
11731         (_IO_wdefault_uflow): Likewise.
11732         (__woverflow): Likewise.
11733         (__wuflow): Likewise.
11734         (__wunderflow): Likewise.
11735         (_IO_wdefault_xsputn): Likewise.
11736         (_IO_wdefault_xsgetn): Likewise.
11737         (_IO_wdoallocbuf): Likewise.
11738         (_IO_wdefault_doallocate): Likewise.
11739         (_IO_switch_to_wget_mode): Likewise.
11740         (_IO_free_wbackup_area): Likewise.
11741         (_IO_switch_to_wput_mode): Likewise.
11742         (_IO_sputbackwc): Likewise.
11743         (_IO_sungetwc): Likewise.
11744         (_IO_adjust_wcolumn): Likewise.
11745         (_IO_init_wmarker): Likewise.
11746         (_IO_wmarker_delta): Likewise.
11747         (_IO_seekwmark): Likewise.
11748         (_IO_unsave_wmarkers): Likewise.
11749         * libio/wmemstream.c (open_wmemstream): Likewise.
11750         (_IO_wmem_sync): Likewise.
11751         (_IO_wmem_finish): Likewise.
11752         * locale/nl_langinfo.c (nl_langinfo): Likewise.
11753         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
11754         * locale/programs/simple-hash.c (init_hash): Likewise.
11755         (delete_hash): Likewise.
11756         (insert_entry): Likewise.
11757         (set_entry): Likewise.
11758         (next_prime): Likewise.
11759         (is_prime): Likewise.
11760         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
11761         (xmalloc): Likewise.
11762         (xrealloc): Likewise.
11763         * locale/programs/xstrdup.c (xstrdup): Likewise.
11764         * localedata/collate-test.c (xstrcoll): Likewise.
11765         * localedata/xfrm-test.c (xstrcmp): Likewise.
11766         * login/getlogin_r.c (__getlogin_r): Likewise.
11767         * login/getpt.c (__posix_openpt): Likewise.
11768         * login/login_tty.c (login_tty): Likewise.
11769         * login/setlogin.c (setlogin): Likewise.
11770         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
11771         (mach_msg_destroy_port): Likewise.
11772         (mach_msg_destroy_memory): Likewise.
11773         * malloc/mcheck.c (flood): Likewise.
11774         * misc/acct.c (acct): Likewise.
11775         * misc/brk.c (__brk): Likewise.
11776         * misc/chflags.c (chflags): Likewise.
11777         * misc/chroot.c (chroot): Likewise.
11778         * misc/fchflags.c (fchflags): Likewise.
11779         * misc/fstab.c (getfsspec): Likewise.
11780         (getfsfile): Likewise.
11781         * misc/fsync.c (fsync): Likewise.
11782         * misc/ftruncate.c (__ftruncate): Likewise.
11783         * misc/ftruncate64.c (__ftruncate64): Likewise.
11784         * misc/getdomain.c (getdomainname): Likewise.
11785         (getdomainname): Likewise.
11786         * misc/gethostname.c (__gethostname): Likewise.
11787         * misc/getpass.c (getpass): Likewise.
11788         * misc/getttyent.c (skip): Likewise.
11789         (value): Likewise.
11790         * misc/gtty.c (gtty): Likewise.
11791         * misc/hsearch.c (hsearch): Likewise.
11792         (hcreate): Likewise.
11793         * misc/hsearch_r.c (__hcreate_r): Likewise.
11794         (__hdestroy_r): Likewise.
11795         * misc/ioctl.c (__ioctl): Likewise.
11796         * misc/mkdtemp.c (mkdtemp): Likewise.
11797         * misc/mkostemp.c (mkostemp): Likewise.
11798         * misc/mkostemp64.c (mkostemp64): Likewise.
11799         * misc/mkostemps.c (mkostemps): Likewise.
11800         * misc/mkostemps64.c (mkostemps64): Likewise.
11801         * misc/mkstemp.c (mkstemp): Likewise.
11802         * misc/mkstemp64.c (mkstemp64): Likewise.
11803         * misc/mkstemps.c (mkstemps): Likewise.
11804         * misc/mkstemps64.c (mkstemps64): Likewise.
11805         * misc/mktemp.c (__mktemp): Likewise.
11806         * misc/preadv.c (preadv): Likewise.
11807         * misc/preadv64.c (preadv64): Likewise.
11808         * misc/pwritev.c (pwritev): Likewise.
11809         * misc/pwritev64.c (pwritev64): Likewise.
11810         * misc/readv.c (__readv): Likewise.
11811         * misc/revoke.c (revoke): Likewise.
11812         * misc/setdomain.c (setdomainname): Likewise.
11813         * misc/setegid.c (setegid): Likewise.
11814         * misc/seteuid.c (seteuid): Likewise.
11815         * misc/sethostid.c (sethostid): Likewise.
11816         * misc/sethostname.c (sethostname): Likewise.
11817         * misc/setregid.c (__setregid): Likewise.
11818         * misc/setreuid.c (__setreuid): Likewise.
11819         * misc/sstk.c (sstk): Likewise.
11820         * misc/stty.c (stty): Likewise.
11821         * misc/syscall.c (syscall): Likewise.
11822         * misc/syslog.c (setlogmask): Likewise.
11823         * misc/truncate.c (__truncate): Likewise.
11824         * misc/truncate64.c (truncate64): Likewise.
11825         * misc/ualarm.c (ualarm): Likewise.
11826         * misc/usleep.c (usleep): Likewise.
11827         * misc/ustat.c (ustat): Likewise.
11828         * misc/writev.c (__writev): Likewise.
11829         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
11830         * nptl/old_pthread_cond_broadcast.c
11831         (__pthread_cond_broadcast_2_0): Likewise.
11832         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
11833         Likewise.
11834         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
11835         Likewise.
11836         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
11837         Likewise.
11838         * nptl/pt-raise.c (raise): Likewise.
11839         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
11840         Likewise.
11841         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
11842         * nptl/pthread_barrierattr_destroy.c
11843         (pthread_barrierattr_destroy): Likewise.
11844         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
11845         Likewise.
11846         * nptl/pthread_barrierattr_setpshared.c
11847         (pthread_barrierattr_setpshared): Likewise.
11848         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11849         Likewise.
11850         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
11851         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
11852         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
11853         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
11854         Likewise.
11855         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
11856         Likewise.
11857         * nptl/pthread_condattr_getpshared.c
11858         (pthread_condattr_getpshared): Likewise.
11859         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
11860         Likewise.
11861         * nptl/pthread_condattr_setpshared.c
11862         (pthread_condattr_setpshared): Likewise.
11863         * nptl/pthread_detach.c (pthread_detach): Likewise.
11864         * nptl/pthread_equal.c (__pthread_equal): Likewise.
11865         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
11866         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
11867         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
11868         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
11869         Likewise.
11870         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
11871         Likewise.
11872         * nptl/pthread_mutex_getprioceiling.c
11873         (pthread_mutex_getprioceiling): Likewise.
11874         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
11875         Likewise.
11876         * nptl/pthread_mutexattr_getprotocol.c
11877         (pthread_mutexattr_getprotocol): Likewise.
11878         * nptl/pthread_mutexattr_getpshared.c
11879         (pthread_mutexattr_getpshared): Likewise.
11880         * nptl/pthread_mutexattr_getrobust.c
11881         (pthread_mutexattr_getrobust): Likewise.
11882         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
11883         Likewise.
11884         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
11885         Likewise.
11886         * nptl/pthread_mutexattr_setprioceiling.c
11887         (pthread_mutexattr_setprioceiling): Likewise.
11888         * nptl/pthread_mutexattr_setprotocol.c
11889         (pthread_mutexattr_setprotocol): Likewise.
11890         * nptl/pthread_mutexattr_setpshared.c
11891         (pthread_mutexattr_setpshared): Likewise.
11892         * nptl/pthread_mutexattr_setrobust.c
11893         (pthread_mutexattr_setrobust): Likewise.
11894         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
11895         Likewise.
11896         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
11897         Likewise.
11898         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
11899         Likewise.
11900         * nptl/pthread_rwlockattr_getkind_np.c
11901         (pthread_rwlockattr_getkind_np): Likewise.
11902         * nptl/pthread_rwlockattr_getpshared.c
11903         (pthread_rwlockattr_getpshared): Likewise.
11904         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
11905         Likewise.
11906         * nptl/pthread_rwlockattr_setkind_np.c
11907         (pthread_rwlockattr_setkind_np): Likewise.
11908         * nptl/pthread_rwlockattr_setpshared.c
11909         (pthread_rwlockattr_setpshared): Likewise.
11910         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
11911         Likewise.
11912         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
11913         Likewise.
11914         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
11915         Likewise.
11916         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
11917         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
11918         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
11919         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
11920         * nptl/sem_close.c (sem_close): Likewise.
11921         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
11922         * nptl/sem_init.c (__old_sem_init): Likewise.
11923         * nptl/sigaction.c (__sigaction): Likewise.
11924         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
11925         * posix/_exit.c (_exit): Likewise.
11926         * posix/alarm.c (alarm): Likewise.
11927         * posix/confstr.c (confstr): Likewise.
11928         * posix/fpathconf.c (__fpathconf): Likewise.
11929         * posix/getgroups.c (__getgroups): Likewise.
11930         * posix/getpgid.c (__getpgid): Likewise.
11931         * posix/group_member.c (__group_member): Likewise.
11932         * posix/pathconf.c (__pathconf): Likewise.
11933         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
11934         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
11935         * posix/setgid.c (__setgid): Likewise.
11936         * posix/setpgid.c (__setpgid): Likewise.
11937         * posix/setuid.c (__setuid): Likewise.
11938         * posix/sleep.c (__sleep): Likewise.
11939         * posix/sysconf.c (__sysconf): Likewise.
11940         * posix/times.c (__times): Likewise.
11941         * posix/uname.c (__uname): Likewise.
11942         * posix/waitid.c (__waitid): Likewise.
11943         * pwd/getpw.c (__getpw): Likewise.
11944         * resolv/base64.c (b64_pton): Likewise.
11945         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
11946         * resolv/gethnamaddr.c (Dprintf): Likewise.
11947         (gethostbyname): Likewise.
11948         (gethostbyname2): Likewise.
11949         (gethostbyaddr): Likewise.
11950         (_sethtent): Likewise.
11951         (_gethtbyname): Likewise.
11952         (_gethtbyname2): Likewise.
11953         (_gethtbyaddr): Likewise.
11954         (map_v4v6_address): Likewise.
11955         (map_v4v6_hostent): Likewise.
11956         (addrsort): Likewise.
11957         (ht_sethostent): Likewise.
11958         (ht_gethostbyname): Likewise.
11959         (ht_gethostbyaddr): Likewise.
11960         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
11961         (inet_net_ntop_ipv4): Likewise.
11962         * resolv/inet_neta.c (inet_neta): Likewise.
11963         * resolv/inet_ntop.c (inet_ntop): Likewise.
11964         (inet_ntop4): Likewise.
11965         (inet_ntop6): Likewise.
11966         * resolv/inet_pton.c (__inet_pton): Likewise.
11967         (inet_pton4): Likewise.
11968         (inet_pton6): Likewise.
11969         * resolv/res_debug.c (loc_aton): Likewise.
11970         (loc_ntoa): Likewise.
11971         * resource/getpriority.c (__getpriority): Likewise.
11972         * resource/getrusage.c (__getrusage): Likewise.
11973         * resource/nice.c (nice): Likewise.
11974         * resource/setpriority.c (__setpriority): Likewise.
11975         * resource/setrlimit64.c (setrlimit64): Likewise.
11976         * resource/vlimit.c (vlimit): Likewise.
11977         * resource/vtimes.c (vtimes): Likewise.
11978         * rt/aio_error.c (aio_error): Likewise.
11979         * rt/aio_return.c (aio_return): Likewise.
11980         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
11981         * signal/kill.c (__kill): Likewise.
11982         * signal/killpg.c (killpg): Likewise.
11983         * signal/raise.c (raise): Likewise.
11984         * signal/sigaction.c (__sigaction): Likewise.
11985         * signal/sigaddset.c (sigaddset): Likewise.
11986         * signal/sigaltstack.c (sigaltstack): Likewise.
11987         * signal/sigandset.c (sigandset): Likewise.
11988         * signal/sigblock.c (__sigblock): Likewise.
11989         * signal/sigdelset.c (sigdelset): Likewise.
11990         * signal/sigempty.c (sigemptyset): Likewise.
11991         * signal/sigfillset.c (sigfillset): Likewise.
11992         * signal/sighold.c (sighold): Likewise.
11993         * signal/sigignore.c (sigignore): Likewise.
11994         * signal/sigintr.c (siginterrupt): Likewise.
11995         * signal/sigisempty.c (sigisemptyset): Likewise.
11996         * signal/sigismem.c (sigismember): Likewise.
11997         * signal/signal.c (signal): Likewise.
11998         * signal/sigorset.c (sigorset): Likewise.
11999         * signal/sigpause.c (__sigpause): Likewise.
12000         * signal/sigpending.c (sigpending): Likewise.
12001         * signal/sigprocmask.c (__sigprocmask): Likewise.
12002         * signal/sigrelse.c (sigrelse): Likewise.
12003         * signal/sigreturn.c (__sigreturn): Likewise.
12004         * signal/sigset.c (sigset): Likewise.
12005         * signal/sigsetmask.c (__sigsetmask): Likewise.
12006         * signal/sigstack.c (sigstack): Likewise.
12007         * signal/sigsuspend.c (__sigsuspend): Likewise.
12008         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
12009         * signal/sysv_signal.c (__sysv_signal): Likewise.
12010         * socket/accept.c (accept): Likewise.
12011         * socket/accept4.c (__libc_accept4): Likewise.
12012         * socket/bind.c (__bind): Likewise.
12013         * socket/connect.c (__connect): Likewise.
12014         * socket/getpeername.c (getpeername): Likewise.
12015         * socket/getsockname.c (__getsockname): Likewise.
12016         * socket/getsockopt.c (getsockopt): Likewise.
12017         * socket/listen.c (__listen): Likewise.
12018         * socket/recv.c (__recv): Likewise.
12019         * socket/recvmsg.c (__recvmsg): Likewise.
12020         * socket/send.c (__send): Likewise.
12021         * socket/sendmsg.c (__sendmsg): Likewise.
12022         * socket/shutdown.c (shutdown): Likewise.
12023         * socket/sockatmark.c (sockatmark): Likewise.
12024         * socket/socket.c (__socket): Likewise.
12025         * stdio-common/ctermid.c (ctermid): Likewise.
12026         * stdio-common/cuserid.c (cuserid): Likewise.
12027         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
12028         * stdio-common/remove.c (remove): Likewise.
12029         * stdio-common/rename.c (rename): Likewise.
12030         * stdio-common/renameat.c (renameat): Likewise.
12031         * stdio-common/tempname.c (__gen_tempname): Likewise.
12032         * stdio-common/xbug.c (InitBuffer): Likewise.
12033         (AppendToBuffer): Likewise.
12034         (ReadFile): Likewise.
12035         * stdlib/a64l.c (a64l): Likewise.
12036         * stdlib/drand48_r.c (drand48_r): Likewise.
12037         * stdlib/getcontext.c (getcontext): Likewise.
12038         * stdlib/getenv.c (getenv): Likewise.
12039         * stdlib/l64a.c (l64a): Likewise.
12040         * stdlib/llabs.c (llabs): Likewise.
12041         * stdlib/lldiv.c (lldiv): Likewise.
12042         * stdlib/lrand48_r.c (lrand48_r): Likewise.
12043         * stdlib/mrand48_r.c (mrand48_r): Likewise.
12044         * stdlib/putenv.c (putenv): Likewise.
12045         * stdlib/random.c (__srandom): Likewise.
12046         (__initstate): Likewise.
12047         (__setstate): Likewise.
12048         * stdlib/random_r.c (__srandom_r): Likewise.
12049         (__setstate_r): Likewise.
12050         (__random_r): Likewise.
12051         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
12052         * stdlib/setcontext.c (setcontext): Likewise.
12053         * stdlib/setenv.c (setenv): Likewise.
12054         (unsetenv): Likewise.
12055         * stdlib/srand48.c (srand48): Likewise.
12056         * stdlib/srand48_r.c (__srand48_r): Likewise.
12057         * stdlib/swapcontext.c (swapcontext): Likewise.
12058         * stdlib/system.c (__libc_system): Likewise.
12059         * stdlib/tst-strtod.c (expand): Likewise.
12060         * stdlib/tst-strtol.c (expand): Likewise.
12061         * stdlib/tst-strtoll.c (expand): Likewise.
12062         * streams/fattach.c (fattach): Likewise.
12063         * streams/fdetach.c (fdetach): Likewise.
12064         * streams/getmsg.c (getmsg): Likewise.
12065         * streams/isastream.c (isastream): Likewise.
12066         * string/ffs.c (__ffs): Likewise.
12067         * string/ffsll.c (ffsll): Likewise.
12068         * string/memcmp.c (memcmp_common_alignment): Likewise.
12069         (memcmp_not_common_alignment): Likewise.
12070         (MEMCMP): Likewise.
12071         * string/memcpy.c (memcpy): Likewise.
12072         * string/memmove.c (MEMMOVE): Likewise.
12073         * string/memset.c (memset): Likewise.
12074         * string/rawmemchr.c (RAWMEMCHR): Likewise.
12075         * string/strchrnul.c (STRCHRNUL): Likewise.
12076         * string/strerror.c (strerror): Likewise.
12077         * string/strndup.c (__strndup): Likewise.
12078         * string/strverscmp.c (__strverscmp): Likewise.
12079         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
12080         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
12081         (clnttcp_freeres): Likewise.
12082         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
12083         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
12084         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
12085         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
12086         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
12087         (xdr_callhdr): Likewise.
12088         * sunrpc/rpcinfo.c (udpping): Likewise.
12089         (tcpping): Likewise.
12090         (pstatus): Likewise.
12091         (pmapdump): Likewise.
12092         (brdcst): Likewise.
12093         (deletereg): Likewise.
12094         (getprognum): Likewise.
12095         (getvers): Likewise.
12096         (get_inet_address): Likewise.
12097         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
12098         * sunrpc/svc_udp.c (svcudp_create): Likewise.
12099         (svcudp_stat): Likewise.
12100         (svcudp_recv): Likewise.
12101         (svcudp_reply): Likewise.
12102         (svcudp_getargs): Likewise.
12103         (svcudp_freeargs): Likewise.
12104         (svcudp_destroy): Likewise.
12105         * sunrpc/xdr.c (xdr_bytes): Likewise.
12106         (xdr_netobj): Likewise.
12107         (xdr_string): Likewise.
12108         (xdr_wrapstring): Likewise.
12109         * sunrpc/xdr_float.c (xdr_float): Likewise.
12110         (xdr_double): Likewise.
12111         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
12112         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
12113         * sysvipc/ftok.c (ftok): Likewise.
12114         * sysvipc/msgctl.c (msgctl): Likewise.
12115         * sysvipc/msgget.c (msgget): Likewise.
12116         * sysvipc/msgrcv.c (msgrcv): Likewise.
12117         * sysvipc/msgsnd.c (msgsnd): Likewise.
12118         * sysvipc/semget.c (semget): Likewise.
12119         * sysvipc/semop.c (semop): Likewise.
12120         * sysvipc/shmat.c (shmat): Likewise.
12121         * sysvipc/shmctl.c (shmctl): Likewise.
12122         * sysvipc/shmdt.c (shmdt): Likewise.
12123         * sysvipc/shmget.c (shmget): Likewise.
12124         * termios/cfmakeraw.c (cfmakeraw): Likewise.
12125         * termios/speed.c (cfgetospeed): Likewise.
12126         (cfgetispeed): Likewise.
12127         (cfsetospeed): Likewise.
12128         (cfsetispeed): Likewise.
12129         * termios/tcflow.c (tcflow): Likewise.
12130         * termios/tcflush.c (tcflush): Likewise.
12131         * termios/tcgetattr.c (__tcgetattr): Likewise.
12132         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
12133         * termios/tcgetsid.c (tcgetsid): Likewise.
12134         * termios/tcsendbrk.c (tcsendbreak): Likewise.
12135         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
12136         * time/adjtime.c (__adjtime): Likewise.
12137         * time/dysize.c (dysize): Likewise.
12138         * time/ftime.c (ftime): Likewise.
12139         * time/getitimer.c (__getitimer): Likewise.
12140         * time/gettimeofday.c (__gettimeofday): Likewise.
12141         * time/gmtime.c (__gmtime_r): Likewise.
12142         (gmtime): Likewise.
12143         * time/localtime.c (__localtime_r): Likewise.
12144         (localtime): Likewise.
12145         * time/offtime.c (__offtime): Likewise.
12146         * time/settimeofday.c (__settimeofday): Likewise.
12147         * time/stime.c (stime): Likewise.
12148         * time/strftime_l.c (tm_diff): Likewise.
12149         (iso_week_days): Likewise.
12150         * time/strptime.c (strptime): Likewise.
12151         * time/time.c (time): Likewise.
12152         * time/timespec_get.c (timespec_get): Likewise.
12153         * time/tzset.c (tzset_internal): Likewise.
12154         (compute_change): Likewise.
12155         (__tz_compute): Likewise.
12156         * wcsmbs/btowc.c (__btowc): Likewise.
12157         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
12158         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
12159         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
12160         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
12161         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
12162         * wcsmbs/wcscat.c (__wcscat): Likewise.
12163         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
12164         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
12165         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
12166         * wcsmbs/wcscspn.c (wcscspn): Likewise.
12167         * wcsmbs/wcsdup.c (wcsdup): Likewise.
12168         * wcsmbs/wcslen.c (__wcslen): Likewise.
12169         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
12170         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
12171         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
12172         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
12173         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
12174         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
12175         * wcsmbs/wcsspn.c (wcsspn): Likewise.
12176         * wcsmbs/wcsstr.c (wcsstr): Likewise.
12177         * wcsmbs/wcstok.c (wcstok): Likewise.
12178         * wcsmbs/wctob.c (wctob): Likewise.
12179         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
12180         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
12181         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
12182         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
12183         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
12184         * wcsmbs/wmemset.c (__wmemset): Likewise.
12185         * wctype/wcfuncs.c (__towlower): Likewise.
12186         (__towupper): Likewise.
12188         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
12189         (lll_unlock_elision): Add adapt_count parameter.
12191 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12193         * sysdeps/nptl/configure.ac: Do not give errors based on the
12194         results of top-level configure tests.
12195         * sysdeps/nptl/configure: Regenerated.
12197         * configure.ac (libc_cv_Bgroup): Remove configure test.
12198         * configure: Regenerated.
12199         * config.make.in (have-Bgroup): Remove variable.
12201         * configure.ac (sizeof_long_double): Remove configure test.
12202         * configure: Regenerated.
12203         * config.make.in (sizeof-long-double): Remove variable.
12205         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
12206         * configure: Regenerated.
12207         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
12208         variable.
12209         (exceptions): Likewise.
12210         * sysdeps/arm/configure: Regenerated.
12211         * config.make.in (exceptions): Remove variable.
12212         * Makeconfig (uses-callbacks): Use -fexceptions instead of
12213         $(exceptions).
12214         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
12215         (CFLAGS-vdprintf_chk.c): Likewise.
12216         (CFLAGS-printf_chk.c): Likewise.
12217         (CFLAGS-fprintf_chk.c): Likewise.
12218         (CFLAGS-vprintf_chk.c): Likewise.
12219         (CFLAGS-vfprintf_chk.c): Likewise.
12220         (CFLAGS-gets_chk.c): Likewise.
12221         (CFLAGS-fgets_chk.c): Likewise.
12222         (CFLAGS-fgets_u_chk.c): Likewise.
12223         (CFLAGS-fread_chk.c): Likewise.
12224         (CFLAGS-fread_u_chk.c): Likewise.
12225         (CFLAGS-wprintf_chk.c): Likewise.
12226         (CFLAGS-fwprintf_chk.c): Likewise.
12227         (CFLAGS-vwprintf_chk.c): Likewise.
12228         (CFLAGS-vfwprintf_chk.c): Likewise.
12229         (CFLAGS-fgetws_chk.c): Likewise.
12230         (CFLAGS-fgetws_u_chk.c): Likewise.
12231         * libio/Makefile (CFLAGS-fileops.c): Likewise.
12232         (CFLAGS-fputc.c): Likewise.
12233         (CFLAGS-fputwc.c): Likewise.
12234         (CFLAGS-freopen64.c): Likewise.
12235         (CFLAGS-freopen.c): Likewise.
12236         (CFLAGS-fseek.c): Likewise.
12237         (CFLAGS-fseeko64.c): Likewise.
12238         (CFLAGS-fseeko.c): Likewise.
12239         (CFLAGS-ftello64.c): Likewise.
12240         (CFLAGS-ftello.c): Likewise.
12241         (CFLAGS-fwide.c): Likewise.
12242         (CFLAGS-genops.c): Likewise.
12243         (CFLAGS-getc.c): Likewise.
12244         (CFLAGS-getchar.c): Likewise.
12245         (CFLAGS-getwc.c): Likewise.
12246         (CFLAGS-getwchar.c): Likewise.
12247         (CFLAGS-iofclose.c): Likewise.
12248         (CFLAGS-iofflush.c): Likewise.
12249         (CFLAGS-iofgetpos64.c): Likewise.
12250         (CFLAGS-iofgetpos.c): Likewise.
12251         (CFLAGS-iofgets.c): Likewise.
12252         (CFLAGS-iofgetws.c): Likewise.
12253         (CFLAGS-iofputs.c): Likewise.
12254         (CFLAGS-iofputws.c): Likewise.
12255         (CFLAGS-iofread.c): Likewise.
12256         (CFLAGS-iofsetpos64.c): Likewise.
12257         (CFLAGS-iofsetpos.c): Likewise.
12258         (CFLAGS-ioftell.c): Likewise.
12259         (CFLAGS-iofwrite.c): Likewise.
12260         (CFLAGS-iogetdelim.c): Likewise.
12261         (CFLAGS-iogetline.c): Likewise.
12262         (CFLAGS-iogets.c): Likewise.
12263         (CFLAGS-iogetwline.c): Likewise.
12264         (CFLAGS-ioputs.c): Likewise.
12265         (CFLAGS-ioseekoff.c): Likewise.
12266         (CFLAGS-ioseekpos.c): Likewise.
12267         (CFLAGS-iosetbuffer.c): Likewise.
12268         (CFLAGS-iosetvbuf.c): Likewise.
12269         (CFLAGS-ioungetc.c): Likewise.
12270         (CFLAGS-ioungetwc.c): Likewise.
12271         (CFLAGS-oldfileops.c): Likewise.
12272         (CFLAGS-oldiofclose.c): Likewise.
12273         (CFLAGS-oldiofgetpos64.c): Likewise.
12274         (CFLAGS-oldiofgetpos.c): Likewise.
12275         (CFLAGS-oldiofsetpos64.c): Likewise.
12276         (CFLAGS-oldiofsetpos.c): Likewise.
12277         (CFLAGS-peekc.c): Likewise.
12278         (CFLAGS-putc.c): Likewise.
12279         (CFLAGS-putchar.c): Likewise.
12280         (CFLAGS-putwc.c): Likewise.
12281         (CFLAGS-putwchar.c): Likewise.
12282         (CFLAGS-rewind.c): Likewise.
12283         (CFLAGS-wfileops.c): Likewise.
12284         (CFLAGS-wgenops.c): Likewise.
12285         (CFLAGS-oldiofopen.c): Likewise.
12286         (CFLAGS-iofopen.c): Likewise.
12287         (CFLAGS-iofopen64.c): Likewise.
12288         (CFLAGS-oldtmpfile.c): Likewise.
12289         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
12290         (CFLAGS-fprintf.c): Likewise.
12291         (CFLAGS-printf.c): Likewise.
12292         (CFLAGS-vfwprintf.c): Likewise.
12293         (CFLAGS-vfscanf.c): Likewise.
12294         (CFLAGS-vfwscanf.c): Likewise.
12295         (CFLAGS-fscanf.c): Likewise.
12296         (CFLAGS-scanf.c): Likewise.
12297         (CFLAGS-isoc99_vfscanf.c): Likewise.
12298         (CFLAGS-isoc99_vscanf.c): Likewise.
12299         (CFLAGS-isoc99_fscanf.c): Likewise.
12300         (CFLAGS-isoc99_scanf.c): Likewise.
12301         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
12302         (CFLAGS-isoc99_fwscanf.c): Likewise.
12303         (CFLAGS-isoc99_vwscanf.c): Likewise.
12304         (CFLAGS-isoc99_vfwscanf.c): Likewise.
12306         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
12307         after mkstemp64.
12308         * login/tst-utmp.c (do_prepare): Likewise.
12309         * rt/tst-aio.c (do_prepare): Likewise.
12310         * rt/tst-aio64.c (do_prepare): Likewise.
12312 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12314         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
12315         (__lll_lock_elision): Remove adapt_count decrement...
12316         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
12317         (__lll_trylock_elision): Likewise.
12318         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
12319         (__lll_unlock_elision): ... to here. And utilize
12320         new adapt_count parameter.
12321         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12322         (__lll_unlock_elision): Update to include adapt_count
12323         parameter.
12324         (lll_unlock_elision): Pass pointer to adapt_count
12325         variable.
12327 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12329         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
12330         Add elision adapt_count parameter to list of arguments.
12331         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
12332         (lll_unlock_elision): Update with new parameter list
12333         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
12334         (lll_unlock_elision): Likewise.
12335         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
12336         (lll_unlock_elision): Likewise.
12338 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12340         [BZ #19122]
12341         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
12342         attribute_hidden.
12344         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
12345         attribute_hidden.
12346         [IS_IN (rtld)] (__strdup): Likewise.
12347         [IS_IN (rtld)] (__strerror_r): Likewise.
12348         [IS_IN (rtld)] (__strsep_g): Likewise.
12349         [IS_IN (rtld)] (memchr): Likewise.
12350         [IS_IN (rtld)] (memcmp): Likewise.
12351         [IS_IN (rtld)] (memcpy): Likewise.
12352         [IS_IN (rtld)] (memmove): Likewise.
12353         [IS_IN (rtld)] (memset): Likewise.
12354         [IS_IN (rtld)] (rawmemchr): Likewise.
12355         [IS_IN (rtld)] (stpcpy): Likewise.
12356         [IS_IN (rtld)] (strchr): Likewise.
12357         [IS_IN (rtld)] (strcmp): Likewise.
12358         [IS_IN (rtld)] (strlen): Likewise.
12359         [IS_IN (rtld)] (strnlen): Likewise.
12360         [IS_IN (rtld)] (strsep): Likewise.
12362         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
12363         attribute_hidden.
12364         [IS_IN (rtld)] (__strtoul_internal): Likewise.
12366         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
12367         attribute_hidden.
12368         [IS_IN (rtld)] (__libc_sigaction): Likewise.
12370         * include/setjmp.h (__longjmp): Add attribute_hidden.
12371         [IS_IN (rtld)] (__sigsetjmp): Likewise.
12373         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
12374         Add attribute_hidden.
12376         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
12377         [IS_IN (rtld)] (__open): Likewise.
12378         [IS_IN (rtld)] (__fcntl): Likewise.
12380         * include/dirent.h (__opendirat): Add attribute_hidden.
12381         (__getdents): Likewise.
12382         (__getdents64): Likewise.
12383         (__alloc_dir): Likewise.
12384         [IS_IN (rtld)] (__closedir): Likewise.
12385         [IS_IN (rtld)] (__fdopendir): Likewise.
12386         [IS_IN (rtld)] (__readdir): Likewise.
12387         [IS_IN (rtld)] (__readdir64): Likewise.
12388         [IS_IN (rtld)] (__rewinddir): Likewise.
12390         * include/dlfcn.h (_dl_catch_error): Moved to ...
12391         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
12392         attribute_hidden.
12394         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
12395         (_itoa_word): Likewise.
12397         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
12398         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
12399         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
12400         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
12401         (_dl_higher_prime_number): Likewise.
12402         (_dl_debug_printf_c): Likewise.
12403         (_dl_signal_cerror): Likewise.
12404         (_dl_receive_error): Likewise.
12405         (_dl_reloc_bad_type): Likewise.
12406         (_dl_resolve_conflicts): Likewise.
12407         (_dl_check_all_versions): Likewise.
12408         (_dl_check_map_versions): Likewise.
12409         (_dl_sort_fini): Likewise.
12410         (_dl_debug_initialize): Likewise.
12411         (_dl_init_paths): Likewise.
12412         (_dl_show_auxv): Likewise.
12413         (_dl_next_ld_env_entry): Likewise.
12414         (_dl_important_hwcaps): Likewise.
12415         (_dl_load_cache_lookup): Likewise.
12416         (_dl_update_slotinfo): Likewise.
12417         (_dl_show_scope): Likewise.
12419         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
12420         attribute_hidden.
12421         (_wordcopy_fwd_dest_aligned): Likewise.
12422         (_wordcopy_bwd_aligned): Likewise.
12423         (_wordcopy_bwd_dest_aligned): Likewise.
12425         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
12426         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12427         Likewise.
12428         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
12429         Likewise.
12430         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
12432 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12434         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
12435         GCC 5 requirement.
12437 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
12439         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
12440         test.
12441         * sysdeps/i386/configure: Regenerated.
12442         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
12443         code unconditional.
12445         * configure.ac (libc_cv_asm_previous_directive): Remove configure
12446         test.
12447         (libc_cv_asm_popsection_directive): Likewise.
12448         * configure: Regenerated.
12449         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
12450         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
12451         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
12452         (__make_section_unallocated): Make definition unconditional.
12453         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
12454         Remove conditional definition.
12455         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
12456         (__make_section_unallocated): Likewise.
12458         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
12459         * configure: Regenerated.
12460         * config.make.in (static-libgcc): Remove variable.
12461         * Makerules (build-shlib-helper): Use -static-libgcc instead of
12462         $(static-libgcc).
12463         (build-module-helper): Likewise.
12465         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
12466         * configure: Regenerated.
12468 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12470         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
12471         (struct char_buffer): New type.
12472         (char_buffer_start, char_buffer_size, char_buffer_error)
12473         (char_buffer_rewind, char_buffer_add): New functions.
12474         (ADDW): Remove macro, replaced by the char_buffer_add function.
12475         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
12476         of extend_alloca.  Make control flow more explicit.
12478 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12480         [BZ #19137]
12481         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
12482         Add -fomit-frame-pointer.
12483         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
12485 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12487         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
12488         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
12489         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
12490         only if !__GNUC_PREREQ (5,0).
12491         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
12492         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
12493         (INTERNAL_SYSCALL_NCS): Likewise.
12494         (LOADREGS_0): New macro for GCC 5.
12495         (ASMARGS_0): Likewise.
12496         (LOADREGS_1): Likewise.
12497         (ASMARGS_1): Likewise.
12498         (LOADREGS_2): Likewise.
12499         (ASMARGS_2): Likewise.
12500         (LOADREGS_3): Likewise.
12501         (ASMARGS_3): Likewise.
12502         (LOADREGS_4): Likewise.
12503         (ASMARGS_4): Likewise.
12504         (LOADREGS_5): Likewise.
12505         (ASMARGS_5): Likewise.
12506         (LOADREGS_6): Likewise.
12507         (ASMARGS_6): Likewise.
12509 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
12511         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
12512         -fomit-frame-pointer.
12513         (CFLAGS-mmap64.c): Likewise.
12514         (CFLAGS-semtimedop.c): Likewise.
12515         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
12516         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
12517         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
12518         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
12520 2015-10-15  Florian Weimer  <fweimer@redhat.com>
12522         [BZ #18928]
12523         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
12524         _dl_pointer_guard member.
12525         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
12526         initializer.
12527         (security_init): Always set up pointer guard.
12528         (process_envvars): Do not process LD_POINTER_GUARD.
12530 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
12532         [BZ #19134]
12533         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
12534         (.LC2): Likewise.
12535         (.LC3): Likewise.
12536         (__lround): Do not add 0.5 to integer or out-of-range arguments.
12538 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
12540         [BZ #19129]
12541         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
12542         r0 and r1.
12544 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
12546         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
12548 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
12550         * include/stap-probe.h: Fix macro definition formatting.
12552 2015-10-14  Florian Weimer  <fweimer@redhat.com>
12554         [BZ #19074]
12555         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
12556         load and store num_ifs.
12558 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12560         [BZ #18822]
12561         * sysdeps/unix/sysv/linux/sched_getaffinity.c
12562         (__sched_getaffinity_new): Add libc_hidden_proto and
12563         libc_hidden_def.
12565 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12567         [BZ #19007]
12568         * scripts/localplt.awk: Also allow GOT references.
12569         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
12570         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
12571         with "+ REL R_386_GLOB_DAT".
12572         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
12573         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
12575 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
12577         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
12578         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12579         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
12580         Likewise.
12581         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
12582         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
12583         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
12584         INTERNAL_SYSCALLINTERNAL_SYSCALL and
12585         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12586         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
12587         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12588         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
12589         Likewise.
12590         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12592 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12594         [BZ #19125]
12595         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
12596         <math_private.h> and <stdint.h>.
12597         (__llround): Avoid conversions to and from long long int, and
12598         subtractions, where those might raise spurious exceptions.
12599         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
12600         <math_private.h> and <stdint.h>.
12601         (__llroundf): Avoid conversions to and from long long int, and
12602         subtractions, where those might raise spurious exceptions.
12604 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12606         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
12607         INLINE_SYSCALL_ERROR_RETURN_VALUE.
12608         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
12609         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
12610         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
12611         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
12612         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
12613         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
12614         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
12615         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
12616         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
12617         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12618         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
12619         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12620         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12621         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
12622         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
12623         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
12624         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
12625         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
12626         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
12627         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
12628         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
12629         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
12630         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
12631         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
12632         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
12633         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
12634         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12635         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
12636         (__xstat64_conv): Likewise.
12637         (__xstat32_conv): Likewise.
12639 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12641         * sysdeps/unix/sysv/linux/sysdep.h: New file.
12642         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
12643         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
12644         <sysdeps/unix/sysv/linux/sysdep.h>.
12645         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
12646         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
12647         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
12648         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
12649         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
12650         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
12651         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
12652         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12653         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12654         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
12655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12656         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
12657         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
12658         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
12659         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
12660         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
12661         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
12662         (sysdep-dl-routines): Add sysdep.
12663         [$(subdir) == nptl] (libpthread-routines): Likewise.
12664         [$(subdir) == rt] (librt-routines): Likewise.
12665         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
12666         PIC when branching to SYSCALL_ERROR_LABEL.
12667         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
12668         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
12669         <sysdeps/unix/sysv/linux/sysdep.h>.
12670         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
12671         (SYSCALL_ERROR_ERRNO): Removed.
12672         (SYSCALL_ERROR_HANDLER): Changed to empty.
12673         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
12674         (__syscall_error): New prototype.
12675         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
12676         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
12678 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
12680         [BZ #19124]
12681         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
12682         (_dl_runtime_resolve_avx512): Make it a hidden alias of
12683         _dl_runtime_resolve_avx.
12684         (_dl_runtime_profile_avx512): Make it a hidden alias of
12685         _dl_runtime_profile_avx.
12687 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
12689         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
12690         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
12691         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
12692         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
12694         [BZ #16422]
12695         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
12696         New configure test.
12697         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
12698         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
12699         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
12700         <math_private.h> and <stdint.h>.
12701         (__llrint): Avoid conversions to long long int where those might
12702         raise spurious exceptions.
12703         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
12704         <math_private.h> and <stdint.h>.
12705         (__llrintf): Avoid conversions to long long int where those might
12706         raise spurious exceptions.
12708 2015-10-12  Andreas Schwab  <schwab@suse.de>
12710         [BZ #18969]
12711         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
12712         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
12713         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
12714         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
12715         $(gen-locales).
12716         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
12717         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
12718         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
12719         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
12720         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
12721         $(gen-locales).
12722         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
12723         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
12724         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
12725         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
12726         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
12727         ($(objpfx)tst-ftell-active-handler.out)
12728         ($(objpfx)tst-ftell-append.out)
12729         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
12730         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
12731         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
12732         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
12733         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
12734         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
12735         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
12736         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
12737         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
12738         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
12739         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
12740         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
12741         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
12742         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
12743         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
12744         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
12745         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
12746         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
12747         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
12748         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
12749         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
12750         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
12751         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
12752         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
12753         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
12754         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
12755         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
12756         $(gen-locales).
12757         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
12758         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
12759         $(gen-locales).
12760         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
12761         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
12762         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
12763         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
12764         $(gen-locales).
12765         * libio/tst_wprintf2.c (main): Use explicit locale.
12766         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
12768 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12770         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
12771         __msg_sig_post.
12772         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
12774 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12776         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
12777         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
12779         * sysdeps/arm/libm-test-ulps: Regenerated.
12781         [BZ #15470]
12782         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
12784         [BZ #16399]
12785         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
12786         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
12787         and <fix-fp-int-convert-overflow.h>.
12788         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12789         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12790         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
12791         and <fix-fp-int-convert-overflow.h>.
12792         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
12793         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12794         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
12795         <fix-fp-int-convert-overflow.h>.
12796         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
12797         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12798         * sysdeps/ieee754/dbl-64/s_lround.c: Include
12799         <fix-fp-int-convert-overflow.h>.
12800         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
12801         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12802         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
12803         and <fix-fp-int-convert-overflow.h>.
12804         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12805         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12806         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
12807         <limits.h> and <fix-fp-int-convert-overflow.h>.
12808         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12809         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12810         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
12811         and <fix-fp-int-convert-overflow.h>.
12812         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
12813         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12814         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
12815         and <fix-fp-int-convert-overflow.h>.
12816         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
12817         FIX_DBL_LLONG_CONVERT_OVERFLOW.
12818         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
12820 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
12822         [BZ #18589]
12823         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
12824         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
12825         $(gen-locales).
12827 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12828             Phil Blundell <pb@pbcl.net>
12830         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
12831         * nptl/tst-cancel26.c: New file.
12832         * nptl/tst-cancel27.c: Likewise.
12834 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
12836         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
12837         __ILP32__ isn't defined.
12838         (lrint): Likewise.
12839         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
12840         (lrintf): Likewise.
12841         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
12842         (lrintl): Likewise.
12843         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
12844         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
12845         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
12847 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12849         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
12850         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
12852         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
12853         file.
12854         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
12855         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
12857 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
12859         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
12860         configure test.
12861         * sysdeps/i386/configure: Regenerated.
12862         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
12863         configure test.
12864         * sysdeps/x86_64/configure: Regenerated.
12865         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
12866         Make code unconditional.
12868         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
12869         test.
12870         * sysdeps/i386/configure: Regenerated.
12871         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
12872         test.
12873         * sysdeps/x86_64/configure: Regenerated.
12874         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
12875         Make code unconditional.
12876         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
12877         Likewise.
12878         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
12879         Likewise.
12880         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12881         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
12882         code unconditional.
12883         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12884         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
12885         code unconditional.
12886         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12887         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
12888         code unconditional.
12889         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
12890         code unconditional.
12891         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12892         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
12893         code unconditional.
12894         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12895         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
12896         code unconditional.
12897         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12898         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
12899         code unconditional.
12900         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12901         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
12902         code unconditional.
12903         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
12904         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
12906         [BZ #19095]
12907         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
12908         mantissa to long int before shifting left.
12910 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12912         [BZ #19094]
12913         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
12914         <limits.h>.
12915         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12916         when result overflows but exception would not result from cast.
12917         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
12918         <limits.h>.
12919         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12920         when result overflows but exception would not result from cast.
12921         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
12922         <limits.h>.
12923         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12924         when result overflows but exception would not result from cast.
12925         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
12926         <limits.h>.
12927         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12928         when result overflows but exception would not result from cast.
12929         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
12930         <limits.h>.
12931         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
12932         when result overflows but exception would not result from cast.
12933         * math/libm-test.inc (lrint_test_data): Add more tests.
12934         (llrint_test_data): Likewise.
12936 2015-10-08  Roland McGrath  <roland@hack.frob.com>
12938         [BZ #18872]
12939         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
12940         Move out from under [$(run-built-tests) = yes] conditional.
12941         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
12942         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
12944 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
12946         [BZ #18589]
12947         * string/Makefile (tests): Add bug-strcoll2.
12948         (LOCALES): Add cs_CZ.UTF-8.
12949         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
12951         [BZ #18589]
12952         * string/bug-strcoll2.c: New file.
12953         * locale/categories.def: Revert commit
12954         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
12955         * locale/langinfo.h: Likewise.
12956         * locale/localeinfo.h: Likewise.
12957         * locale/C-collate.c: Likewise.
12958         * locale/programs/ld-collate.c (collate_output): Likewise.
12959         * string/strcoll_l.c (STRDIFF): Likewise.
12960         (STRCOLL): Likewise.
12961         * wcsmbs/wcscoll_l.c: Likewise.
12963 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
12965         * math/libm-test.inc (lround_test_data): Do not expect the absence
12966         of "inexact" for some tests with non-integer arguments.
12967         (llround_test_data): Likewise.
12969         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
12970         test.
12971         (libc_cv_cc_sse2avx): Likewise.
12972         * sysdeps/i386/configure: Regenerated.
12973         * sysdeps/i386/i686/multiarch/Makefile
12974         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
12975         [$(subdir) = math].
12976         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
12977         code unconditional.
12978         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
12979         Likewise.
12980         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
12981         Likewise.
12982         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
12983         Likewise.
12984         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
12985         test.
12986         (libc_cv_cc_sse2avx): Likewise.
12987         * sysdeps/x86_64/configure: Regenerated.
12988         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
12989         unconditional.
12990         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
12991         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
12992         unconditional.
12993         (_dl_runtime_profile)
12994         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
12995         conditional code.
12996         * sysdeps/x86_64/fpu/multiarch/Makefile
12997         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
12998         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
12999         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13000         * sysdeps/x86_64/fpu/multiarch/e_exp.c
13001         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13002         * sysdeps/x86_64/fpu/multiarch/e_log.c
13003         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13004         * sysdeps/x86_64/fpu/multiarch/s_atan.c
13005         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13006         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
13007         Likewise.
13008         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
13009         Likewise.
13010         * sysdeps/x86_64/fpu/multiarch/s_sin.c
13011         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13012         * sysdeps/x86_64/fpu/multiarch/s_tan.c
13013         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
13014         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
13015         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
13016         (HAVE_SSE2AVX_SUPPORT): Likewise.
13018 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
13020         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
13021         instead of #pragma optimize.
13023 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13025         [BZ #17195]
13026         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
13027         as is similarly done in systrim and _int_free already.
13029 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13031         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
13033 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13035         [BZ #19088]
13036         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
13037         <limits.h>.
13038         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13039         overflows but exception would not result from cast.
13040         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
13041         and <limits.h>.
13042         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
13043         overflows but exception would not result from cast.
13044         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
13045         <limits.h>.
13046         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13047         overflows but exception would not result from cast.
13048         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
13049         <limits.h>.
13050         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13051         overflows but exception would not result from cast.
13052         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
13053         <limits.h>.
13054         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
13055         overflows but exception would not result from cast.
13056         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
13057         <limits.h>.
13058         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
13059         overflows but exception would not result from cast.
13060         * math/libm-test.inc (lround_test_data): Add more tests.
13061         (llround_test_data): Likewise.
13063 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
13065         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
13066         (CFLAGS-ialloc.c): Ditto.
13067         (CFLAGS-scheck.c): Ditto.
13069 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
13071         [BZ #19086]
13072         * manual/filesys.texi (Storage Allocation): Fix argument order for
13073         posix_fallocate64.
13075 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13077         [BZ #19085]
13078         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
13079         exponent below 48 inside case for non-overflowing exponent.
13080         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
13082 2015-10-07  Florian Weimer  <fweimer@redhat.com>
13084         * iconvdata/cp737.h (from_idx): Add const.
13085         * iconvdata/cp775.h (from_idx): Likewise.
13087 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
13089         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
13090         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
13091         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
13093         [BZ #19079]
13094         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
13095         file, conditioned on [!_LP64].
13096         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
13097         [!_LP64] (__lround): Do not define as function or alias.
13098         [!_LP64] (lround): Likewise.
13099         [!_LP64] (__lroundl): Likewise.
13100         [!_LP64] (lroundl): Likewise.
13101         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
13102         macro.
13103         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
13104         Likewise.
13106 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13108         * math/libm-test.inc (lrint_test_data): Add more tests.
13109         (llrint_test_data): Likewise.
13110         (lround_test_data): Likewise.
13111         (llround_test_data): Likewise.
13113         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
13114         (llrint_test_data): Add tests used for lrint.
13116         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
13117         test.
13118         * sysdeps/i386/configure: Regenerated.
13119         * sysdeps/i386/i686/multiarch/Makefile
13120         [$(config-cflags-sse4) = yes]: Make code unconditional.
13121         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13122         Likewise.
13123         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
13124         Likewise.
13125         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
13126         test.
13127         * sysdeps/x86_64/configure: Regenerated.
13128         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
13129         Make code unconditional.
13130         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
13131         Likewise.
13132         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
13133         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
13135         * scripts/rpm2dynsym.sh: Remove file.
13137 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13139         * configure.ac (libc_cv_cxx_thread_local): Define.
13140         * configure: Regenerate.
13141         * config.make.in (have-cxx-thread_local): Define.
13142         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
13143         (LDLIBS-tst-thread_local1): Define.
13144         (tests): Add tst-thread_local1.
13145         [have-cxx-thread_local != yes] (tests-unsupported): Add
13146         tst-thread_local1.
13147         * nptl/tst-thread_local1.cc: New file.
13149 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
13151         [BZ #19078]
13152         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
13153         (u_thres): Likewise.
13154         (__expl): Determine whether to call __kernel_standard_l based on
13155         value of result, not argument.
13157         * math/libm-test.inc (scalb_test_data): Add more expectations for
13158         the "inexact" exception.
13160         [BZ #19077]
13161         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
13162         0.0L for argument 1.0L.
13164         [BZ #19076]
13165         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
13166         constant 0.0L when computing infinite result.
13168 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13170         [BZ #10432]
13171         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
13172         malloc_usable_size.
13174 2015-10-06  Florian Weimer  <fweimer@redhat.com>
13176         [BZ #19018]
13177         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
13178         Mangle function pointer before storing it.
13179         (__call_tls_dtors): Demangle function pointer before calling it.
13181 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
13183         [BZ #19012]
13184         * iconv/gconv_db.c (gen_steps): Check for additional errors.
13185         Clean up on failure.
13187 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
13189         [BZ #19071]
13190         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
13191         long int variable to store possibly incremented high part of
13192         mantissa.
13193         * math/libm-test.inc (lround_test_data): Add tests used for
13194         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
13195         for tests requiring 64-bit long.  Do not condition tests on
13196         [TEST_FLOAT] unnecessarily.
13197         (llround_test_data): Add tests used for lround.  Add another
13198         expectation for the "inexact" exception.  Do not condition tests
13199         on [TEST_FLOAT] unnecessarily.
13201         [BZ #887]
13202         [BZ #19049]
13203         [BZ #19050]
13204         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
13205         * sysdeps/ieee754/dbl-64/e_log10.c: Include
13206         <fix-int-fp-convert-zero.h>.
13207         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13208         * sysdeps/ieee754/dbl-64/e_log2.c: Include
13209         <fix-int-fp-convert-zero.h>.
13210         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13211         * sysdeps/ieee754/dbl-64/s_erf.c: Include
13212         <fix-int-fp-convert-zero.h>.
13213         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13214         * sysdeps/ieee754/dbl-64/s_logb.c: Include
13215         <fix-int-fp-convert-zero.h>.
13216         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13217         * sysdeps/ieee754/flt-32/e_log10f.c: Include
13218         <fix-int-fp-convert-zero.h>.
13219         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13220         * sysdeps/ieee754/flt-32/e_log2f.c: Include
13221         <fix-int-fp-convert-zero.h>.
13222         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13223         * sysdeps/ieee754/flt-32/s_erff.c: Include
13224         <fix-int-fp-convert-zero.h>.
13225         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13226         * sysdeps/ieee754/flt-32/s_logbf.c: Include
13227         <fix-int-fp-convert-zero.h>.
13228         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13229         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
13230         <fix-int-fp-convert-zero.h>.
13231         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13232         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
13233         <fix-int-fp-convert-zero.h>.
13234         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
13235         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
13236         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
13237         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
13238         file.
13239         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
13241 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
13243         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
13245 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
13247         [BZ #19059]
13248         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
13249         overflowing computation.
13250         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13251         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13252         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
13253         Likewise.
13254         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
13255         Likewise.
13256         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13257         Likewise.
13258         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13259         Likewise.
13260         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
13261         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13262         Likewise.
13263         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13264         Likewise.
13265         * math/libm-test.inc (nexttoward_test_data): Add more tests.
13267         * nss/rewrite_field.c (__nss_rewrite_field): Use
13268         internal_function.
13269         * nss/valid_field.c (__nss_valid_field): Likewise.
13270         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
13272 2015-10-02  Florian Weimer  <fweimer@redhat.com>
13274         [BZ #18724]
13275         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
13276         (__nss_invalid_field_characters, __nss_valid_field)
13277         (__nss_valid_list_field, __nss_rewrite_field): Declare.
13278         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
13279         tst-field.c: New file.
13280         * nss/Makefile (routines): Add valid_field, rewrite_field.
13281         (tests-static): Define unconditionally.
13282         (tests): Include tests-static.
13283         [build-static-nss] (tests-static): Use append.
13284         [build-static-nss] (tests): Remove modification.
13285         * nss/getent.c (print_group): Call putgrent.  Report error.
13286         (print_gshadow): Call putsgent.  Report error.
13287         (print_passwd): Call putpwent.  Report error.
13288         (print_shadow): Call putspent.  Report error.
13289         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
13290         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
13291         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
13292         name, password, directory, shell fields for valid syntax.  Rewrite
13293         GECOS field to match syntax.
13294         * pwd/Makefile (tests): Add tst-putpwent.
13295         * pwd/tst-putpwent.c: New file.
13296         * grp/putgrent.c (putgrent): Convert to ISO function definition.
13297         Check grName, grpasswd, gr_mem fields for valid syntax.
13298         Change loop variable i to size_t.
13299         * grp/Makefile (tests): Add tst-putgrent.
13300         * grp/tst-putgrent.c: New file.
13301         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
13302         valid syntax.
13303         * shadow/Makefile (tests): Add tst-putspent.
13304         * shadow/tst-putspent.c: New file.
13305         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
13306         sg_mem fields for valid syntax.
13307         * gshadow/Makefile (tests): Add tst-putsgent.
13308         * gshadow/tst-putsgent.c: New file.
13310 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13312         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
13313         assembly instructions.
13315 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
13317         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
13318         prefix from operands.
13320 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
13322         [BZ #16347]
13323         [BZ #19046]
13324         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
13325         <libc-internal.h>.
13326         (MAXLGM): Do not use diagnostic control macros.
13327         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
13328         threshold for ldbl-128ibm.
13329         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
13330         instead of multiplying by log then subtracting.
13331         * math/auto-libm-test-in: Add more tests of lgamma.
13332         * math/auto-libm-test-out: Regenerated.
13334         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
13335         (TYPE_HEX_DIG): Likewise.
13336         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
13337         precisions when printing floating-point numbers.
13338         (check_float_internal): Likewise.
13340 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13342         [BZ #16620]
13343         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
13344         of log (10) rounded downward to 48 bits.
13345         (log10_low): Use corresponding low part of log (10).
13347         [BZ #19032]
13348         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
13349         compute result as (x - x) / (x - x) not as 0 / 0.
13350         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
13351         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
13353         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
13354         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
13355         and expm1.
13356         * math/auto-libm-test-out: Regenerated.
13357         * math/libm-test.inc (acos_test_data): Add more tests.
13358         (asin_test_data): Likewise.
13359         (asinh_test_data): Likewise.
13360         (atan_test_data): Likewise.
13361         (atanh_test_data): Likewise.
13362         (atan2_test_data): Likewise.
13363         (cbrt_test_data): Likewise.
13364         (ceil_test_data): Likewise.
13365         (copysign_test_data): Likewise.
13366         (cos_test_data): Likewise.
13367         (cosh_test_data): Likewise.
13368         (erf_test_data): Likewise.
13369         (erfc_test_data): Likewise.
13370         (exp_test_data): Likewise.
13371         (exp10_test_data): Likewise.
13372         (exp2_test_data): Likewise.
13373         (expm1_test_data): Likewise.
13374         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13376 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
13378         [BZ #19006]
13379         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
13380         to ...
13381         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
13382         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
13383         to ...
13384         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
13385         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
13386         to ...
13387         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
13388         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
13389         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
13390         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
13391         to ...
13392         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
13393         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
13394         Moved to ...
13395         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
13396         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
13397         Moved to ...
13398         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
13399         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
13400         to ...
13401         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
13402         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
13403         Moved to ...
13404         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
13405         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
13406         to ...
13407         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
13408         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
13409         Removed.
13410         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
13411         Likewise.
13412         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
13413         Likewise.
13414         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
13415         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
13416         Likewise.
13417         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
13418         Likewise.
13419         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
13420         Likewise.
13421         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
13422         Likewise.
13423         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
13424         Likewise.
13425         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
13426         Likewise.
13427         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
13428         Likewise.
13429         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
13430         Likewise.
13431         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
13432         Likewise.
13433         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
13434         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
13435         Likewise.
13436         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
13437         Likewise.
13438         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
13439         Likewise.
13440         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
13441         Likewise.
13442         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
13443         Likewise.
13444         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
13445         Replace ../i486/pthread_cond_timedwait.S with
13446         ../pthread_cond_timedwait.S.
13448 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
13450         * math/libm-test.inc (acos_test_data): Refine expectations for
13451         errno and "inexact" exceptions.
13452         (acosh_test_data): Likewise.
13453         (asin_test_data): Likewise.
13454         (asinh_test_data): Likewise.
13455         (atan_test_data): Likewise.
13456         (atanh_test_data): Likewise.
13457         (atan2_test_data): Likewise.
13458         (cbrt_test_data): Likewise.
13459         (ceil_test_data): Likewise.
13460         (copysign_test_data): Likewise.
13461         (cosh_test_data): Likewise.
13462         (erf_test_data): Likewise.
13463         (erfc_test_data): Likewise.
13464         (exp_test_data): Likewise.
13465         (exp10_test_data): Likewise.
13466         (exp2_test_data): Likewise.
13467         (expm1_test_data): Likewise.
13468         (fabs_test_data): Likewise.
13469         (floor_test_data): Likewise.
13470         (fma_test_data): Likewise.
13471         (fmax_test_data): Likewise.
13472         (fmin_test_data): Likewise.
13473         (fmod_test_data): Likewise.
13474         (fpclassify_test_data): Likewise.
13475         (frexp_test_data): Likewise.
13476         (hypot_test_data): Likewise.
13477         (ilogb_test_data): Likewise.
13478         (isgreater_test_data): Likewise.
13479         (isgreaterequal_test_data): Likewise.
13480         (isinf_test_data): Likewise.
13481         (isless_test_data): Likewise.
13482         (islessequal_test_data): Likewise.
13483         (islessgreater_test_data): Likewise.
13484         (isnan_test_data): Likewise.
13485         (isnormal_test_data): Likewise.
13486         (issignaling_test_data): Likewise.
13487         (isunordered_test_data): Likewise.
13488         (j0_test_data): Likewise.
13489         (j1_test_data): Likewise.
13490         (jn_test_data): Likewise.
13491         (lgamma_test_data): Likewise.
13492         (lrint_test_data): Likewise.
13493         (llrint_test_data): Likewise.
13494         (log_test_data): Likewise.
13495         (log10_test_data): Likewise.
13496         (log1p_test_data): Likewise.
13497         (log2_test_data): Likewise.
13498         (logb_test_data): Likewise.
13499         (lround_test_data): Likewise.
13500         (llround_test_data): Likewise.
13501         (modf_test_data): Likewise.
13502         (nearbyint_test_data): Likewise.
13503         (nextafter_test_data): Likewise.
13504         (nexttoward_test_data): Likewise.
13505         (pow_test_data): Likewise.
13506         (remainder_test_data): Likewise.
13507         (remquo_test_data): Likewise.
13508         (rint_test_data): Likewise.
13509         (round_test_data): Likewise.
13510         (signbit_test_data): Likewise.
13511         (sinh_test_data): Likewise.
13512         (sqrt_test_data): Likewise.
13513         (tanh_test_data): Likewise.
13514         (tgamma_test_data): Likewise.
13515         (trunc_test_data): Likewise.
13516         (y0_test_data): Likewise.
13517         (y1_test_data): Likewise.
13518         (yn_test_data): Likewise.
13519         (significand_test_data): Likewise.
13521 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
13523         * manual/filesys.texi (Storage Allocation): Document that
13524         posix_fallocate emulation fails when fd is open with O_WRONLY.
13526 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
13528         [BZ #19016]
13529         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
13530         allow more cases with X^2 + Y^2 >= 0.5.
13531         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
13532         normal element in sum instead of special-casing based on values of
13533         arguments.
13534         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
13535         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
13536         -1 as normal element in sum instead of special-casing based on
13537         values of arguments.
13538         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
13539         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
13540         (__x2y2m1): Update comment.
13541         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
13542         as normal element in sum instead of special-casing based on values
13543         of arguments.
13544         * math/s_clog.c (__clog): Handle more cases using log1p without
13545         hypot.
13546         * math/s_clog10.c (__clog10): Likewise.
13547         * math/s_clog10f.c (__clog10f): Likewise.
13548         * math/s_clog10l.c (__clog10l): Likewise.
13549         * math/s_clogf.c (__clogf): Likewise.
13550         * math/s_clogl.c (__clogl): Likewise.
13551         * math/auto-libm-test-in: Add more tests of clog and clog10.
13552         * math/auto-libm-test-out: Regenerated.
13553         * sysdeps/i386/fpu/libm-test-ulps: Update.
13554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13556 2015-09-28  Martin Sebor  <msebor@redhat.com>
13558         [BZ #18969]
13559         * string/Makefile (LOCALES): Define.
13560         (gen-locales.mk): Include.
13561         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
13562         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
13563         * string/tst-strxfrm2.c (do_test): Print the name of the locale
13564         on setlocale failure.
13566 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
13568         [BZ #18985]
13569         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
13570         (__strftime_internal): Likewise.
13571         * time/tst-strftime.c (do_bz18985): New test.
13572         (do_test): Call it.
13574 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
13576         [BZ #18956]
13577         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
13578         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
13579         extracting high part.
13580         * math/auto-libm-test-in: Add another test of pow.
13581         * math/auto-libm-test-out: Regenerated.
13582         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
13584 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13586         [BZ #18825]
13587         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
13588         New macro.
13589         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
13590         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13591         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
13592         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
13593         DBL_NARROW_EVAL, reloading the PIC register as needed.
13594         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
13595         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
13596         FLT_NARROW_EVAL.  Use separate return path for case when first
13597         argument is NaN.
13598         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
13599         DEFINE_LDBL_MIN.
13600         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
13601         PIC register.
13602         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
13603         math_check_force_underflow_nonneg.
13604         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
13605         underflow for subnormal result.
13606         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
13607         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
13608         math_check_force_underflow_nonneg.
13609         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
13610         math_check_force_underflow.
13611         * sysdeps/x86_64/fpu/x86_64-math-asm.h
13612         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
13613         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
13614         DEFINE_LDBL_MIN.
13615         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
13616         * math/auto-libm-test-in: Add more tests of pow.
13617         * math/auto-libm-test-out: Regenerated.
13619 2015-09-25  Florian Weimer  <fweimer@redhat.com>
13621         * nss/bug17079.c (init_test_items): Add diagnostic for
13622         inconsistent entries.
13623         (test_buffer_size): Skip inconsistent entries.
13625 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
13627         [BZ #13304]
13628         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
13629         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
13630         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
13632         [BZ #13304]
13633         * sysdeps/microblaze/s_fma.c: New file.
13634         * sysdeps/microblaze/s_fmaf.c: Likewise.
13635         * sysdeps/microblaze/sfp-machine.h: Likewise.
13637 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
13639         [BZ #17250]
13640         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
13641         member.
13643 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13645         [BZ #18803]
13646         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
13647         (MO): New macro.
13648         (__ieee754_hypot) [PIC]: Load PIC register.
13649         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
13650         DBL_NARROW_EVAL.
13651         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
13652         math_check_force_underflow_nonneg in case where result might be
13653         tiny.
13654         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
13655         Likewise.
13656         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
13657         Likewise.
13658         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
13659         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
13660         * math/auto-libm-test-in: Add more tests of hypot.
13661         * math/auto-libm-test-out: Regenerated.
13663 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
13665         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
13667 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
13669         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
13670         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
13671         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13672         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13673         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
13674         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13675         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13677         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
13678         LOAD_PIC_REG.
13680         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
13681         (FLT_CHECK_FORCE_UFLOW): Likewise.
13682         (DBL_CHECK_FORCE_UFLOW): Likewise.
13683         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
13684         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
13685         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
13686         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13687         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
13688         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13689         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13690         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
13691         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
13692         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13693         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
13694         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
13695         (flt_min): Replace with use of DEFINE_FLT_MIN.
13696         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
13697         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
13698         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13699         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
13700         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
13701         (flt_min): Replace with use of DEFINE_FLT_MIN.
13702         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
13703         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
13704         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13705         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
13706         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
13707         (flt_min): Replace with use of DEFINE_FLT_MIN.
13708         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
13709         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
13710         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
13711         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
13712         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
13713         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
13714         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
13715         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
13716         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13717         (__atan): Use DBL_CHECK_FORCE_UFLOW.
13718         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
13719         (flt_min): Replace with use of DEFINE_FLT_MIN.
13720         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
13721         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
13722         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13723         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
13724         main computation.
13725         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
13726         (flt_min): Replace with use of DEFINE_FLT_MIN.
13727         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
13728         main computation.
13729         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
13730         (dbl_min): Replace with use of DEFINE_DBL_MIN.
13731         (MO): New macro.
13732         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
13733         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
13734         (flt_min): Replace with use of DEFINE_FLT_MIN.
13735         (MO): New macro.
13736         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
13737         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
13738         (__log1pl): Use MO.
13740         [BZ #19003]
13741         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
13742         $(config-cflags-nofma).
13744 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
13746         * sysdeps/aarch64/libm-test-ulps: Regenerated.
13748 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
13750         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
13751         (TWO127): Likewise.
13753         * sysdeps/generic/math_private.h (fabs_tg): New macro.
13754         (min_of_type): Likewise.
13755         (math_check_force_underflow): Likewise.
13756         (math_check_force_underflow_nonneg): Likewise.
13757         (math_check_force_underflow_complex): Likewise.
13758         * math/e_exp2l.c (__ieee754_exp2l): Use
13759         math_check_force_underflow_nonneg.
13760         * math/k_casinh.c (__kernel_casinh): Likewise.
13761         * math/k_casinhf.c (__kernel_casinhf): Likewise.
13762         * math/k_casinhl.c (__kernel_casinhl): Likewise.
13763         * math/s_catan.c (__catan): Use
13764         math_check_force_underflow_complex.
13765         * math/s_catanf.c (__catanf): Likewise.
13766         * math/s_catanh.c (__catanh): Likewise.
13767         * math/s_catanhf.c (__catanhf): Likewise.
13768         * math/s_catanhl.c (__catanhl): Likewise.
13769         * math/s_catanl.c (__catanl): Likewise.
13770         * math/s_ccosh.c (__ccosh): Likewise.
13771         * math/s_ccoshf.c (__ccoshf): Likewise.
13772         * math/s_ccoshl.c (__ccoshl): Likewise.
13773         * math/s_cexp.c (__cexp): Likewise.
13774         * math/s_cexpf.c (__cexpf): Likewise.
13775         * math/s_cexpl.c (__cexpl): Likewise.
13776         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
13777         * math/s_clog10.c (__clog10): Likewise.
13778         * math/s_clog10f.c (__clog10f): Likewise.
13779         * math/s_clog10l.c (__clog10l): Likewise.
13780         * math/s_clogf.c (__clogf): Likewise.
13781         * math/s_clogl.c (__clogl): Likewise.
13782         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
13783         * math/s_csinf.c (__csinf): Likewise.
13784         * math/s_csinh.c (__csinh): Likewise.
13785         * math/s_csinhf.c (__csinhf): Likewise.
13786         * math/s_csinhl.c (__csinhl): Likewise.
13787         * math/s_csinl.c (__csinl): Likewise.
13788         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
13789         * math/s_csqrtf.c (__csqrtf): Likewise.
13790         * math/s_csqrtl.c (__csqrtl): Likewise.
13791         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
13792         * math/s_ctanf.c (__ctanf): Likewise.
13793         * math/s_ctanh.c (__ctanh): Likewise.
13794         * math/s_ctanhf.c (__ctanhf): Likewise.
13795         * math/s_ctanhl.c (__ctanhl): Likewise.
13796         * math/s_ctanl.c (__ctanl): Likewise.
13797         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
13798         instead of volatile.
13799         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
13800         math_check_force_underflow.
13801         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
13802         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
13803         volatile when forcing underflow.
13804         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
13805         math_check_force_underflow_nonneg.
13806         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
13807         Likewise.
13808         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
13809         math_check_force_underflow.
13810         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
13811         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
13812         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
13813         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
13814         math_check_force_underflow_nonneg.
13815         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
13816         math_check_force_underflow.
13817         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
13818         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
13819         instead of volatile.
13820         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
13821         math_check_force_underflow.
13822         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
13823         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
13824         math_check_force_underflow_nonneg.
13825         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
13826         math_check_force_underflow.
13827         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
13828         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
13829         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
13830         math_check_force_underflow_nonneg.
13831         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
13832         Likewise.
13833         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
13834         math_check_force_underflow.
13835         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
13836         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
13837         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
13838         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
13839         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
13840         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
13841         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
13842         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
13843         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
13844         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
13845         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
13846         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
13847         Likewise.
13848         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
13849         math_check_force_underflow_nonneg.
13850         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
13851         Likewise.
13852         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
13853         math_check_force_underflow.
13854         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
13855         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
13856         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
13857         Likewise.
13858         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
13859         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
13860         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
13861         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
13862         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
13863         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
13864         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
13865         instead of volatile.
13866         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
13867         math_check_force_underflow.
13868         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
13869         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
13870         math_check_force_underflow.
13871         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
13872         Likewise.
13873         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
13874         Use math_check_force_underflow_nonneg.
13875         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
13876         math_check_force_underflow.
13877         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
13878         Likewise.
13879         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
13880         Likewise.
13881         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
13882         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
13883         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
13884         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
13885         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
13886         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
13887         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
13888         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
13889         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
13890         math_check_force_underflow_nonneg.
13891         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
13892         math_check_force_underflow.
13893         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
13894         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
13895         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
13896         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
13897         math_check_force_underflow_nonneg.
13898         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
13899         math_check_force_underflow.
13900         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
13901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
13902         instead of volatile.
13903         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
13904         math_check_force_underflow.
13906         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
13907         * stdlib/strtod_l.c: Include <math_private.h>.
13908         (overflow_value): Use math_narrow_eval.
13909         (underflow_value): Likewise.
13910         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
13911         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
13912         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
13913         (__ieee754_gamma_r): Likewise.
13914         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
13915         Likewise.
13916         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
13917         Likewise.
13918         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
13919         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
13920         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
13921         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
13922         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
13923         (__ieee754_gammaf_r): Likewise.
13924         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
13925         Likewise.
13926         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
13927         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
13928         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
13929         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
13930         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
13931         volatile.
13932         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
13933         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
13934         math_narrow_eval.
13935         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
13936         Likewise.
13937         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
13938         Likewise.
13939         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
13940         Likewise.
13941         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
13942         volatile.
13943         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
13944         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
13945         math_narrow_eval.
13946         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
13947         Likewise.
13948         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
13949         Likewise.
13951 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
13953         * nptl/Versions: Remove ignored symbols.
13955 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13957         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
13958         * nss/Makefile (tests): Update.
13960 2015-09-22  Florian Weimer  <fweimer@redhat.com>
13962         * nss/bug18287.c: New file.
13963         * nss/Makefile (tests): Add bug18287.
13965 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13967         * mach/Versions (__mach_host_self_): Add symbol.
13969 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13971         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
13972         vm_page_size.
13974 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13976         Really fix sysdeps/i386/fpu/s_scalbn.S build
13978         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
13979         (libc: GLIBC_2_22): Remove unused version set.
13981 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
13983         * config.make.in (enable-timezone-tools): New variable.
13984         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
13985         (enable_timezone_tools): Export to generated files.
13986         * configure: Regenerate.
13987         * INSTALL: Regenerate.
13988         * manual/install.texi (--disable-timezone-tools): Document new flag.
13989         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
13990         ifeq ($(enable-timezone-tools),yes) check.
13992 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
13994         * timezone/Makefile: Revert previous change.
13996         [BZ #18980]
13997         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
13998         (DEFINE_DBL_MIN): Likewise.
13999         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14000         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
14001         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14002         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
14003         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
14004         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14005         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14006         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
14007         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
14008         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14009         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14010         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
14011         (flt_min): Replace with use of DEFINE_FLT_MIN.
14012         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14013         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
14014         (dbl_min): Replace with use of DEFINE_DBL_MIN.
14015         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
14016         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
14017         (flt_min): Replace with use of DEFINE_FLT_MIN.
14018         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14019         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
14020         (flt_min): Replace with use of DEFINE_FLT_MIN.
14021         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
14022         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
14023         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
14024         (__ieee754_hypot): Use DBL_NARROW_EVAL.
14025         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
14026         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
14027         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
14028         (__ieee754_pow): Use DBL_NARROW_EVAL.
14029         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
14030         (__ieee754_powf): Use FLT_NARROW_EVAL.
14031         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
14032         (__ieee754_expf_sse2): Convert double-precision result to single
14033         precision.
14034         * sysdeps/i386/fpu/libm-test-ulps: Update.
14036 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14038         * timezone/Makefile: Ignore unused variable errors due to private.h
14039         (time_t_min) and (time_t_max).
14040         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
14041         Likewise.
14043 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14045         [BZ #18981]
14046         * sysdeps/i386/fpu/i386-math-asm.h: New file.
14047         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
14048         (__ieee754_scalb): Use DBL_NARROW_EVAL.
14049         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
14050         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
14051         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
14052         (__scalbn): Use DBL_NARROW_EVAL.
14053         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
14054         (__scalbnf): Use FLT_NARROW_EVAL.
14056 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14058         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
14059         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
14060         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
14061         * stdio-common/printf_fp.c (___printf_fp):
14062         Use signbit to get the sign. Use isinf macro to allow inlining.
14063         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
14064         * stdio-common/printf_size.c (__printf_size): Likewise.
14066 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
14068         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
14070 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
14072         [BZ #18980]
14073         * sysdeps/generic/math_private.h: Include <float.h>.
14074         (math_narrow_eval): New macro.
14075         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
14076         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
14077         math_narrow_eval on overflowing return value.
14078         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
14079         Likewise.
14080         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
14081         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
14082         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
14083         Likewise.
14084         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
14086 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14088         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
14089         * math/Makefile: Remove isinf_ns.c.
14090         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
14091         * math/multc3.c (__multc3): Likewise.
14092         * math/s_casin.c (__casin): Likewise.
14093         * math/s_casinf.c (__casinf): Likewise.
14094         * math/s_casinl.c (__casinl): Likewise.
14095         * math/s_cproj.c (__cproj): Likewise.
14096         * math/s_cprojf.c (__cprojf): Likewise.
14097         * math/s_cprojl.c (__cprofl): Likewise.
14098         * math/s_ctan.c (__ctan): Likewise.
14099         * math/s_ctanf.c (__ctanf): Likewise.
14100         * math/s_ctanh.c (__ctanh): Likewise.
14101         * math/s_ctanhf.c (__ctanhf): Likewise.
14102         * math/s_ctanhl.c (__ctanhl): Likewise.
14103         * math/s_ctanl.c (__ctanl): Likewise.
14104         * math/w_fmod.c (__fmod): Likewise.
14105         * math/w_fmodf.c (__fmodf): Likewise.
14106         * math/w_fmodl.c (_fmodl): Likewise.
14107         * math/w_remainder.c (__remainder): Likewise.
14108         * math/w_remainderf.c (__remainderf): Likewise.
14109         * math/w_remainderl.c (__remainderl): Likewise.
14110         * math/w_scalb.c (__scalb): Likewise.
14111         * math/w_scalbf.c (__scalbf): Likewise.
14112         * math/w_scalbl.c (__scalbl): Likewise.
14113         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
14114         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
14115         with isinf.
14116         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
14117         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
14118         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
14119         __isinf_nsf with isinf.
14120         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
14121         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
14122         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
14123         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
14124         with isinf.
14125         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
14126         __isinf_nsl with isinf.
14127         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
14128         with isinf.
14129         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
14130         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
14131         __isinf_nsl with isinf.
14132         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
14133         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
14134         with isinf.
14136 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14138         * resolv/base64.c (rcsid): Remove unused static.
14139         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
14140         static.  (tqpi1): Likewise.
14141         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
14142         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
14143         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
14144         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
14145         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
14146         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
14147         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
14148         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
14149         Likewise.
14151 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
14153         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
14154         <nptl/pthreadP.h>.
14155         (_longjmp_unwind): Use __libc_ptf_call.
14156         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
14158 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
14160         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
14161         * sysdeps/arm/__longjmp.S: Likewise.
14163 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14165         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
14166         Use __builtin_signbit.
14167         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
14168         Use __builtin_signbitf.
14169         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
14170         Use __builtin_signbitl.
14171         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
14172         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
14174 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14176         [BZ #15367]
14177         [BZ #17441]
14179         * math/Makefile: Build test-snan.c with -fsignaling-nans.
14180         * math/math.h (fpclassify): Use __builtin_fpclassify when
14181         available.  (signbit): Use __builtin_signbit(f/l).
14182         (isfinite): Use__builtin_isfinite.  (isnormal): Use
14183         __builtin_isnormal.  (isnan): Use __builtin_isnan.
14184         (isinf): Use __builtin_isinf_sign.
14186 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
14188         * benchtests/Makefile: Add bench-math-inlines, link with libm.
14189         * benchtests/bench-math-inlines.c: New benchmark.
14190         * benchtests/bench-util.h: New file.
14191         * benchtests/bench-util.c: New file.
14192         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
14194 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
14196         * elf/tst-dlmopen1.c: Define TEST_SO.
14197         (do_test): Use TEST_SO.
14199         * elf/dl-load.c: Include libc-internal.h.
14200         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
14202 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14204         [BZ #17887]
14205         * time/strptime_l.c (__strptime_internal): Make %z accept
14206         [+-]HH:MM time zones.
14208 2015-09-18  Vincent Bernat  <vincent@bernat.im>
14210         [BZ #17886]
14211         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
14212         valid time zone.
14214 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
14216         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
14217         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
14218         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14219         (__ASSUME_FDATASYNC): Delete.
14221 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14223         * conform/linknamespace.pl: Require weak undefined symbols to be
14224         in the standard namespace.
14225         (%strong_syms): Rename to %seen_syms.
14226         (%strong_seen): Rename to %seen_where.
14228 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
14230         [BZ #18970]
14231         * misc/error.c (error): Replace pthread_setcancelstate with
14232         __pthread_setcancelstate.
14233         (error_at_line): Likewise.
14234         * posix/wordexp.c (parse_comm): Likewise.
14235         * stdlib/fmtmsg.c (fmtmsg): Likewise.
14236         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
14237         (__pthread_setcancelstate): This.
14238         (pthread_setcancelstate): Add an alias.
14239         * nptl/nptl-init.c (pthread_functions): Replace
14240         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
14241         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
14242         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
14243         hidden_proto.
14244         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
14245         it with hidden_def.
14246         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
14247         (pthread_setcancelstate): Renamed to ...
14248         (__pthread_setcancelstate): This.
14249         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
14250         __libc_ptf_call with __pthread_setcancelstate.
14252 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14253             Andreas Schwab  <schwab@suse.de>
14255         [BZ #17118]
14256         * math/s_ctan.c (__ctan): Determine sign of zero real part of
14257         result when imaginary part of argument is infinite using sine and
14258         cosine.
14259         * math/s_ctanf.c (__ctanf): Likewise.
14260         * math/s_ctanl.c (__ctanl): Likewise.
14261         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
14262         of result when real part of argument is infinite using sine and
14263         cosine.
14264         * math/s_ctanhf.c (__ctanhf): Likewise.
14265         * math/s_ctanhl.c (__ctanhl): Likewise.
14266         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
14267         (ctanh_test_data): Add more tests of ctanh.
14269 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
14271         [BZ #15384]
14272         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
14273         bit-mask as in subtraction.
14274         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
14275         Likewise.
14276         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
14277         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
14278         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
14280         [BZ #18951]
14281         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
14282         underflow exception for small results.
14283         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
14284         Likewise.
14285         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
14286         Likewise.
14287         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
14288         Likewise.
14289         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
14290         Likewise.
14291         * math/auto-libm-test-in: Add more tests of tgamma.
14292         * math/auto-libm-test-out: Regenerated.
14294 2015-09-17  Andreas Schwab  <schwab@suse.de>
14296         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
14298 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14300         [BZ #18977]
14301         * math/bits/mathcalls.h
14302         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
14303         not declare.
14304         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
14305         Likewise.
14306         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
14307         Likewise.
14308         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
14309         Likewise.
14310         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
14311         Likewise.
14312         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
14313         Likewise.
14314         * conform/data/math.h-data
14315         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
14316         function.
14317         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
14318         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
14319         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
14320         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
14321         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
14322         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
14323         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
14324         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
14325         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
14326         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
14327         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
14329         [BZ #6803]
14330         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
14331         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
14332         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
14333         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
14334         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
14335         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
14336         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
14337         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
14338         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14339         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
14340         Likewise.
14341         [NO_LONG_DOUBLE] (scalbnl): Likewise.
14342         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
14343         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
14344         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
14345         long_double_symbol calls.
14346         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
14347         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
14348         strong alias of __ldexpl.
14349         (scalbnl): Define using long_double_symbol.
14350         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
14351         Remove alias.
14352         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
14353         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
14354         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
14355         (scalbln_test_data): Add more errno expectations.
14357 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
14359         Cache the host port like we cache the task port.  This way we do not
14360         need to call the kernel just to get the port.  Furthermore, we no
14361         longer increase the reference count on every invocation of
14362         `mach_host_self'.
14364         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
14365         Protect declarations against the macro expansion.
14366         * mach/mach_init.c (__mach_host_self_): New variable.
14367         (mach_init): Initialize `__mach_host_self_'.
14368         * mach/mach_init.h (__mach_host_self_): New declaration.
14369         (__mach_host_self, mach_host_self): New macros.
14370         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
14371         Release reference.
14373 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
14375         [BZ #4404]
14376         * po/de.po: Update from Translation Project.
14378         [BZ #16415]
14379         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
14380         (__expm1l): Remove code to handle positive infinity and overflow.
14381         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
14382         variable.
14383         (__expm1l): Remove code to handle positive infinity and overflow.
14385 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
14386             Paul Pluzhnikov  <ppluzhnikov@google.com>
14388         [BZ #18872]
14389         * stdio-common/Makefile (tst-printf-bz18872): New test.
14390         (tst-printf-bz18872-mem.out): Likewise.
14391         * stdio-common/tst-printf-bz18872.sh: Generate new test.
14392         * stdio-common/vfprintf.c: Fix memory leaks.
14394 2015-09-16  Andreas Schwab  <schwab@suse.de>
14396         [BZ #17244]
14397         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
14398         Remove extra va_start/va_end calls.
14400         [BZ #17243]
14401         * posix/execl.c (execl): Add missing va_end.
14402         * posix/execle.c (execle): Likewise.
14403         * posix/execlp.c (execlp): Likewise.
14405 2015-09-15  Roland McGrath  <roland@hack.frob.com>
14407         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
14408         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
14410 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
14412         [BZ #18967]
14413         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
14414         undefine around includes of <bits/mathcalls.h>.
14415         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
14416         not declare function.
14417         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
14418         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
14419         (scalb): Likewise.
14420         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
14421         not define macro.
14422         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
14423         variable.
14424         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
14425         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
14426         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
14428         [BZ #18857]
14429         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
14430         return non-finite argument without doing ordered comparisons on
14431         it.
14433         [BZ #16296]
14434         * math/fenv.h (fegetround): Use __attribute_pure__.
14435         * include/fenv.h (__fegetround): Likewise.
14437         [BZ #18595]
14438         * math/s_ctan.c (__ctan): Force underflow exception for results
14439         whose real or imaginary part has small absolute value.
14440         * math/s_ctanf.c (__ctanf): Likewise.
14441         * math/s_ctanh.c (__ctanh): Likewise.
14442         * math/s_ctanhf.c (__ctanhf): Likewise.
14443         * math/s_ctanhl.c (__ctanhl): Likewise.
14444         * math/s_ctanl.c (__ctanl): Likewise.
14445         * math/auto-libm-test-in: Do not allow missing underflow for ctan
14446         and ctanh.  Add more tests of ctan and ctanh.
14448         [BZ #15918]
14449         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
14450         handling of cases where one argument is an infinity.
14452         [BZ #18875]
14453         [BZ #18966]
14454         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
14455         (MO): New macro.
14456         (__ieee754_exp10): For small results, force underflow exception
14457         and remove excess range and precision from return value.
14458         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
14459         (MO): New macro.
14460         (__ieee754_exp10f): For small results, force underflow exception
14461         and remove excess range and precision from return value.
14462         * math/auto-libm-test-in: Add more tests of exp10.
14463         * math/auto-libm-test-out: Regenerated.
14465 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
14467         [BZ #18875]
14468         [BZ #18961]
14469         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
14470         (MO): New macro.
14471         (__ieee754_exp): For small results, force underflow exception and
14472         remove excess range and precision from return value.
14473         (__exp_finite): Likewise.
14474         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
14475         (MO): New macro.
14476         (__ieee754_expf): For small results, force underflow exception and
14477         remove excess range and precision from return value.
14478         (__expf_finite): Likewise.
14479         * math/auto-libm-test-in: Add more tests of exp.
14480         * math/auto-libm-test-out: Regenerated.
14482         [BZ #16521]
14483         [BZ #18875]
14484         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
14485         small results.
14486         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
14487         (MO): New macro.
14488         (__ieee754_exp2): For small results, force underflow exception and
14489         remove excess range and precision from return value.
14490         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
14491         (MO): New macro.
14492         (__ieee754_exp2f): For small results, force underflow exception
14493         and remove excess range and precision from return value.
14494         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
14495         (MO): New macro.
14496         (__ieee754_exp2l): Force underflow exception for small results.
14497         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
14498         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
14499         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
14500         (MO): New macro.
14501         (__ieee754_exp2l): Force underflow exception for small results.
14502         * math/auto-libm-test-in: Add more tests or exp2.
14503         * math/auto-libm-test-out: Regenerated.
14505 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
14507         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
14509         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
14510         /dev/null.
14512 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14514         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14515         io fs process)): Drop spurious backslash.
14517 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
14519         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
14520         Use sysinfo system call instead of parsing /proc/meminfo.
14521         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
14522         Likewise.
14524 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
14526         [BZ #16985]
14527         * programs/localedef.c (main): Display argv[remaining] when
14528         output_path is NULL.
14530 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14532         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
14533         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
14534         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
14535         tanh.
14536         * math/auto-libm-test-out: Regenerated.
14537         * sysdeps/i386/fpu/libm-test-ulps: Update.
14538         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14539         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14542 2015-09-11  Roland McGrath  <roland@hack.frob.com>
14544         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
14545         Use 'override' keyword to freeze the value here, preventing
14546         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
14548 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
14550         [BZ #14912]
14551         * sysdeps/aarch64/bits/atomic.h: Move to ...
14552         * sysdeps/aarch64/atomic-machine.h: ...here.
14553         (_AARCH64_BITS_ATOMIC_H): Rename macro to
14554         _AARCH64_ATOMIC_MACHINE_H.
14555         * sysdeps/alpha/bits/atomic.h: Move to ...
14556         * sysdeps/alpha/atomic-machine.h: ...here.
14557         * sysdeps/arm/bits/atomic.h: Move to ...
14558         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
14559         * bits/atomic.h: Move to ...
14560         * sysdeps/generic/atomic-machine.h: ...here.
14561         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14562         * sysdeps/i386/bits/atomic.h: Move to ...
14563         * sysdeps/i386/atomic-machine.h: ...here.
14564         * sysdeps/ia64/bits/atomic.h: Move to ...
14565         * sysdeps/ia64/atomic-machine.h: ...here.
14566         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
14567         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
14568         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14569         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
14570         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
14571         * sysdeps/microblaze/bits/atomic.h: Move to ...
14572         * sysdeps/microblaze/atomic-machine.h: ...here.
14573         * sysdeps/mips/bits/atomic.h: Move to ...
14574         * sysdeps/mips/atomic-machine.h: ...here.
14575         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
14576         * sysdeps/powerpc/bits/atomic.h: Move to ...
14577         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
14578         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
14579         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
14580         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
14581         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
14582         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
14583         <atomic-machine.h> instead of <bits/atomic.h>.
14584         * sysdeps/s390/bits/atomic.h: Move to ...
14585         * sysdeps/s390/atomic-machine.h: ...here.
14586         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
14587         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
14588         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14589         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
14590         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
14591         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
14592         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
14593         * sysdeps/tile/bits/atomic.h: Move to ...
14594         * sysdeps/tile/atomic-machine.h: ...here.
14595         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
14596         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
14597         <sysdeps/tile/atomic-machine.h> instead of
14598         <sysdeps/tile/bits/atomic.h>.
14599         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14600         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
14601         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
14602         <sysdeps/tile/atomic-machine.h> instead of
14603         <sysdeps/tile/bits/atomic.h>.
14604         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14605         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
14606         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
14607         <sysdeps/arm/atomic-machine.h> instead of
14608         <sysdeps/arm/bits/atomic.h>.
14609         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
14610         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
14611         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14612         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
14613         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
14614         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
14615         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
14616         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
14617         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
14618         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
14619         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
14620         * sysdeps/x86_64/bits/atomic.h: Move to ...
14621         * sysdeps/x86_64/atomic-machine.h: ...here.
14622         * include/atomic.h: Include <atomic-machine.h> instead of
14623         <bits/atomic.h>.
14625         * sysdeps/mips/mips32/libm-test-ulps: Update.
14626         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14628         [BZ #18952]
14629         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
14630         not convert non-integer negative arguments to int to determine the
14631         value of signgam.
14632         * math/auto-libm-test-in: Add more tests of lgamma.
14633         * math/auto-libm-test-out: Regenerated.
14635         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
14636         cosh, csqrt, erfc, expm1 and lgamma.
14637         * math/auto-libm-test-out: Regenerated.
14638         * sysdeps/i386/fpu/libm-test-ulps: Update.
14639         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14641 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
14643         [BZ #2542]
14644         [BZ #2543]
14645         [BZ #2558]
14646         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
14647         __lgamma_neg for arguments from -28.0 to -2.0.
14648         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
14649         __lgamma_negf for arguments from -15.0 to -2.0.
14650         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
14651         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
14652         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
14653         Call __lgamma_negl for arguments from -33.0 to -2.0.
14654         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
14655         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
14656         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
14657         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
14658         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14659         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14660         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
14661         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
14662         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
14663         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
14664         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
14665         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
14666         (__lgamma_neg): Likewise.
14667         (__lgamma_negl): Likewise.
14668         (__lgamma_product): Likewise.
14669         (__lgamma_productl): Likewise.
14670         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
14671         * math/auto-libm-test-in: Add more tests of lgamma.
14672         * math/auto-libm-test-out: Regenerated.
14673         * sysdeps/i386/fpu/libm-test-ulps: Update.
14674         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14676 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
14678         [BZ #18675]
14679         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
14681 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
14683         [BZ #14912]
14684         * bits/libc-lock.h: Move to ...
14685         * sysdeps/generic/libc-lock.h: ...here.
14686         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14687         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
14688         * sysdeps/mach/hurd/libc-lock.h: ...here.
14689         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14690         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
14691         * sysdeps/mach/bits/libc-lock.h: Move to ...
14692         * sysdeps/mach/libc-lock.h: ...here.
14693         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14694         * sysdeps/nptl/bits/libc-lock.h: Move to ...
14695         * sysdeps/nptl/libc-lock.h: ...here.
14696         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
14697         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
14698         * sysdeps/nptl/libc-lockP.h: ...here.
14699         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
14700         * crypt/crypt_util.c: Include <libc-lock.h> instead of
14701         <bits/libc-lock.h>.
14702         * dirent/scandir-tail.c: Likewise.
14703         * dlfcn/dlerror.c: Likewise.
14704         * elf/dl-close.c: Likewise.
14705         * elf/dl-iteratephdr.c: Likewise.
14706         * elf/dl-lookup.c: Likewise.
14707         * elf/dl-open.c: Likewise.
14708         * elf/dl-support.c: Likewise.
14709         * elf/dl-writev.h: Likewise.
14710         * elf/rtld.c: Likewise.
14711         * grp/fgetgrent.c: Likewise.
14712         * gshadow/fgetsgent.c: Likewise.
14713         * gshadow/sgetsgent.c: Likewise.
14714         * iconv/gconv_conf.c: Likewise.
14715         * iconv/gconv_db.c: Likewise.
14716         * iconv/gconv_dl.c: Likewise.
14717         * iconv/gconv_int.h: Likewise.
14718         * iconv/gconv_trans.c: Likewise.
14719         * include/link.h: Likewise.
14720         * inet/getnameinfo.c: Likewise.
14721         * inet/getnetgrent.c: Likewise.
14722         * inet/getnetgrent_r.c: Likewise.
14723         * intl/bindtextdom.c: Likewise.
14724         * intl/dcigettext.c: Likewise.
14725         * intl/finddomain.c: Likewise.
14726         * intl/gettextP.h: Likewise.
14727         * intl/loadmsgcat.c: Likewise.
14728         * intl/localealias.c: Likewise.
14729         * intl/textdomain.c: Likewise.
14730         * libidn/idn-stub.c: Likewise.
14731         * libio/libioP.h: Likewise.
14732         * locale/duplocale.c: Likewise.
14733         * locale/freelocale.c: Likewise.
14734         * locale/newlocale.c: Likewise.
14735         * locale/setlocale.c: Likewise.
14736         * login/getutent_r.c: Likewise.
14737         * login/getutid_r.c: Likewise.
14738         * login/getutline_r.c: Likewise.
14739         * login/utmp-private.h: Likewise.
14740         * login/utmpname.c: Likewise.
14741         * malloc/mtrace.c: Likewise.
14742         * misc/efgcvt.c: Likewise.
14743         * misc/error.c: Likewise.
14744         * misc/fstab.c: Likewise.
14745         * misc/getpass.c: Likewise.
14746         * misc/mntent.c: Likewise.
14747         * misc/syslog.c: Likewise.
14748         * nis/nis_call.c: Likewise.
14749         * nis/nis_callback.c: Likewise.
14750         * nis/nss-default.c: Likewise.
14751         * nis/nss_compat/compat-grp.c: Likewise.
14752         * nis/nss_compat/compat-initgroups.c: Likewise.
14753         * nis/nss_compat/compat-pwd.c: Likewise.
14754         * nis/nss_compat/compat-spwd.c: Likewise.
14755         * nis/nss_nis/nis-alias.c: Likewise.
14756         * nis/nss_nis/nis-ethers.c: Likewise.
14757         * nis/nss_nis/nis-grp.c: Likewise.
14758         * nis/nss_nis/nis-hosts.c: Likewise.
14759         * nis/nss_nis/nis-network.c: Likewise.
14760         * nis/nss_nis/nis-proto.c: Likewise.
14761         * nis/nss_nis/nis-pwd.c: Likewise.
14762         * nis/nss_nis/nis-rpc.c: Likewise.
14763         * nis/nss_nis/nis-service.c: Likewise.
14764         * nis/nss_nis/nis-spwd.c: Likewise.
14765         * nis/nss_nisplus/nisplus-alias.c: Likewise.
14766         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
14767         * nis/nss_nisplus/nisplus-grp.c: Likewise.
14768         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
14769         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
14770         * nis/nss_nisplus/nisplus-network.c: Likewise.
14771         * nis/nss_nisplus/nisplus-proto.c: Likewise.
14772         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
14773         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
14774         * nis/nss_nisplus/nisplus-service.c: Likewise.
14775         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
14776         * nis/ypclnt.c: Likewise.
14777         * nptl/libc_pthread_init.c: Likewise.
14778         * nss/getXXbyYY.c: Likewise.
14779         * nss/getXXent.c: Likewise.
14780         * nss/getXXent_r.c: Likewise.
14781         * nss/nss_db/db-XXX.c: Likewise.
14782         * nss/nss_db/db-netgrp.c: Likewise.
14783         * nss/nss_db/nss_db.h: Likewise.
14784         * nss/nss_files/files-XXX.c: Likewise.
14785         * nss/nss_files/files-alias.c: Likewise.
14786         * nss/nsswitch.c: Likewise.
14787         * posix/regex_internal.h: Likewise.
14788         * posix/wordexp.c: Likewise.
14789         * pwd/fgetpwent.c: Likewise.
14790         * resolv/res_hconf.c: Likewise.
14791         * resolv/res_libc.c: Likewise.
14792         * shadow/fgetspent.c: Likewise.
14793         * shadow/lckpwdf.c: Likewise.
14794         * shadow/sgetspent.c: Likewise.
14795         * socket/opensock.c: Likewise.
14796         * stdio-common/reg-modifier.c: Likewise.
14797         * stdio-common/reg-printf.c: Likewise.
14798         * stdio-common/reg-type.c: Likewise.
14799         * stdio-common/vfprintf.c: Likewise.
14800         * stdio-common/vfscanf.c: Likewise.
14801         * stdlib/abort.c: Likewise.
14802         * stdlib/cxa_atexit.c: Likewise.
14803         * stdlib/fmtmsg.c: Likewise.
14804         * stdlib/random.c: Likewise.
14805         * stdlib/setenv.c: Likewise.
14806         * string/strsignal.c: Likewise.
14807         * sunrpc/auth_none.c: Likewise.
14808         * sunrpc/bindrsvprt.c: Likewise.
14809         * sunrpc/create_xid.c: Likewise.
14810         * sunrpc/key_call.c: Likewise.
14811         * sunrpc/rpc_thread.c: Likewise.
14812         * sysdeps/arm/backtrace.c: Likewise.
14813         * sysdeps/generic/ldsodefs.h: Likewise.
14814         * sysdeps/generic/stdio-lock.h: Likewise.
14815         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
14816         * sysdeps/i386/backtrace.c: Likewise.
14817         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
14818         * sysdeps/m68k/backtrace.c: Likewise.
14819         * sysdeps/mach/hurd/cthreads.c: Likewise.
14820         * sysdeps/mach/hurd/dirstream.h: Likewise.
14821         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14822         * sysdeps/nptl/malloc-machine.h: Likewise.
14823         * sysdeps/nptl/stdio-lock.h: Likewise.
14824         * sysdeps/posix/dirstream.h: Likewise.
14825         * sysdeps/posix/getaddrinfo.c: Likewise.
14826         * sysdeps/posix/system.c: Likewise.
14827         * sysdeps/pthread/aio_suspend.c: Likewise.
14828         * sysdeps/s390/s390-32/backtrace.c: Likewise.
14829         * sysdeps/s390/s390-64/backtrace.c: Likewise.
14830         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
14831         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
14832         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
14833         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
14834         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
14835         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
14836         * sysdeps/unix/sysv/linux/system.c: Likewise.
14837         * sysdeps/x86_64/backtrace.c: Likewise.
14838         * time/alt_digit.c: Likewise.
14839         * time/era.c: Likewise.
14840         * time/tzset.c: Likewise.
14841         * wcsmbs/wcsmbsload.c: Likewise.
14842         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
14843         instead of <bits/libc-lock.h> in comment.
14845 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
14847         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
14848         Only use .set mips2 if the current ISA is below mips2.
14849         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
14850         Likewise.
14851         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
14852         mips32r2 if the current ISA is below mips32r2.
14853         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
14854         (TLS_IE): Updated to use the TLD_RDHWR macro.
14855         (TLS_LE): Likewise.
14856         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
14857         __ASSEMBLER__ condition.
14859 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14861         Fix parallel build of before-compile targets.
14863         * sysdeps/mach/Makefile ($(patsubst
14864         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
14865         mach-before-compile target.
14866         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14867         io fs process)): Move rule to dedicated hurd-before-compile target.
14869 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14871         Fix rules generating headers in hurd/ and mach/ when initial make call
14872         has subdir= explicitly set.
14874         * sysdeps/mach/Makefile ($(patsubst
14875         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
14876         calling $(MAKE).
14877         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
14878         io fs process)): Force subdir to hurd when calling $(MAKE).
14879         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
14880         subdir to mach when calling $(MAKE).
14882 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
14884         Check sysheaders when looking for Mach and Hurd headers
14886         * sysdeps/mach/configure.ac: Add sysheaders check.
14887         * sysdeps/mach/configure: Regenerate.
14888         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
14889         * sysdeps/mach/hurd/configure: Regenerate.
14891 2015-09-04  Roland McGrath  <roland@hack.frob.com>
14893         [BZ #18921]
14894         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
14895         Fix inverted sense of test of 'o_directory_works' value.
14896         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
14897         Bernhard Voelker <mail@bernhard-voelker.de>.
14899 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14901         [BZ #14912]
14902         * bits/linkmap.h: Move to ...
14903         * sysdeps/generic/linkmap.h: ...here.
14904         * sysdeps/aarch64/bits/linkmap.h: Move to ...
14905         * sysdeps/aarch64/linkmap.h: ...here.
14906         * sysdeps/arm/bits/linkmap.h: Move to ...
14907         * sysdeps/arm/linkmap.h: ...here.
14908         * sysdeps/hppa/bits/linkmap.h: Move to ...
14909         * sysdeps/hppa/linkmap.h: ...here.
14910         * sysdeps/ia64/bits/linkmap.h: Move to ...
14911         * sysdeps/ia64/linkmap.h: ...here.
14912         * sysdeps/mips/bits/linkmap.h: Move to ...
14913         * sysdeps/mips/linkmap.h: ...here.
14914         * sysdeps/s390/bits/linkmap.h: Move to ...
14915         * sysdeps/s390/linkmap.h: ...here.
14916         * sysdeps/sh/bits/linkmap.h: Move to ...
14917         * sysdeps/sh/linkmap.h: ...here.
14918         * sysdeps/x86/bits/linkmap.h: Move to ...
14919         * sysdeps/x86/linkmap.h: ...here.
14920         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
14922 2015-09-04  Andreas Schwab  <schwab@suse.de>
14924         [BZ #18635]
14925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
14926         (__makecontext): Terminate FDE before return label.
14927         (__novec_makecontext): Likewise.
14929 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
14931         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
14932         first member of struct sv in syscall macro.
14934 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
14936         [BZ #14912]
14937         * bits/stdio-lock.h: Move to ...
14938         * sysdeps/generic/stdio-lock.h: ...here.
14939         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14940         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
14941         * sysdeps/nptl/stdio-lock.h: ...here.
14942         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
14943         * include/libio.h: Include <stdio-lock.h> instead of
14944         <bits/stdio-lock.h>.
14945         * sysdeps/nptl/fork.c: Likewise.
14946         * sysdeps/pthread/flockfile.c: Likewise.
14947         * sysdeps/pthread/ftrylockfile.c: Likewise.
14948         * sysdeps/pthread/funlockfile.c: Likewise.
14950         [BZ #14912]
14951         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
14952         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
14953         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
14954         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
14955         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
14956         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
14957         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
14959 2015-09-03  Roland McGrath  <roland@hack.frob.com>
14961         * elf/Makefile (test-xfail-tst-protected1a): New variable.
14962         (test-xfail-tst-protected1b): New variable.
14964 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
14966         [BZ #14912]
14967         * bits/libc-tsd.h: Move to ...
14968         * sysdeps/generic/libc-tsd.h: ...here.
14969         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
14970         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
14971         * sysdeps/mach/hurd/libc-tsd.h: ...here.
14972         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
14973         * include/ctype.h: Include <libc-tsd.h> instead of
14974         <bits/libc-tsd.h>.
14975         * include/rpc/rpc.h: Likewise.
14976         * locale/localeinfo.h: Likewise.
14977         * sunrpc/rpc_thread.c: Likewise.
14978         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
14979         * sysdeps/nptl/malloc-machine.h: Likewise.
14981         * Makefile (headers): Remove bits/libc-lock.h.
14982         * libio/Makefile (headers): Remove bits/stdio-lock.h.
14984         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
14985         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
14986         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
14987         <bits/stdio-lock.h>.
14988         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
14989         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
14991 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
14993         [BZ #18757]
14994         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
14995         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
14996         BZ #18757.
14998 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
15000         * malloc/mtrace.pl: Filter out NULL entries.
15002 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
15004         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
15005         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
15006         macro.
15008         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
15009         (TCP_CC_INFO): Likewise.
15010         (TCP_SAVE_SYN): Likewise.
15011         (TCP_SAVED_SYN): Likewise.
15013 2015-08-31  Brett Neumeier <brett@neumeier.us>
15015         [BZ #18870]
15016         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
15018 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
15020         [BZ #18873]
15021         Fix broken overflow check in posix_fallocate
15022         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
15023         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
15024         Fix parenthesization typo.
15026 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
15028         [BZ #18887]
15029         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
15030         tst-mntent-blank-passno.
15031         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
15032         * misc/tst-mntent-blank-corrupt.c: New test.
15033         * misc/tst-mntent-blank-passno.c: New test ripped from ...
15034         * misc/tst-mntent.c (do_test): ... here.
15036 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
15038         [BZ #4404]
15039         * po/de.po: Fix SIGALRM typo.
15041 2015-08-28  James Perkins  <james@loowit.net>
15043         * time/tst-strptime2.c (tests): Replace short list of test
15044         strings for strptime %z specifier with code which exhaustively
15045         tests every combination of sign and 0 to 5 digits. Tests for
15046         rejection of invalid strings.
15048 2015-08-28  James Perkins  <james@loowit.net>
15050         [BZ #16141]
15051         * time/strptime_l.c (__strptime_internal): Fix %z minutes
15052         calculation, removing incorrect decimal time rounding, so that
15053         all minute values result in a valid seconds value.
15054         * time/strptime_l.c (__strptime_internal): Extend %z time zone
15055         offset range limits to UTC-99:59 through UTC+99:59 to parse
15056         current and historical use cases.
15057         * time/tst-strptime2.c (tests): Modify and add tests for the
15058         strptime %z input field descriptor, specifically conversion of
15059         minutes to seconds and validating an offset range of -9959 to
15060         +9959.
15062 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
15063             Dmitry V. Levin  <ldv@altlinux.org>
15065         [BZ #18877]
15066         * posix/Makefile (tests): Add tst-mmap-offset.
15067         * posix/tst-mmap.c: New file.
15068         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
15069         offset calculation for negative values.
15071 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15073         * sysdeps/i386/init-arch.h: New file.
15074         * sysdeps/i386/i586/init-arch.h: Likewise.
15075         * sysdeps/i386/i686/init-arch.h: Likewise.
15076         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
15077         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
15078         * sysdeps/x86/cpu-features.h (bit_I586): New.
15079         (bit_I686): Likewise.
15080         (bit_CX8): Likewise.
15081         (bit_CMOV): Likewise.
15082         (index_CX8): Likewise.
15083         (index_CMOV): Likewise.
15084         (index_I586): Likewise.
15085         (index_I686): Likewise.
15086         (reg_CX8): Likewise.
15087         (reg_CMOV): Likewise.
15088         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
15089         available at compile-time.
15090         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
15091         available at compile-time.
15092         * sysdeps/x86/init-arch.h (USE_I586): New macro.
15093         (USE_I686): Likewise.
15095 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15097         * sysdeps/i386/bcopy.S: New file.
15098         * sysdeps/i386/bzero.S: Likewise.
15099         * sysdeps/i386/memcpy.S: Likewise.
15100         * sysdeps/i386/memmove.S: Likewise.
15101         * sysdeps/i386/mempcpy.S: Likewise.
15102         * sysdeps/i386/memset.S: Likewise.
15103         * sysdeps/i386/bzero.c: Removed.
15104         * sysdeps/i386/memset.c: Likewise.
15105         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
15106         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
15107         * sysdeps/i386/i586/memset_chk.S: Likewise.
15108         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
15109         * sysdeps/i386/memcpy_chk.S: Here.
15110         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
15111         * sysdeps/i386/memmove_chk.S: Here.
15112         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
15113         * sysdeps/i386/mempcpy_chk.S: Likewise.
15114         * sysdeps/i386/i686/memset_chk.S: Moved to ...
15115         * sysdeps/i386/memset_chk.S: Likewise.
15117 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
15119         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
15120         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
15121         file, move DIAG_POP_NEEDS_COMMENT to end of file.
15122         * soft-fp/fmadf4.c: Ditto.
15123         * soft-fp/fmatf4.c: Ditto.
15125 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15127         * sysdeps/i386/i586/Implies: Removed.
15128         * sysdeps/i386/i686/Implies: Likewise.
15130 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15132         * sysdeps/i386/i486/strlen.S: Moved to ...
15133         * sysdeps/i386/strlen.S: Here.
15135 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15137         * sysdeps/i386/i486/strcat.S: Moved to ...
15138         * sysdeps/i386/strcat.S: Here.
15140 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15142         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
15143         * sysdeps/i386/pthread_spin_trylock.S: Here.
15144         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
15145         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
15147 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15149         * sysdeps/i386/i486/string-inlines.c: Moved to ...
15150         * sysdeps/i386/string-inlines.c: Here.
15152 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15154         * sysdeps/i386/i486/htonl.S: Moved ...
15155         * sysdeps/i386/htonl.S: here.
15157 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15159         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
15160         * sysdeps/i386/bits/atomic.h: Here.
15162 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
15164         * sysdeps/i386/i486/Versions: Removed.
15166 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
15168         [BZ #2898]
15169         * misc/mktemp.c: Add mkdtemp to the link_warning message.
15170         Based on patch by Aurelien Jarno.
15172 2015-08-26  Stan Shebs  <stanshebs@google.com>
15174         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
15175         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
15177 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15179         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
15180         * sysdeps/powerpc/dl-procinfo.c:
15181         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
15182         feature so it shows when LD_SHOW_AUXV=1.
15184 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15186         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
15187         (__arch_compare_and_exchange_val_32_acq): Remove and use common
15188         definition.  ISA 2.07B no longer requires full sync.
15190 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
15192         [BZ #18863]
15193         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
15194         (si_call_addr): Define.
15195         (si_syscall): Define.
15196         (si_arch): Define.
15198 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
15200         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
15201         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
15202         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
15203         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15204         (__memset_zero_constant_len_parameter): New.
15205         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
15206         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
15207         (__memset_zero_constant_len_parameter): Don't define if
15208         __memset_chk or USE_AS_BZERO are defined.
15210         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
15211         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
15212         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
15214         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
15215         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
15216         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
15217         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
15218         comments.
15219         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
15220         -mno-mmx for $(all-rtld-routines).
15221         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
15222         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
15223         i386.
15225 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
15227         * sysdeps/generic/unwind.h
15228         (_Unwind_Word): Use __mode__(__unwind_word__)
15229         instead of __mode__(__word__).
15230         (_Unwind_Sword): Likewise.
15232         * sysdeps/s390/s390-64/utf8-utf16-z9.c
15233         (MAX_NEEDED_INPUT): New define.
15234         (MAX_NEEDED_OUTPUT): New define.
15236         * NEWS: New item for IBM z13 string optimizations.
15238         * sysdeps/s390/multiarch/memrchr-c.c: New File.
15239         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
15240         * sysdeps/s390/multiarch/memrchr.c: Likewise.
15241         * sysdeps/s390/multiarch/Makefile
15242         (sysdep_routines): Add memrchr functions.
15243         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15244         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
15246         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
15247         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
15248         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
15249         * sysdeps/s390/multiarch/Makefile
15250         (sysdep_routines): Add wmemcmp functions.
15251         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15252         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
15253         * benchtests/bench-wmemcmp.c: New File.
15254         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
15256         * sysdeps/s390/multiarch/wmemset-c.c: New File.
15257         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
15258         * sysdeps/s390/multiarch/wmemset.c: Likewise.
15259         * sysdeps/s390/multiarch/Makefile
15260         (sysdep_routines): Add wmemset functions.
15261         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15262         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
15263         * wcsmbs/wmemset.c: Use WMEMSET if defined.
15264         * string/test-memset.c: Add wmemset support.
15265         * wcsmbs/test-wmemset.c: New File.
15266         * wcsmbs/Makefile (strop-tests): Add wmemset.
15267         * benchtests/bench-memset.c: Add wmemset support.
15268         * benchtests/bench-wmemset.c: New File.
15269         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
15271         * sysdeps/s390/multiarch/memccpy-c.c: New File.
15272         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
15273         * sysdeps/s390/multiarch/memccpy.c: Likewise.
15274         * sysdeps/s390/multiarch/Makefile
15275         (sysdep_routines): Add memccpy functions.
15276         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15277         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
15278         * string/memccpy.c: Use MEMCCPY if defined.
15280         * sysdeps/s390/multiarch/memchr-vx.S: New File.
15281         * sysdeps/s390/multiarch/memchr.c: Likewise.
15282         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
15283         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
15284         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
15285         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
15286         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
15287         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
15288         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
15289         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
15290         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
15291         and rawmemchr functions.
15292         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
15293         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
15294         and wmemchr.
15295         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
15296         * string/test-memchr.c: Add wmemchr support.
15297         * wcsmbs/test-wmemchr.c: New File.
15298         * wcsmbs/Makefile (strop-tests): Add wmemchr.
15299         * benchtests/bench-memchr.c: Add wmemchr support.
15300         * benchtests/bench-wmemchr.c: New File.
15301         * benchtests/Makefile (wcsmbs-bench): wmemchr.
15303         * sysdeps/s390/multiarch/strcspn-c.c: New File.
15304         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
15305         * sysdeps/s390/multiarch/strcspn.c: Likewise.
15306         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
15307         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
15308         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
15309         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
15310         wcscspn functions.
15311         * sysdeps/s390/multiarch/ifunc-impl-list.c
15312         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
15313         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
15314         * string/test-strcspn.c: Add wcscspn support.
15315         * wcsmbs/test-wcscspn.c: New File.
15316         * wcsmbs/Makefile (strop-tests): Add wcscspn.
15317         * benchtests/bench-strcspn.c: Add wcscspn support.
15318         * benchtests/bench-wcscspn.c: New File.
15319         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
15321         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
15322         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
15323         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
15324         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
15325         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
15326         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
15327         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
15328         wcspbrk functions.
15329         * sysdeps/s390/multiarch/ifunc-impl-list.c
15330         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
15331         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
15332         * string/test-strpbrk.c: Add wcspbrk support.
15333         * wcsmbs/test-wcspbrk.c: New File.
15334         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
15335         * benchtests/bench-strpbrk.c: Add wcspbrk support.
15336         * benchtests/bench-wcspbrk.c: New File.
15337         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
15339         * sysdeps/s390/multiarch/strspn-c.c: New File.
15340         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
15341         * sysdeps/s390/multiarch/strspn.c: Likewise.
15342         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
15343         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
15344         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
15345         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
15346         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
15347         wcsspn functions.
15348         * sysdeps/s390/multiarch/ifunc-impl-list.c
15349         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
15350         * string/test-strspn.c: Add wcsspn support.
15351         * wcsmbs/test-wcsspn.c: New File.
15352         * wcsmbs/Makefile (strop-tests): Add wcsspn.
15353         * benchtests/bench-strspn.c: Add wcsspn support.
15354         * benchtests/bench-wcsspn.c: New File.
15355         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
15357         * sysdeps/s390/multiarch/strrchr-c.c: New File.
15358         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
15359         * sysdeps/s390/multiarch/strrchr.c: Likewise.
15360         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
15361         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
15362         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
15363         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
15364         wcsrchr functions.
15365         * sysdeps/s390/multiarch/ifunc-impl-list.c
15366         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
15367         * benchtests/bench-wcsrchr.c: New File.
15368         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
15370         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
15371         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
15372         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
15373         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
15374         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
15375         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
15376         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
15377         wcschrnul functions.
15378         * sysdeps/s390/multiarch/ifunc-impl-list.c
15379         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
15380         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
15381         * string/test-strchr.c: Add wcschrnul support.
15382         * wcsmbs/test-wcschrnul.c: New File.
15383         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
15384         * benchtests/bench-strchr.c: Add wcschrnul support.
15385         * benchtests/bench-wcschrnul.c: New File.
15386         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
15388         * sysdeps/s390/multiarch/strchr-c.c: New File.
15389         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
15390         * sysdeps/s390/multiarch/strchr.c: Likewise.
15391         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
15392         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
15393         * sysdeps/s390/multiarch/wcschr.c: Likewise.
15394         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
15395         wcschr functions.
15396         * sysdeps/s390/multiarch/ifunc-impl-list.c
15397         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
15398         * string/strchr.c (STRCHR): Define and use macro.
15399         * benchtests/bench-wcschr.c: New File.
15400         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
15402         * sysdeps/s390/multiarch/strncmp-c.c: New File.
15403         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
15404         * sysdeps/s390/multiarch/strncmp.c: Likewise.
15405         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
15406         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
15407         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
15408         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
15409         wcsncmp functions.
15410         * sysdeps/s390/multiarch/ifunc-impl-list.c
15411         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
15412         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
15413         * benchtests/bench-strncmp.c: Add wcsncmp support.
15414         * benchtests/bench-wcsncmp.c: New File.
15415         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
15417         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
15418         * sysdeps/s390/multiarch/strcmp.c: Likewise.
15419         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
15420         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
15421         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
15422         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
15423         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
15424         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
15425         wcscmp functions.
15426         * sysdeps/s390/multiarch/ifunc-impl-list.c
15427         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
15428         * string/strcmp.c (STRCMP): Define and use macro.
15429         * benchtests/bench-wcscmp.c: New File.
15430         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
15431         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
15432         instead of _HAVE_STRING_ARCH_memchr.
15434         * sysdeps/s390/multiarch/strncat-c.c: New File.
15435         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
15436         * sysdeps/s390/multiarch/strncat.c: Likewise.
15437         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
15438         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
15439         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
15440         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
15441         wcsncat functions.
15442         * sysdeps/s390/multiarch/ifunc-impl-list.c
15443         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
15444         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
15445         * string/test-strncat.c: Add wcsncat support.
15446         * wcsmbs/test-wcsncat.c: New File.
15447         * wcsmbs/Makefile (strop-tests): Add wcsncat.
15448         * benchtests/bench-strncat.c: Add wcsncat support.
15449         * benchtests/bench-wcsncat.c: New File.
15450         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
15452         * sysdeps/s390/multiarch/strcat-c.c: New File.
15453         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
15454         * sysdeps/s390/multiarch/strcat.c: Likewise.
15455         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
15456         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
15457         * sysdeps/s390/multiarch/wcscat.c: Likewise.
15458         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
15459         wcscat functions.
15460         * sysdeps/s390/multiarch/ifunc-impl-list.c
15461         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
15462         * string/strcat.c (STRCAT): Define and use macro.
15463         * wcsmbs/wcscat.c: Use WCSCAT if defined.
15464         * string/test-strcat.c: Add wcscat support.
15465         * wcsmbs/test-wcscat.c: New File.
15466         * wcsmbs/Makefile (strop-tests): Add wcscat.
15467         * benchtests/bench-strcat.c: Add wcscat support.
15468         * benchtests/bench-wcscat.c: New File.
15469         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
15471         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
15472         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
15473         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
15474         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
15475         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
15476         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
15477         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
15478         wcpncpy functions.
15479         * sysdeps/s390/multiarch/ifunc-impl-list.c
15480         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
15481         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
15482         * string/test-stpncpy.c: Add wcpncpy support.
15483         * wcsmbs/test-wcpncpy.c: New File.
15484         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
15485         * benchtests/bench-stpncpy.c: Add wcpncpy support.
15486         * benchtests/bench-wcpncpy.c: New File.
15487         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
15489         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
15490         * sysdeps/s390/multiarch/strncpy.c: Likewise.
15491         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
15492         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
15493         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
15494         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
15495         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
15496         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
15497         wcsncpy functions.
15498         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
15499         * sysdeps/s390/multiarch/ifunc-impl-list.c
15500         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
15501         * string/test-strncpy.c: Add wcsncpy support.
15502         * wcsmbs/test-wcsncpy.c: New File.
15503         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
15504         * benchtests/bench-strncpy.c: Add wcsncpy support.
15505         * benchtests/bench-wcsncpy.c: New File.
15506         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
15508         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
15509         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
15510         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
15511         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
15512         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
15513         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
15514         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
15515         wcpcpy functions.
15516         * string/stpcpy.c: Use STPCPY if defined.
15517         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
15518         * sysdeps/s390/multiarch/ifunc-impl-list.c
15519         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
15520         * string/test-stpcpy.c: Add wcpcpy support.
15521         * wcsmbs/test-wcpcpy.c: New File.
15522         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
15523         * benchtests/bench-stpcpy.c: Add wcpcpy support.
15524         * benchtests/bench-wcpcpy.c: New File.
15525         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
15527         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
15528         * sysdeps/s390/multiarch/strcpy.c: Likewise.
15529         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
15530         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
15531         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
15532         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
15533         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
15534         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
15535         wcscpy functions.
15536         * sysdeps/s390/multiarch/ifunc-impl-list.c
15537         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
15538         * benchtests/bench-wcscpy.c: New File.
15539         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
15541         * sysdeps/s390/multiarch/strnlen-c.c: New File.
15542         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
15543         * sysdeps/s390/multiarch/strnlen.c: Likewise.
15544         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
15545         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
15546         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
15547         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
15548         wcsnlen functions.
15549         * sysdeps/s390/multiarch/ifunc-impl-list.c
15550         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
15551         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
15552         * string/test-strnlen.c: Add wcsnlen support.
15553         * wcsmbs/test-wcsnlen.c: New File.
15554         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
15555         * benchtests/bench-strnlen.c: Add wcsnlen support.
15556         * benchtests/bench-wcsnlen.c: New File.
15557         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
15559         * sysdeps/s390/multiarch/Makefile: New File.
15560         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
15561         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
15562         * sysdeps/s390/multiarch/strlen.c: Likewise.
15563         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
15564         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
15565         * sysdeps/s390/multiarch/wcslen.c: Likewise.
15566         * string/strlen.c (STRLEN): Define and use macro.
15567         * sysdeps/s390/multiarch/ifunc-impl-list.c
15568         (IFUNC_VX_IMPL): New macro function.
15569         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
15570         * benchtests/Makefile (wcsmbs-bench): New variable.
15571         (string-bench-all): Added wcsmbs-bench.
15572         * benchtests/bench-wcslen.c: New File.
15574         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
15575         s390_vx_libc_ifunc2): New macro function.
15577         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
15578         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
15579         assembler support.
15580         * sysdeps/s390/configure: Regenerated.
15582         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
15583         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
15585         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
15586         * sysdeps/s390/dl-procinfo.h: Add vector capability.
15587         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
15589         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
15590         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
15591         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
15592         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
15593         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
15594         (memcmp, bcmp): Use __memcmp_default as alias source.
15595         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
15596         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
15597         Rename to __memcmp_default.
15598         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
15599         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
15600         (memcpy): Use __memcpy_default as alias source.
15601         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
15602         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
15603         Rename to __memcpy_default.
15604         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
15605         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
15606         (memset): Use __memset_default as alias source.
15607         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
15608         * sysdeps/s390/s390-32/memset.S (__memset_g5):
15609         Rename to __memset_default.
15610         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
15611         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
15612         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
15613         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
15614         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
15615         (memcmp, bcmp): Use __memcmp_default as alias source.
15616         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
15617         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
15618         Rename to __memcmp_default.
15619         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
15620         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
15621         (memcpy): Use __memcpy_default as alias source.
15622         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
15623         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
15624         Rename to __memcpy_default.
15625         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
15626         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
15627         (memset): Use __memset_default as alias source.
15628         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
15629         * sysdeps/s390/s390-64/memset.S (__memset_z900):
15630         Rename to __memset_default.
15631         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
15632         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
15634         [BZ #18610]
15635         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
15636         __ieee_instruction_pointer to __unused.
15637         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
15638         __ieee_instruction_pointer.
15639         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
15640         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
15641         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
15642         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
15643         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
15644         Mark dxc-field as reserved.
15646 2015-08-25  Roland McGrath  <roland@hack.frob.com>
15648         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
15649         if the weak reference is not null.
15651 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15653         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
15655         [BZ #11214]
15656         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
15658 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15660         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
15661         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
15662         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
15663         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
15664         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
15665         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
15666         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
15667         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
15668         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
15669         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
15670         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
15671         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
15672         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
15673         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
15674         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
15675         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
15676         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
15677         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
15679 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15681         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
15682         register other than r0 for tabort, it has special meaning.
15683         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
15684         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
15685         transaction before starting syscall.
15687 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
15689         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
15691 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15693         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
15695         * sysdeps/x86_64/rtld-memcmp.c: Removed.
15696         * sysdeps/x86_64/rtld-memset.S: Likewise.
15697         * sysdeps/x86_64/rtld-strchr.S: Likewise.
15698         * sysdeps/x86_64/rtld-strlen.S: Likewise.
15699         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
15700         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
15702         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
15704 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
15706         * debug/strcpy_chk.c: Improve performance.
15707         * debug/stpcpy_chk.c: Likewise.
15708         * sysdeps/x86_64/strcpy_chk.S: Remove.
15709         * sysdeps/x86_64/stpcpy_chk.S: Remove.
15711         [BZ #18240]
15712         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
15714 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
15716         [BZ #15128]
15717         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
15718         ifuncmain8.
15719         (modules-names): Add ifuncmod8.
15720         ($(objpfx)ifuncmain8): New rule.
15721         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
15722         <cpuid.h>.
15723         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
15724         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
15725         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
15726         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
15727         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
15728         * sysdeps/x86_64/dl-trampoline.h: Likewise.
15729         * sysdeps/x86_64/ifuncmain8.c: New file.
15730         * sysdeps/x86_64/ifuncmod8.c: Likewise.
15731         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
15732         Removed.
15733         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
15734         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
15735         Change rtld_savespace_sse to __glibc_unused2.
15736         (RTLD_CHECK_FOREIGN_CALL): Removed.
15737         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
15738         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
15739         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
15741 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15743         * sysdeps/aarch64/bzero.S (__bzero): Remove.
15745 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
15747         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
15748         Unconditionally set __fpcr to avoid uninialized warning.
15749         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
15751 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
15753         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
15754         is corrupt.
15756         * malloc/arena.c (arena_get2): Drop unused argument.
15757         (arena_lock): Adjust.
15758         (arena_get_retry): Likewise.
15760 2015-08-24  Andreas Schwab  <schwab@suse.de>
15762         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
15763         Don't define.
15764         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
15765         (__ASSUME_IPC64): Don't undef.
15766         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
15767         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
15768         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
15769         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
15770         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
15771         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
15772         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
15773         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
15774         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
15775         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
15776         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
15777         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
15778         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
15779         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
15780         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
15781         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
15782         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
15783         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
15784         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
15785         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
15786         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
15788 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
15790         * manual/Makefile (install): Only build manual when perl is available.
15792 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15794         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
15795         '#undef memcpy' by '#undef memchr'.
15797 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15799         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
15800         memchr not point to the internal __GI_memchr implementation.
15802 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15804         * timezone/Makefile (CFLAGS-zdump.c): Remove
15805         -Wno-strict-prototypes.
15806         (CFLAGS-zic.c): Likewise.
15807         (CFLAGS-ialloc.c): Likewise.
15808         (CFLAGS-scheck.c): Likewise.
15810         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
15811         -Wno-error=undef.
15813 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15815         * i386/i686/multiarch/strcasestr-c.c: Removed.
15816         * x86_64/multiarch/strcasestr.c: Likewise.
15817         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15818         Remove strcasestr.
15820 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
15822         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
15824         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
15825         variables for high and low parts before possibly modifying them.
15827 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15829         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
15830         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
15831         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
15832         of "multiarch/init-arch.h".
15833         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
15834         * sysdeps/x86/init-arch.h: This.
15836 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
15838         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
15839         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
15841 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
15843         [BZ #17787]
15844         * manual/macros.texi: Add twoexp macro.
15845         * manual/filesys.texi: Fix exponents.
15846         * manual/llio.texi: Likewise.
15847         * manual/stdio.texi: Likewise.
15849 2015-08-20  Florian Weimer  <fweimer@redhat.com>
15851         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
15852         incorrect use.
15854 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15856         [BZ #18370]
15857         * math/s_csqrt.c (__csqrt): Force underflow exception for results
15858         whose real or imaginary part has small absolute value.
15859         * math/s_csqrtf.c (__csqrtf): Likewise.
15860         * math/s_csqrtl.c (__csqrtl): Likewise.
15861         * math/auto-libm-test-in: Add more tests of csqrt.
15862         * math/auto-libm-test-out: Regenerated.
15863         * sysdeps/i386/fpu/libm-test-ulps: Update.
15865 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
15867         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
15868         __ppc_set_ppr_very_low): New functions.
15869         * manual/platform.texi: Add documentation about
15870         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
15872 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
15874         * string/stpncpy.c (stpncpy): Improve performance using
15875         __strnlen/memcpy/memset.
15877 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
15879         [BZ #18796]
15880         * scripts/test-installation.pl: Don't add -lmvec to build options if
15881         libmvec wasn't built.
15883 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
15885         [BZ #14341]
15886         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
15887         case when there is a gap between DT_REL and DT_JMPREL sections.
15888         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
15889         (LDFLAGS-tst-split-dynreloc): New.
15890         (tst-split-dynreloc-ENV): Likewise.
15891         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
15892         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
15894 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15896         [BZ #18822]
15897         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
15898         attribute_hidden.
15899         (__xstat64_conv): Likewise.
15900         (__xstat32_conv): Likewise.
15902 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15904         [BZ #18822]
15905         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
15906         Don't load %ebx when calling __setcontext.  Call __setcontext
15907         with HIDDEN_JUMPTARGET.
15908         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
15909         libc_hidden_def.
15911 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15913         * sysdeps/i386/i686/Makefile
15914         [$(subdir) == string] (sysdep_routines): Moved to ...
15915         * sysdeps/i386/Makefile: Here.
15916         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
15917         * sysdeps/i386/cacheinfo.c: Here.
15918         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
15919         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
15920         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
15921         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
15923 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15925         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
15926         __i586__ is defined.
15927         (HAS_I686): Defined to 1 if __i686__ is defined.
15929 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
15931         * elf/Makefile [$(have-z-execstack) = yes]
15932         (CPPFLAGS-tst-execstack.c): New variable.
15934         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
15935         conditional to [defined UTMPX || _HAVE_UT_TYPE].
15936         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
15937         UTMPX || _HAVE_UT_TV].
15938         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
15939         UTMPX || _HAVE_UT_TV - 0].
15941 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
15943         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
15944         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
15945         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
15947 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
15949         * sysdeps/powerpc/dl-procinfo.c:
15950         (_dl_powerpc_cap_flags): Added missing strings for some
15951         hwcap features.
15952         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
15954 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
15956         Port the 0x7efe...feff pattern to GCC 6.
15957         See Steve Ellcey's bug report in:
15958         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
15959         * string/memrchr.c (MEMRCHR):
15960         * string/rawmemchr.c (RAWMEMCHR):
15961         * string/strchr.c (strchr):
15962         * string/strchrnul.c (STRCHRNUL):
15963         Rewrite code to avoid issues with signed shift overflow.
15965 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
15967         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
15968         whether cpuid is available only if HAS_CPUID is 0.
15969         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
15970         (HAS_I586): Likewise.
15971         (HAS_I686): Likewise.
15973 2015-08-18  Zack Weinberg  <zackw@panix.com>
15975         * misc/Versions (libc): Add GLIBC_2.23.
15977 2015-08-18  Alan Modra  <amodra@gmail.com>
15979         [BZ #18421]
15980         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
15981         .Lp__global.
15982         (_start): Load %dp via .Lp__global.
15983         [!SHARED]: Use .section .rodata.
15985 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15987         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
15988         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
15990 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15992         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
15993         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
15995 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
15997         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
15998         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
16000 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16002         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
16003         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
16005 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16007         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
16008         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
16010 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16012         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
16013         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
16015 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16017         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
16019 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16021         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
16022         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
16023         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
16024         (__ASSUME_LWS_CAS): Delete.
16026 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
16028         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
16029         * sysdeps/hppa/configure: Regenerated.
16030         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
16031         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
16032         * sysdeps/hppa/nptl/tls.h: Likewise.
16034 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
16036         [BZ #18823]
16037         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
16038         for scaling up small arguments.
16039         * math/s_csqrtf.c (__csqrtf): Likewise.
16040         * math/s_csqrtl.c (__csqrtl): Likewise.
16041         * math/auto-libm-test-in: Add more tests of csqrt.
16042         * math/auto-libm-test-out: Regenerated.
16044 2015-08-17  Andreas Schwab  <schwab@suse.de>
16046         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
16047         version set GLIBC_2.19.
16049 2015-08-16  Zack Weinberg  <zackw@panix.com>
16051         [BZ #18681]
16052         * misc/regexp.h: This interface is no longer supported.
16053         Remove all contents, leaving only an #error directive.
16054         * misc/regexp.c (loc1, loc2, locs, step, advance):
16055         Demote to compatibility symbols.
16057 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
16059         [BZ #18084]
16060         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
16061         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
16062         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
16063         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
16064         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
16065         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
16066         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
16067         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
16068         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
16070 2015-08-15  Zack Weinberg  <zackw@panix.com>
16072         [BZ #18795]
16073         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
16074         buffer length is known to be too large, not if it's known to be
16075         small enough.
16076         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
16077         overflow at runtime, involving a length parameter, twice: once
16078         with a compile-time constant length parameter, once without.
16080 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
16082         [BZ #18824]
16083         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
16084         scaling x * y up instead of down.
16085         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16086         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16087         * math/auto-libm-test-in: Add more tests of fma.
16088         * math/auto-libm-test-out: Regenerated.
16090 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
16092         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
16094 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
16096         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
16097         unnecessary movq.
16098         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
16099         Likewise.
16101 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
16103         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16104         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
16105         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
16106         and tgamma.
16107         * math/auto-libm-test-out: Regenerated.
16108         * sysdeps/i386/fpu/libm-test-ulps: Update.
16109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16111         [BZ #16520]
16112         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
16113         (__tanh): Force underflow exception for arguments with small
16114         absolute value.
16115         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
16116         (__tanhf): Force underflow exception for arguments with small
16117         absolute value.
16118         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
16119         (__tanhl): Force underflow exception for arguments with small
16120         absolute value.
16121         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
16122         (__tanhl): Force underflow exception for arguments with small
16123         absolute value.
16124         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
16125         (__tanhl): Force underflow exception for arguments with small
16126         absolute value.
16127         * math/auto-libm-test-in: Add more tests of tanh.
16128         * math/auto-libm-test-out: Regenerated.
16129         * sysdeps/i386/fpu/libm-test-ulps: Update.
16131 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16133         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
16134         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
16136 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16138         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
16139         <cpuid.h>.
16141 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16143         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
16144         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
16146 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16148         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
16149         Remove $(objpfx)init-arch.o.
16150         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
16151         init-arch.
16152         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
16153         (INIT_ARCH_EXT): Defined as empty.
16154         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
16155         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
16156         __init_cpu_features call.  Replace HAS_XXX with
16157         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16158         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
16159         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
16160         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
16161         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
16162         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16163         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
16164         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
16165         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16166         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
16167         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
16168         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16169         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
16170         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
16171         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16172         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
16173         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
16174         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16175         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16176         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
16177         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
16178         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16179         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
16180         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
16181         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16182         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
16183         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
16184         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16185         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
16186         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
16187         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16188         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
16189         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
16190         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16191         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
16192         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
16194 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16196         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
16197         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16198         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16199         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
16200         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
16201         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
16202         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
16203         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
16204         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
16205         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
16206         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
16207         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
16208         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16209         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16210         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16211         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16212         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16213         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16214         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16215         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16216         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16217         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16218         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16219         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16220         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16221         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16222         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16223         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16224         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16225         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16226         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16227         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16228         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16229         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16230         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16231         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16232         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16233         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16234         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16235         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16236         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16237         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16238         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16240 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16242         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
16243         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16244         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
16245         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
16246         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
16247         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
16248         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
16249         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
16250         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
16251         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
16252         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
16253         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
16254         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
16255         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
16256         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
16257         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
16258         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
16259         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
16260         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
16261         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
16262         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16263         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
16264         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
16265         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16266         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16267         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
16268         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
16269         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
16270         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
16271         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16272         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16273         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16274         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16275         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16276         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16277         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16278         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16279         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16280         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16281         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16282         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16283         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16284         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16286 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
16288         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
16289         (dl_platform_init): Call init_cpu_features.
16290         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
16291         * sysdeps/i386/i686/cacheinfo.c
16292         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
16293         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
16294         * sysdeps/i386/i686/multiarch/Versions: Removed.
16295         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
16296         Removed.
16297         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
16298         * sysdeps/unix/sysv/linux/x86/Makefile
16299         (libpthread-sysdep_routines): Remove init-arch.
16300         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
16301         <sysdeps/x86_64/dl-procinfo.c> instead of
16302         sysdeps/generic/dl-procinfo.c>.
16303         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
16304         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
16305         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
16306         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
16307         [$(subdir) == elf] (tests-static): Add
16308         tst-get-cpu-features-static.
16309         * sysdeps/x86/Versions: New file.
16310         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
16311         * sysdeps/x86/cpu-features.c: Likewise.
16312         * sysdeps/x86/cpu-features.h: Likewise.
16313         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
16314         * sysdeps/x86/libc-start.c: Likewise.
16315         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
16316         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
16317         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
16318         * sysdeps/x86_64/dl-procinfo.c: Likewise.
16319         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
16320         Assume USE_MULTIARCH is defined and don't check it.
16321         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
16322         (is_amd): Likewise.
16323         (max_cpuid): Likewise.
16324         (intel_check_word): Likewise.
16325         (__cache_sysconf): Don't call __init_cpu_features.
16326         (__x86_preferred_memory_instruction): Removed.
16327         (init_cacheinfo): Don't call __init_cpu_features. Replace
16328         __cpu_features with GLRO(dl_x86_cpu_features).
16329         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
16330         (dl_platform_init): Call init_cpu_features.
16331         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
16332         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
16333         * sysdeps/x86_64/multiarch/Versions: Removed.
16334         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
16335         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
16336         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
16337         Removed.
16338         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
16340 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16342         [BZ #18820]
16343         * libio/Makefile (test-fmemopen-mem): New test.
16344         * libio/test-fmemopen.c (do_bz18820): New test.
16345         * libio/fmemopen.c (__fmemopen): Fix memory leak.
16346         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
16348 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
16350         [BZ #16734]
16351         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
16352         (FREE_BUF): Delete.
16353         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
16354         * libio/genops.c (_IO_setb): Use malloc and free directly.
16355         (_IO_default_doallocate, _IO_default_finish): Likewise.
16356         ( _IO_unbuffer_all): Likewise.
16357         ( libc_freeres_fn): Likewise.
16358         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
16359         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
16360         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
16361         (_IO_wdefault_doallocate): Likewise.
16363 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
16365         [BZ #18086]
16366         * sysdeps/posix/nice.c (nice): Restore old errno.
16367         * posix/tst-nice.c (do_test): Add test for BZ #18086.
16369 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
16371         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
16373 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16375         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
16376         __bcopy and add a weak_alias to bcopy.
16377         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
16378         for static build.
16380         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
16381         cleanup macro usage.
16382         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
16383         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
16384         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
16385         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
16386         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
16387         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
16388         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
16389         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16390         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
16391         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
16392         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16393         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
16394         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
16395         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
16396         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
16397         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
16398         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
16399         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
16400         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
16402         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
16403         libc_hidden_def.
16404         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
16406         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
16407         (sysdep_routines): Add strstr-ppc64.
16408         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
16410 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
16412         [BZ #18778]
16413         * elf/Makefile (tests): Add Add tst-nodelete2.
16414         (modules-names): Add tst-nodelete2mod.
16415         (tst-nodelete2mod.so-no-z-defs): New.
16416         ($(objpfx)tst-nodelete2): Likewise.
16417         ($(objpfx)tst-nodelete2.out): Likewise.
16418         (LDFLAGS-tst-nodelete2): Likewise.
16419         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
16420         out of loop through all loaded libraries.
16421         * elf/tst-nodelete2.c: New file.
16422         * elf/tst-nodelete2mod.c: Likewise.
16423         * elf/tst-znodelete-zlib.cc: Delete.
16425 2015-08-11  Andreas Schwab  <schwab@suse.de>
16427         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
16428         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
16429         (__openat64_nocancel): Likewise.
16431 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
16433         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
16434         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
16435         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
16436         * math/auto-libm-test-out: Regenerated.
16437         * sysdeps/i386/fpu/libm-test-ulps: Update.
16438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16440 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16442         [BZ #18790]
16443         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
16444         threshold for returning +/- 1.
16445         * math/auto-libm-test-in: Add more tests of tanh.
16446         * math/auto-libm-test-out: Regenerated.
16447         * sysdeps/i386/fpu/libm-test-ulps: Update.
16449 2015-08-10  Andreas Schwab  <schwab@suse.de>
16451         [BZ #18781]
16452         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
16453         MORE_OFLAGS to oflag.
16454         * io/test-lfs.c (do_test): Test openat64.
16456 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
16458         [BZ #18789]
16459         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
16460         smaller threshold for returning the argument.
16461         * math/auto-libm-test-in: Add more tests of sinh.
16462         * math/auto-libm-test-out: Regenerated.
16463         * sysdeps/i386/fpu/libm-test-ulps: Update.
16465 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
16467         [BZ #18674]
16468         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
16469         break.
16471 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
16473         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
16474         (generated): Don't add $(addprefix z.,$(tzfiles)).
16476 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16478         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
16479         * scripts/sysd-rules.awk: Likewise.
16481 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16483         * iconvdata/tst-tables.sh: Change echo -n to printf.
16484         * nss/db-Makefile: Likewise.
16485         * posix/tst-getconf.sh: Likewise.
16486         * stdio-common/tst-unbputc.sh: Likewise.
16488 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
16490         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
16491         MADV_*_PAGES defines behind this feature check.
16493 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
16495         [BZ #18480]
16496         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
16497         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
16498         Define.
16499         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
16500         LOAD_REGS_5, LOAD_REGS_6): Update.
16501         (INTERNAL_SYSCALL): Update using new LOAD defines.
16502         (INTERNAL_SYSCALL_NCS): Likewise.
16503         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
16505 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16507         [BZ #16734]
16508         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
16510 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
16512         [BZ #17905]
16513         * catgets/Makefile (tst-catgets-mem): New test.
16514         * catgets/catgets.c (catopen): Don't use unbounded alloca.
16515         * catgets/open_catalog.c (__open_catalog): Likewise.
16516         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
16518 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
16520         [BZ #18787]
16521         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
16522         clobber registers.
16523         (atomic_compare_and_exchange_val_acq): Use register asms to assign
16524         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
16525         Cast return to __typeof (oldval).
16527 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
16529         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
16530         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
16531         and delete sys/syscall.h include.
16533 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
16535         [BZ #16517]
16536         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
16537         (tan): Force underflow exception for arguments with small absolute
16538         value.
16539         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
16540         (__kernel_tanf): Force underflow exception for arguments with
16541         small absolute value.
16542         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
16543         (__kernel_tanl): Force underflow exception for arguments with
16544         small absolute value.
16545         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
16546         (__kernel_tanl): Force underflow exception for arguments with
16547         small absolute value.
16548         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
16549         (__kernel_tanl): Force underflow exception for arguments with
16550         small absolute value.
16551         * math/auto-libm-test-in: Add more tests of tan.
16552         * math/auto-libm-test-out: Regenerated.
16554 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16556         Fix sysdeps/i386/fpu/s_scalbn.S build
16558         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
16560 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
16562         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
16564 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16566         Fix gcrt0.o compilation
16568         When static-start-installed-name is different from
16569         start-installed-name, we must not use the shared objects.
16571         * csu/Makefile
16572         (extra-objs): Add gmon-start.o when building shared library and
16573         $(static-start-installed-name) is different from
16574         $(start-installed-name).
16575         $(objpfx)g$(static-start-installed-name): When building shared
16576         library and $(static-start-installed-name) is different from
16577         $(static-start-installed-name), revert to non-shared rule,
16578         i.e. using $(objpfx)% and gmon-start.o.
16580 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
16582         [BZ #16519]
16583         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
16584         (__ieee754_sinh): Force underflow exception for arguments with
16585         small absolute value.
16586         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
16587         (__ieee754_sinhf): Force underflow exception for arguments with
16588         small absolute value.
16589         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
16590         (__ieee754_sinhl): Force underflow exception for arguments with
16591         small absolute value.
16592         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
16593         (__ieee754_sinhl): Force underflow exception for arguments with
16594         small absolute value.
16595         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
16596         (__ieee754_sinhl): Force underflow exception for arguments with
16597         small absolute value.
16598         * math/auto-libm-test-in: Add more tests of sinh.
16599         * math/auto-libm-test-out: Regenerated.
16600         * sysdeps/i386/fpu/libm-test-ulps: Update.
16602 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
16604         * libio/oldfileops.c: Include unistd.h.
16606 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
16608         * stdlib/isomac.c: Include ctype.h.
16610 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
16612         * dirent/tst-seekdir.c (main): Converted to ...
16613         (do_test): ... this.
16614         (TEST_FUNCTION): New macro.
16615         Include test-skeleton.c.
16616         * elf/tst-dlmodcount.c (main): Converted to ...
16617         (do_test): ... this.
16618         (TEST_FUNCTION): New macro.
16619         Include test-skeleton.c.
16620         * elf/tst-order-main.c (main): Converted to ...
16621         (do_test): ... this.
16622         (TEST_FUNCTION): New macro.
16623         Include test-skeleton.c.
16624         * elf/tst-pie2.c (main): Converted to ...
16625         (do_test): ... this.
16626         (TEST_FUNCTION): New macro.
16627         Include test-skeleton.c.
16628         * inet/tst-ether_aton.c (main): Converted to ...
16629         (do_test): ... this.
16630         (TEST_FUNCTION): New macro.
16631         Include test-skeleton.c.
16632         * misc/tst-mntent.c (main): Converted to ...
16633         (do_test): ... this.
16634         (TEST_FUNCTION): New macro.
16635         Include test-skeleton.c.
16636         * misc/tst-tsearch.c (main): Converted to ...
16637         (do_test): ... this.
16638         (TEST_FUNCTION): New macro.
16639         Include test-skeleton.c.
16640         * posix/tst-regexloc.c (main): Converted to ...
16641         (do_test): ... this.
16642         (TEST_FUNCTION): New macro.
16643         Include test-skeleton.c.
16644         * resolv/tst-aton.c (main): Converted to ...
16645         (do_test): ... this.
16646         (TEST_FUNCTION): New macro.
16647         Include test-skeleton.c.
16648         * stdio-common/test-fwrite.c (main): Converted to ...
16649         (do_test): ... this.
16650         (TEST_FUNCTION): New macro.
16651         Include test-skeleton.c.
16652         * stdio-common/tst-ferror.c (main): Converted to ...
16653         (do_test): ... this.
16654         (TEST_FUNCTION): New macro.
16655         Include test-skeleton.c.
16656         * stdio-common/tst-printf.c (main): Converted to ...
16657         (do_test): ... this.
16658         (TEST_FUNCTION): New macro.
16659         Include test-skeleton.c.
16660         * stdio-common/tst-printfsz.c (main): Converted to ...
16661         (do_test): ... this.
16662         (TEST_FUNCTION): New macro.
16663         Include test-skeleton.c.
16664         * stdlib/tst-strtod.c (main): Converted to ...
16665         (do_test): ... this.
16666         (TEST_FUNCTION): New macro.
16667         Include test-skeleton.c.
16668         * string/tst-strlen.c (main): Converted to ...
16669         (do_test): ... this.
16670         (TEST_FUNCTION): New macro.
16671         Include test-skeleton.c.
16672         * string/tst-svc.c (main): Converted to ...
16673         (do_test): ... this.
16674         (TEST_FUNCTION): New macro.
16675         Include test-skeleton.c.
16676         * time/tst-strptime.c (main): Converted to ...
16677         (do_test): ... this.
16678         (TEST_FUNCTION): New macro.
16679         Include test-skeleton.c.
16680         * timezone/tst-timezone.c (main): Converted to ...
16681         (do_test): ... this.
16682         (TEST_FUNCTION): New macro.
16683         Include test-skeleton.c.
16685 2015-08-05  Zack Weinberg  <zackw@panix.com>
16687         * misc/regexp.h: Update comments.
16689 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
16691         [BZ #18635]
16692         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
16693         before return label.
16695 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16697         [BZ #18661]
16698         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
16699         when calling __errno_location.
16700         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
16701         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
16703 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16705         [BZ #18661]
16706         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
16707         (__lll_timedwait_tid): Align stack to 16 bytes when calling
16708         __gettimeofday.
16710 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16712         [BZ #18661]
16713         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
16714         (__start_context): Don't use pop to restore %rdi so that stack
16715         is aligned to 16 bytes when calling __setcontext.
16717 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16719         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
16720         only for libc.
16721         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
16723 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16725         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
16726         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
16727         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
16729 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16731         * string/memccpy.c (memccpy):
16732         Improve performance by using memchr/memcpy/__mempcpy.
16734 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16736         * string/strncpy.c (strncpy):
16737         Improve performance by using __strnlen/memcpy.
16739 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16741         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
16742         Optimize to avoid an unnecessary FPCR read.
16744 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
16746         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
16747         Optimize to reduce FPCR/FPSR accesses.
16749 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
16751         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
16752         dead->data[category] != NULL.
16754 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
16756         [BZ #18647]
16757         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
16758         and |x| close to 1, use absolute value of x when computing log.
16759         * math/auto-libm-test-in: Add more tests of pow.
16760         * math/auto-libm-test-out: Regenerated.
16762 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16764         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
16765         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
16766         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
16768 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
16770         [BZ #18525]
16771         * locales/km_KH: Remove timezone definition.
16772         * locales/lo_LA: Likewise.
16773         * locales/my_MM: Likewise.
16774         * locales/nan_TW@latin: Likewise.
16775         * locales/th_TH: Likewise.
16776         * locales/uk_UA: Likewise.
16778 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
16780         [BZ #18265]
16781         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
16782         (wcsncat): Likewise.
16783         (wcscmp): Likewise.
16784         (wcsncmp): Likewise.
16786 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16788         * test-skeleton.c (usage): New function.
16789         (main): Call usage when opt is '?'.
16791 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16793         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
16794         before first use.
16796 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
16798         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
16799         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
16800         in there too.
16802 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
16804         * version.h (RELEASE): Set to "development".
16805         (VERSION): Set to "2.22.90"
16807         * version.h (RELEASE): Set to "stable".
16808         (VERSION): Set to "2.22"
16809         * include/features.h (__GLIBC_MINOR__): Set to 22.
16811 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
16813         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
16814         Restructure macro to avoid "value computed is not used" warning.
16815         (atomic_compare_and_exchange_val_acq): Likewise.
16817 2015-08-04  Andreas Schwab  <schwab@suse.de>
16819         [BZ #18635]
16820         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
16821         ret.
16822         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
16824 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
16826         * po/pl.po: Updated translation.
16827         * po/uk.po: Likewise.
16828         * po/fi.po: Likewise.
16829         * po/ko.po: Likewise.
16830         * po/ru.po: Likewise.
16831         * po/vi.po: Likewise.
16833 2015-07-31  Zack Weinberg  <zackw@panix.com>
16835         [BZ #18681]
16836         * regexp.h: Add unconditional #warning stating that this header
16837         will be removed soon.  Revise banner comment to match.
16838         (compile): Consistently use ERROR instead of RETURN to report
16839         errors (partial fix for bz#18681).
16840         * regexp.c: Don't include regexp.h. Remove some unnecessary
16841         declarations.
16843 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
16845         * po/libc.pot: Regenerated.
16847 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
16849         [BZ #18740]
16850         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
16851         float-vlen4-arch-ext-cflags): Removed.
16852         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
16853         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
16855 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16857         [BZ #14113]
16858         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
16859         aligned to __aligned__.
16860         (pthread_cond_t, pthread_rwlock_t): Likewise.
16862 2015-07-30  Torvald Riegel  <triegel@redhat.com>
16864         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
16866 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16868         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
16869         (struct sigaction): Change sa_flags from a long to an int, and add
16870         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
16872 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16874         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
16875         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
16876         sysdeps/generic/sysdep.h include.
16877         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
16878         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
16879         sysdeps/hppa/sysdep.h.
16880         (ENTRY, PSEUDO): Undefine before defining.
16882 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
16884         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
16885         from scratch to use INTERNAL_SYSCALL.
16887 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
16889         [BZ #18078]
16890         * scripts/check-localplt.awk: Support alternate relocations.
16891         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
16892         sections.
16893         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
16894         malloc entries with + REL R_386_GLOB_DAT.
16895         * sysdeps/x86_64/localplt.data: New file.
16897 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
16899         [BZ #18731]
16900         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
16901         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
16902         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
16904 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16906         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
16908 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16910         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
16911         directly in terms of __sync_fetch_and_add and delete (int) cast.
16913 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16915         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
16916         the -D_ASM_IA64_CURRENT_H flag.
16918 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
16920         [BZ #18641]
16921         * pwd/pwd.h (putpwent): Delete __nonnull markings.
16923 2015-07-27  Andreas Schwab  <schwab@suse.de>
16925         * conform/conformtest.pl (checknamespace): Filter out string
16926         literals while tokenizing.
16928 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16930         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16931         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
16932         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16934 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
16936         * nptl/tst-join7mod.c: Add #include <string.h>.
16938 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16940         * sysdeps/nios2/libm-test-ulps: Update.
16942 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
16944         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
16945         Fix order of arguments to the rt_sigprocmask syscall.
16946         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
16947         Likewise.
16949 2015-07-24  Roland McGrath  <roland@hack.frob.com>
16951         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
16953 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16955         [BZ #18457]
16956         * nptl/Makefile (tests): New test case tst-join7.
16957         (modules-names): New test case module tst-join7mod.
16958         * nptl/tst-join7.c: New file.
16959         * nptl/tst-join7mod.c: New file.
16960         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
16961         all translation units in libc.so, libpthread.so and rtld.
16963 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16965         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16967 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
16969         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
16970         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
16971         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
16972         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
16973         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
16974         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
16975         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
16976         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
16977         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
16978         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
16979         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
16980         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
16981         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
16982         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
16983         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
16984         implementation.
16986 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16988         [BZ #17711]
16989         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16990         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
16991         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16992         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
16993         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
16994         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
16996 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16998         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
16999         instead of just saying load lock in the comments.
17001 2015-07-23  Roland McGrath  <roland@hack.frob.com>
17003         * sysdeps/unix/Subdirs: Moved ...
17004         * sysdeps/posix/Subdirs: ... here.
17005         * login/pty.h (struct termios, struct winsize): Add forward decls.
17006         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
17007         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
17008         * sysdeps/arm/nacl/libc.abilist: Updated.
17009         * sysdeps/nacl/libutil.abilist: New file.
17011         * bits/signum.h: Update comments to mention 1003.1-2013 too.
17012         (SIGWINCH): New macro.
17014         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
17015         * sysdeps/arm/nacl/libc.abilist: Add it.
17017 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17019         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
17021 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
17023         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17024         Swap __glibc_reserved0 and sa_flags order.
17026 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
17028         [BZ #18657]
17029         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
17030         are pending TLS destructor calls.
17031         * include/link.h (struct link_map): Add concurrency note for
17032         L_TLS_DTOR_COUNT.
17033         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
17034         Don't touch the link map flag.  Atomically increment
17035         l_tls_dtor_count.
17036         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
17037         Avoid taking the load lock and don't touch the link map flag.
17038         * stdlib/tst-tls-atexit-nodelete.c: New test case.
17039         * stdlib/Makefile (tests): Use it.
17040         * stdlib/tst-tls-atexit.c (do_test): dlopen
17041         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
17042         to allow tst-tls-atexit-nodelete test case to use it.
17044 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17046         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
17047         to bits/types.h.
17048         (msgqnum_t): New typedef.
17049         (msglen_t): Likewise.
17050         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
17051         and msg_qbytes type to msglen_t.
17053 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17055         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
17056         pad0 to __glibc_reserved0.
17057         (struct stat64): Likewise.
17059 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17061         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
17062         Change sa_flags from a long to an int and add __glibc_reserved0 before
17063         it for padding.
17065 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
17067         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
17068         anonymous by deleting "siginfo" name.
17070 2015-07-21  Roland McGrath  <roland@hack.frob.com>
17072         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
17073         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
17074         rather than __nacl_irt_filename.
17075         * sysdeps/nacl/xstat.c (__xstat): Likewise.
17077         * NEWS: New item for arm-nacl port.
17078         * sysdeps/arm/nacl/libc.abilist: New file.
17079         * sysdeps/nacl/ld.abilist: New file.
17080         * sysdeps/nacl/libBrokenLocale.abilist: New file.
17081         * sysdeps/nacl/libanl.abilist: New file.
17082         * sysdeps/nacl/libcrypt.abilist: New file.
17083         * sysdeps/nacl/libdl.abilist: New file.
17084         * sysdeps/nacl/libm.abilist: New file.
17085         * sysdeps/nacl/libpthread.abilist: New file.
17086         * sysdeps/nacl/libresolv.abilist: New file.
17087         * sysdeps/nacl/librt.abilist: New file.
17089 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
17091         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
17092         __startcontext to initialize the new context.
17093         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
17094         up CFI directive to forbid further backtracing.
17096 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
17098         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
17099         reference.
17100         * charmaps/ANSI_X3.4-1968: Likewise.
17101         * charmaps/BS_4730: Likewise.
17102         * charmaps/BS_VIEWDATA: Likewise.
17103         * charmaps/CP1250: Likewise.
17104         * charmaps/CP1251: Likewise.
17105         * charmaps/CP1252: Likewise.
17106         * charmaps/CP1253: Likewise.
17107         * charmaps/CP1254: Likewise.
17108         * charmaps/CP1255: Likewise.
17109         * charmaps/CP1256: Likewise.
17110         * charmaps/CSN_369103: Likewise.
17111         * charmaps/EBCDIC-DK-NO: Likewise.
17112         * charmaps/GB_1988-80: Likewise.
17113         * charmaps/GREEK-CCITT: Likewise.
17114         * charmaps/GREEK7: Likewise.
17115         * charmaps/INIS-8: Likewise.
17116         * charmaps/ISIRI-3342: Likewise.
17117         * charmaps/ISO_2033-1983: Likewise.
17118         * charmaps/ISO_5427-EXT: Likewise.
17119         * locales/POSIX: Likewise.
17120         * locales/ar_SA: Likewise.
17121         * locales/be_BY: Likewise.
17122         * locales/be_BY@latin: Likewise.
17123         * locales/ca_ES: Likewise.
17124         * locales/cs_CZ: Likewise.
17125         * locales/da_DK: Likewise.
17126         * locales/de_BE: Likewise.
17127         * locales/de_CH: Likewise.
17128         * locales/de_LU: Likewise.
17129         * locales/en_AU: Likewise.
17130         * locales/en_BW: Likewise.
17131         * locales/en_CA: Likewise.
17132         * locales/en_DK: Likewise.
17133         * locales/en_GB: Likewise.
17134         * locales/en_IE: Likewise.
17135         * locales/en_NZ: Likewise.
17136         * locales/en_ZA: Likewise.
17137         * locales/en_ZW: Likewise.
17138         * locales/es_AR: Likewise.
17139         * locales/es_BO: Likewise.
17140         * locales/es_CL: Likewise.
17141         * locales/es_CO: Likewise.
17142         * locales/es_DO: Likewise.
17143         * locales/es_EC: Likewise.
17144         * locales/es_ES: Likewise.
17145         * locales/es_HN: Likewise.
17146         * locales/es_MX: Likewise.
17147         * locales/es_PA: Likewise.
17148         * locales/es_PE: Likewise.
17149         * locales/es_PY: Likewise.
17150         * locales/es_SV: Likewise.
17151         * locales/es_US: Likewise.
17152         * locales/es_UY: Likewise.
17153         * locales/es_VE: Likewise.
17154         * locales/et_EE: Likewise.
17155         * locales/fa_IR: Likewise.
17156         * locales/fo_FO: Likewise.
17157         * locales/fr_CA: Likewise.
17158         * locales/fr_CH: Likewise.
17159         * locales/gv_GB: Likewise.
17160         * locales/he_IL: Likewise.
17161         * locales/hr_HR: Likewise.
17162         * locales/id_ID: Likewise.
17163         * locales/is_IS: Likewise.
17164         * locales/it_CH: Likewise.
17165         * locales/iw_IL: Likewise.
17166         * locales/kl_GL: Likewise.
17167         * locales/ko_KR: Likewise.
17168         * locales/kw_GB: Likewise.
17169         * locales/lg_UG: Likewise.
17170         * locales/lt_LT: Likewise.
17171         * locales/lv_LV: Likewise.
17172         * locales/mi_NZ: Likewise.
17173         * locales/nhn_MX: Likewise.
17174         * locales/nl_BE: Likewise.
17175         * locales/pl_PL: Likewise.
17176         * locales/sk_SK: Likewise.
17177         * locales/sl_SI: Likewise.
17178         * locales/sv_FI: Likewise.
17179         * locales/tl_PH: Likewise.
17180         * locales/tr_TR: Likewise.
17181         * locales/vi_VN: Likewise.
17183 2015-07-21  Khem Raj  <raj.khem@gmail.com>
17185         [BZ #17475]
17186         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
17187         of tu_IN and bh_IN.
17189 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
17191         [BZ #18694]
17192         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
17193         bits/wordsize.h.
17194         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
17196 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17198         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
17199         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
17200         (spawn_thread): New function.
17201         (load): Rename to reg_dtor_and_close.  Move dlopen to...
17202         (do_test): ... here.  Use IS_LOADED to test for its
17203         availability.
17205 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
17207         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
17209 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
17211         [BZ #18696]
17212         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
17213         si_addr_bnd.
17214         (si_lower): New.
17215         (si_upper): Likewise.
17217 2015-07-16  David S. Miller  <davem@davemloft.net>
17219         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
17221 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17223         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
17224         buffer.
17225         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
17226         fail output information.
17228 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17230         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
17231         and strstr-ppc64..
17232         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17233         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
17234         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
17235         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
17236         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
17238 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17240         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17241         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17242         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
17243         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
17245 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
17247         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
17248         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
17249         rtld_hidden_proto.
17250         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
17252 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17254         * tst-nodelete-opened.c (do_test): Add comment to clarify how
17255         the test can fail.
17257         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
17259         [BZ #18676]
17260         * elf/tst-nodelete-opened.c: New test case.
17261         * elf/tst-nodelete-opened-lib.c: New test case module.
17262         * elf/Makefile (tests, modules-names): Use them.
17263         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
17264         early.
17266 2015-07-15  David S. Miller  <davem@davemloft.net>
17268         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
17269         futex-intenal.h
17270         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
17271         * sysdeps/sparc/sparc64/Makefile: Likewise.
17272         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17273         Remove space from macro define.
17274         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
17276 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
17278         [BZ #17475]
17279         * locale/iso-639.def: Update Bhili and Tulu language codes as
17280         per iso639-3.
17282 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
17284         * elf/tst-leaks1.c (main): Converted to ...
17285         (do_test): ... this.
17286         (TEST_FUNCTION): New macro.
17287         Include test-skeleton.c.
17288         * localedata/tst-langinfo.c (main): Converted to ...
17289         (do_test): ... this.
17290         (TEST_FUNCTION): New macro.
17291         Include test-skeleton.c.
17292         * math/test-fpucw.c (main): Converted to ...
17293         (do_test): ... this.
17294         (TEST_FUNCTION): New macro.
17295         Include test-skeleton.c.
17296         * math/test-tgmath.c (main): Converted to ...
17297         (do_test): ... this.
17298         (TEST_FUNCTION): New macro.
17299         Include test-skeleton.c.
17300         * math/test-tgmath2.c (main): Converted to ...
17301         (do_test): ... this.
17302         (TEST_FUNCTION): New macro.
17303         Include test-skeleton.c.
17304         * setjmp/tst-setjmp.c (main): Converted to ...
17305         (do_test): ... this.
17306         (TEST_FUNCTION): New macro.
17307         Include test-skeleton.c.
17308         * stdio-common/tst-sscanf.c (main): Converted to ...
17309         (do_test): ... this.
17310         (TEST_FUNCTION): New macro.
17311         Include test-skeleton.c.
17312         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
17313         (do_test): ... this.
17314         (TEST_FUNCTION): New macro.
17315         Include test-skeleton.c.
17317         * elf/tst-audit9.c (main): Converted to ...
17318         (do_test): ... this.
17319         (TEST_FUNCTION): New macro.
17320         Include test-skeleton.c.
17322 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
17324         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
17326 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17328         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
17329         New variable.
17331 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
17333         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17335 2015-07-14  Roland McGrath  <roland@hack.frob.com>
17337         * sysdeps/generic/dl-fileid.h: New file.
17338         * sysdeps/posix/dl-fileid.h: New file.
17339         * sysdeps/nacl/dl-fileid.h: New file.
17340         * include/link.h: Include <dl-fileid.h>.
17341         (struct link_map): Replace l_dev and l_ino with l_file_id.
17342         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
17343         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
17344         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
17346 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17348         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
17350 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17352         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
17353         Add iff $CXX is set.
17354         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
17355         Likewise.
17356         (tst-nodelete-zmodiff): Likewise.
17357         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
17359 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17361         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
17363 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17365         * sysdeps/aarch64/fpu/math_private.h
17366         (define math_opt_barrier): Add AArch64 version.
17367         (math_force_eval): Likewise.
17369 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
17371         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
17373 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
17375         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
17376         %ld with %jd and cast to intmax_t.
17377         (do_test_length_zero): Likewise.
17379 2015-07-10  Roland McGrath  <roland@hack.frob.com>
17381         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
17383 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
17385         * sysdeps/tile/libm-test-ulps: Regenerated.
17387         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
17388         Comment out the whole function, not just its body.
17390 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17392         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
17393         locks.
17395         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
17397 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17399         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
17400         (sem_assume_only_signals_cause_futex_EINTR): Remove.
17402 2015-07-10  Torvald Riegel  <triegel@redhat.com>
17404         * sysdeps/nptl/futex-internal.h: New file.
17405         * sysdeps/nacl/futex-internal.h: New file.
17406         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
17407         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
17408         error checking.
17409         (setxid_unmark_thread): Likewise.
17410         (__nptl_setxid): Likewise.
17411         (__wait_lookup_done): Likewise.
17412         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
17413         * nptl/nptl-init.c (sighandler_setxid): Likewise.
17414         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
17415         * nptl/pthread_once.c (clear_once_control): Likewise.
17416         (__pthread_once_slow): Likewise.
17417         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
17418         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
17419         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
17420         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
17421         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
17422         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
17423         Likewise.
17424         (__pthread_rwlock_rdlock): Likewise.
17425         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17426         Likewise.
17427         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17428         Likewise.
17429         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
17430         Likewise.
17431         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
17432         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
17433         Likewise.
17434         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
17435         __ASSUME_PRIVATE_FUTEX check.
17436         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
17437         Check that shared futexes are supported.
17438         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
17439         wrappers with error checking.
17440         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
17441         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
17442         * nptl/pthread_barrierattr_setpshared.c
17443         (pthread_barrierattr_setpshared): Check that shared futexes are
17444         supported.
17445         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
17446         Likewise.
17447         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
17448         Likewise.
17449         * nptl/sem_init.c (futex_private_if_supported): Remove.
17450         (__new_sem_init): Adapt and check that shared futexes are supported.
17451         * nptl/sem_open.c (sem_open): Likewise.
17452         * nptl/sem_post.c (futex_wake): Remove.
17453         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
17454         (do_futex_wait): Use futex wrappers with error checking.
17455         * nptl/sem_wait.c: Include lowlevellock.h.
17456         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
17457         Use futex_supports_pshared.
17458         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
17459         Use futex wrappers with error checking.
17460         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
17461         Likewise.
17462         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
17463         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
17464         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
17465         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
17466         (futex_wake): Likewise.
17467         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
17468         (do_futex_wait): Use futex wrappers with error checking.
17469         (__new_sem_wait_slow): Update EINTR handling.
17470         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
17472 2015-07-09  Martin Sebor  <msebor@redhat.com>
17474         [BZ #18435]
17475         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17476         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
17477         * nptl/Makefile (test-xfail-tst-once5): Define.
17479 2015-07-09  Roland McGrath  <roland@hack.frob.com>
17481         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
17482         * elf/dl-minimal.c: For readability, reorder some definitions and
17483         introduce more page breaks.  Include <stdio.h>.
17484         (__libc_fatal): New function.
17486         * include/unistd.h: Add rtld_hidden_proto for _exit.
17487         * posix/_exit.c: Add rtld_hidden_def.
17488         * sysdeps/mach/hurd/_exit.c: Likewise.
17489         * sysdeps/nacl/_exit.c: Likewise.
17490         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
17491         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
17493 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
17495         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
17496         bndmov encoding with zero displacement.
17498 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
17499             H.J. Lu  <hongjiu.lu@intel.com>
17501         [BZ #18134]
17502         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
17503         * sysdeps/i386/configure: Regenerated.
17504         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
17505         (_dl_runtime_profile): Save and restore Intel MPX return bound
17506         registers when calling _dl_call_pltexit.  Add
17507         PRESERVE_BND_REGS_PREFIX before return.
17508         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
17509         (LRV_BND1_OFFSET): Likewise.
17510         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
17511         lrv_bnd1.
17512         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
17513         typo in bndmov encoding.
17514         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
17515         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
17516         branch instructions to preserve bounds.
17518 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17520         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
17521         [GLIBC_2.22]: Add fmemopen.
17523 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17525         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
17526         returns an error, also try to use host port from __mach_host_self for
17527         the __vm_wire call.
17528         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
17530 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17532         [BZ #18400]
17533         [BZ #18648]
17534         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
17535         Fix pr_uid and pr_gid members.
17536         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
17537         definition to elf_greg_t.
17539 2015-07-08  Roland McGrath  <roland@hack.frob.com>
17541         [BZ #18383]
17542         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
17543         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
17544         * sysdeps/arm/configure: Regenerated.
17545         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
17546         (test-xfail-tst-tlsalign-static): Variable removed.
17548         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
17549         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
17550         rather than explicit 'ln -s'.
17552         * resolv/rpc/netdb.h: New file.
17553         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
17555 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17557         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
17558         length buffers.
17559         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
17560         test-skeleton.c.
17562         [BZ #6544]
17563         [BZ #11216]
17564         [BZ #12836]
17565         [BZ #13151]
17566         [BZ #13152]
17567         [BZ #14292]
17568         * include/stdio.h (fmemopen): Remove hidden prototype.
17569         (__fmemopen): Add new hidden prototype.
17570         * libio/Makefile: Add oldfmemopen object.
17571         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
17572         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
17573         compliance.
17574         * libio/oldfmemopen.c: New file: old fmemopen implementation for
17575         symbol compatibility.
17576         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
17577         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
17578         fmemopen.
17579         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
17580         on append and read mode.
17581         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
17582         fmemopen.
17583         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
17584         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
17585         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
17586         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
17587         Likewise.
17588         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
17589         [GLIBC_2.22]: Likewise.
17590         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
17591         Likewise.
17592         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
17593         Likewise.
17594         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
17595         [GLIBC_2.22]: Likewise.
17596         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
17597         [GLIBC_2.22]: Likewise.
17598         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
17599         [GLIBC_2.22]: Likewise.
17600         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
17601         [GLIBC_2.22]: Likewise.
17602         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
17603         [GLIBC_2.22]: Likewise.
17604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
17605         [GLIBC_2.22]: Likewise.
17606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
17607         [GLIBC_2.22]: Likewise.
17608         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
17609         Likewise.
17610         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
17611         Likewise.
17612         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
17613         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
17614         [GLIBC_2.22]: Likewise.
17615         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
17616         [GLIBC_2.22]: Likewise.
17617         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
17618         [GLIBC_2.22]: Likewise.
17619         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
17620         [GLIBC_2.22]: Likewise.
17621         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
17622         Likewise.
17623         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
17624         Likewise.
17625         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
17626         Likewise.
17627         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
17628         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
17630 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17632         [BZ #18643]
17633         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
17634         IPV6_PATHMTU, and IPV6_DONTFRAG.
17636 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
17638         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
17639         and _IO_UNBUFFERED.
17640         * libio/oldfileops.c: Likewise.
17641         * libio/wfileops.c: Likewise.
17643 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17645         * nscd/selinux.c: Delete selinux/flask.h include.
17647 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
17649         [BZ #18641]
17650         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
17651         (putpwent): Likewise.
17652         (getpwnam): Likewise.
17653         (getpwent_r): Likewise.
17654         (getpwuid_r): Likewise.
17655         (getpwnam_r): Likewise.
17656         (fgetpwent_r): Likewise.
17658 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
17660         [BZ #18557]
17661         * inet/rcmd.c (__validuser2_sa): Check user first to
17662         short-circuit host check.
17664 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
17665             Mikhail Ilin  <m.ilin@samsung.com>
17667         [BZ #17833]
17668         * elf/Makefile (tests): Add tst-nodelete.
17669         (modules-names): Add tst-nodelete-uniquemod.
17670         (tst-nodelete-uniquemod.so-no-z-defs): New.
17671         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
17672         (tst-nodelete-zmod.so-no-z-defs): Likewise.
17673         ($(objpfx)tst-nodelete): Likewise.
17674         ($(objpfx)tst-nodelete.out): Likewise.
17675         (LDFLAGS-tst-nodelete): Likewise.
17676         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
17677         * elf/dl-close.c (_dl_close_worker): Add a parameter to
17678         implement forced object deletion.
17679         (_dl_close): Pass false to _dl_close_worker.
17680         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
17681         * elf/tst-nodelete.cc: New file.
17682         * elf/tst-nodeletelib.cc: Likewise.
17683         * elf/tst-znodeletelib.cc: Likewise.
17684         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
17686 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17688         [BZ #18508]
17689         * stdlib/Makefile ($(objpfx)tst-makecontext3):
17690         Depend on $(libdl).
17691         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
17692         is not called infinitely times.
17693         (backtrace_helper): New function.
17694         (trace_arg): New struct.
17695         (st1): Enlarge stack size.
17696         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
17697         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
17698         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
17699         Likewise.
17701 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17703         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
17705 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
17707         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
17708         Include sys/types.h instead of bits/types.h.
17709         Remove inclusion of bits/wordsize.h.
17711 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17713         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
17714         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
17715         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
17716         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
17717         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
17718         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
17720 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17722         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
17723         link-defines.sym.
17724         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
17725         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
17726         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
17727         and LR_SIZE.
17728         * sysdeps/i386/link-defines.sym: New file.
17730 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
17732         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
17733         (modules-names): Add tst-auditmod3a tst-auditmod3b.
17734         ($(objpfx)tst-audit3): New rule.
17735         ($(objpfx)tst-audit3.out): Likewise.
17736         * sysdeps/i386/tst-audit3.c: New file.
17737         * sysdeps/i386/tst-audit3.h: Likewise.
17738         * sysdeps/i386/tst-auditmod3a.c: Likewise.
17739         * sysdeps/i386/tst-auditmod3b.c: Likewise.
17741 2015-07-07  Torvald Riegel  <triegel@redhat.com>
17743         [BZ #18633]
17744         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
17745         pointer in C code.
17746         (__strcat_c): Likewise.
17747         (__strcat_g): Likewise.
17749 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
17751         [BZ #18592]
17752         * misc/sbrk.c: Set errno to ENOMEM on overflow.
17754 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17756         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
17757         New function.  (__ieee754_sqrtf): New function.
17758         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
17759         New function.
17760         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
17761         New function.
17763 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
17765         * sysdeps/ieee754/support.c: Remove unused file.
17767 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17769         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
17770         registers instead of d ones so the layout is kernel abi compatible.
17771         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
17772         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
17773         Likewise.
17775 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
17777         * sysdeps/aarch64/libm-test-ulps: Regenerated.
17779 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17781         [BZ #18619]
17782         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
17783         and return argument in case of subnormal argument.
17785 2015-07-01  Martin Sebor  <msebor@redhat.com>
17787         [BZ #18435]
17788         * nptl/Makefile: Add tst-once5.cc.
17789         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
17790         Remove macro redefinitions.
17791         * nptl/tst-once5.cc: New test.
17793 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
17795         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
17797         * sysdeps/arm/libm-test-ulps: Regenerated.
17799         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
17800         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
17802 2015-06-30  Torvald Riegel  <triegel@redhat.com>
17804         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
17805         lll_lock_wait_private and lll_futex_wake probes.
17807         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17808         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
17809         Likewise.
17810         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
17811         atomic_spin_nop.
17812         * sysdeps/x86_64/bits/atomic.h: Likewise.
17813         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
17814         to atomic_spin_nop and move ...
17815         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
17816         ... here and ...
17817         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
17818         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
17819         atomic_spin_nop instead of BUSY_WAIT_NOP.
17820         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
17821         Likewise.
17822         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
17823         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
17824         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
17825         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
17826         instead of atomic_delay.
17828 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
17830         [BZ #18613]
17831         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
17832         X_ADJ not X when adjusting exponent.
17833         (__ieee754_gamma_r): Do intermediate computations in
17834         round-to-nearest then adjust overflowing and underflowing results
17835         as needed.
17836         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
17837         of X_ADJ not X when adjusting exponent.
17838         (__ieee754_gammaf_r): Do intermediate computations in
17839         round-to-nearest then adjust overflowing and underflowing results
17840         as needed.
17841         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
17842         log of X_ADJ not X when adjusting exponent.
17843         (__ieee754_gammal_r): Do intermediate computations in
17844         round-to-nearest then adjust overflowing and underflowing results
17845         as needed.  Use 1.0L not 1.0f as numerator of division.
17846         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
17847         log of X_ADJ not X when adjusting exponent.
17848         (__ieee754_gammal_r): Do intermediate computations in
17849         round-to-nearest then adjust overflowing and underflowing results
17850         as needed.  Use 1.0L not 1.0f as numerator of division.
17851         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
17852         of X_ADJ not X when adjusting exponent.
17853         (__ieee754_gammal_r): Do intermediate computations in
17854         round-to-nearest then adjust overflowing and underflowing results
17855         as needed.  Use 1.0L not 1.0f as numerator of division.
17856         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
17857         to auto-libm-test-in.
17858         (tgamma_test): Use ALL_RM_TEST.
17859         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
17860         tests of tgamma with spurious-overflow.
17861         * math/auto-libm-test-out: Regenerated.
17862         * math/gen-libm-have-vector-test.sh: Do not check for START.
17863         * sysdeps/i386/fpu/libm-test-ulps: Update.
17864         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17866         [BZ #18612]
17867         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
17868         arguments, just return 0.5 times the argument, with underflow
17869         forced as needed.
17870         * math/auto-libm-test-in: Add more tests of j1.
17871         * math/auto-libm-test-out: Regenerated.
17873         [BZ #16559]
17874         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
17875         (__ieee754_j1): Force underflow exception for small results.
17876         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17877         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
17878         (__ieee754_j1f): Force underflow exception for small results.
17879         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17880         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17881         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17882         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
17883         (__ieee754_j1l): Force underflow exception for small results.
17884         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17885         * math/auto-libm-test-in: Add more tests of j1 and jn.
17886         * math/auto-libm-test-out: Regenerated.
17888         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
17889         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
17890         (PF_MPLS): Likewise.
17891         (AF_IB): Likewise.
17892         (AF_MPLS): Likewise.
17893         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
17894         value and macro.
17895         (MS_RMT_MASK): Include MS_LAZYTIME.
17897 2015-06-26  Mel Gorman  <mgorman@suse.de>
17899         [BZ #18502]
17900         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
17901         already minimal.
17903 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
17905         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
17906         (DT_MIPS_NUM): Update.
17907         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
17908         DT_MIPS_RLD_MAP_REL.
17910 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
17912         [BZ #16559]
17913         [BZ #18602]
17914         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
17915         round-to-nearest internally then recompute results that
17916         underflowed to zero in the original rounding mode.
17917         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17918         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17919         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17920         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17921         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
17922         * sysdeps/i386/fpu/libm-test-ulps: Update.
17923         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17925 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
17927         * NEWS: Fixed description of link with vector math library.
17929 2015-06-25  Andreas Schwab  <schwab@suse.de>
17931         [BZ #18549]
17932         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
17933         * libio/test-fmemopen.c (do_test): Add test for it.
17935 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
17937         [BZ #17841]
17938         * Makeconfig (no-pie-ldflag): New.
17939         (+link): Set to $(+link-pie) if default to PIE.
17940         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
17941         * config.make.in (build-pie-default): New.
17942         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
17943         is default.  AC_SUBST.
17944         * configure: Regenerated.
17945         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
17947 2015-06-24  Roland McGrath  <roland@hack.frob.com>
17949         * nptl/descr.h (struct pthread): Change type of field setxid_futex
17950         to 'unsigned int'.
17952         * resolv/gai_misc.h (struct waitlist): Change type of field
17953         counterp to 'volatile unsigned int *'.
17954         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
17955         FUTEXADDR and OLDVAL.
17956         * resolv/getaddrinfo_a.c (getaddrinfo_a):
17957         Give local variable TOTAL type 'volatile unsigned int'.
17958         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17959         * resolv/gai_suspend.c (gai_suspend):
17960         Give local variable CNTR type 'unsigned int'.
17962         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
17963         counterp to 'volatile unsigned int *'.
17964         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
17965         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
17966         (aio_suspend): Give local variable CNTR type 'unsigned int'.
17967         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
17968         Give local variable TOTAL type 'volatile unsigned int'.
17969         (struct async_waitlist): Change type of field counter to 'unsigned int'.
17971 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
17973         [BZ #18383]
17974         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
17975         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
17976         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
17977         comment for i386/x86-64.
17978         (test-xfail-tst-tlsalign-extern-static): Removed.
17980 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
17982         * math/test-double.h: New file.
17983         * math/test-float.h: Likewise.
17984         * math/test-ldouble.h: Likewise.
17985         * math/test-math-inline.h: Likewise.
17986         * math/test-math-no-inline.h: Likewise.
17987         * math/test-math-scalar.h: Likewise.
17988         * math/test-math-vector.h: Likewise.
17989         * math/test-vec-loop.h: Remove file.  Contents moved into
17990         test-math-vector.h.
17991         * math/libm-test.inc (MATHCONST): Do not document macro.
17992         * math/test-double.c: Include test-double.h, test-math-no-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         (__NO_MATH_INLINES): Likewise.
18004         * math/test-float.c: Include test-float.h, test-math-no-inline.h
18005         and test-math-scalar.h.
18006         (FUNC): Remove macro.
18007         (FUNC_TEST): Likewise.
18008         (FLOAT): Likewise.
18009         (MATHCONST): Likewise.
18010         (PRINTF_EXPR): Likewise.
18011         (PRINTF_XEXPR): Likewise.
18012         (PRINTF_NEXPR): Likewise.
18013         (TEST_FLOAT): Likewise.
18014         (TEST_MATHVEC): Likewise.
18015         (__NO_MATH_INLINES): Likewise.
18016         * math/test-idouble.c: Include test-double.h, test-math-inline.h
18017         and test-math-scalar.h.
18018         (FUNC): Remove macro.
18019         (FUNC_TEST): Likewise.
18020         (FLOAT): Likewise.
18021         (MATHCONST): Likewise.
18022         (PRINTF_EXPR): Likewise.
18023         (PRINTF_XEXPR): Likewise.
18024         (PRINTF_NEXPR): Likewise.
18025         (TEST_DOUBLE): Likewise.
18026         (TEST_MATHVEC): Likewise.
18027         (TEST_INLINE): Likewise.
18028         (__NO_MATH_INLINES): Likewise.
18029         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
18030         test-math-scalar.h.
18031         (FUNC): Remove macro.
18032         (FUNC_TEST): Likewise.
18033         (FLOAT): Likewise.
18034         (MATHCONST): Likewise.
18035         (PRINTF_EXPR): Likewise.
18036         (PRINTF_XEXPR): Likewise.
18037         (PRINTF_NEXPR): Likewise.
18038         (TEST_FLOAT): Likewise.
18039         (TEST_MATHVEC): Likewise.
18040         (TEST_INLINE): Likewise.
18041         (__NO_MATH_INLINES): Likewise.
18042         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
18043         and test-math-scalar.h.
18044         (FUNC): Remove macro.
18045         (FUNC_TEST): Likewise.
18046         (FLOAT): Likewise.
18047         (MATHCONST): Likewise.
18048         (PRINTF_EXPR): Likewise.
18049         (PRINTF_XEXPR): Likewise.
18050         (PRINTF_NEXPR): Likewise.
18051         (TEST_LDOUBLE): Likewise.
18052         (TEST_MATHVEC): Likewise.
18053         (TEST_INLINE): Likewise.
18054         (__NO_MATH_INLINES): Likewise.
18055         * math/test-ldouble.c: Include test-ldouble.h,
18056         test-math-no-inline.h and test-math-scalar.h.
18057         (FUNC): Remove macro.
18058         (FUNC_TEST): Likewise.
18059         (FLOAT): Likewise.
18060         (MATHCONST): Likewise.
18061         (PRINTF_EXPR): Likewise.
18062         (PRINTF_XEXPR): Likewise.
18063         (PRINTF_NEXPR): Likewise.
18064         (TEST_LDOUBLE): Likewise.
18065         (TEST_MATHVEC): Likewise.
18066         (__NO_MATH_INLINES): Likewise.
18067         * math/test-double-vlen2.h: Include test-double.h,
18068         test-math-no-inline.h and test-math-vector.h.
18069         (FLOAT): Remove macro.
18070         (FUNC): Likewise.
18071         (MATHCONST): Likewise.
18072         (PRINTF_EXPR): Likewise.
18073         (PRINTF_XEXPR): Likewise.
18074         (PRINTF_NEXPR): Likewise.
18075         (TEST_DOUBLE): Likewise.
18076         (TEST_MATHVEC): Likewise.
18077         (__NO_MATH_INLINES): Likewise.
18078         (CNCT): Likewise.
18079         (CONCAT): Likewise.
18080         (WRAPPER_NAME): Likewise.
18081         (WRAPPER_DECL): Likewise.
18082         (WRAPPER_DECL_ff): Likewise.
18083         (WRAPPER_DECL_fFF): Likewise.
18084         (VECTOR_WRAPPER): Likewise.
18085         (VECTOR_WRAPPER_ff): Likewise.
18086         (VECTOR_WRAPPER_fFF): Likewise.
18087         (VEC_LEN): New macro.
18088         * math/test-double-vlen4.h: Include test-double.h,
18089         test-math-no-inline.h and test-math-vector.h.
18090         (FLOAT): Remove macro.
18091         (FUNC): Likewise.
18092         (MATHCONST): Likewise.
18093         (PRINTF_EXPR): Likewise.
18094         (PRINTF_XEXPR): Likewise.
18095         (PRINTF_NEXPR): Likewise.
18096         (TEST_DOUBLE): Likewise.
18097         (TEST_MATHVEC): Likewise.
18098         (__NO_MATH_INLINES): Likewise.
18099         (CNCT): Likewise.
18100         (CONCAT): Likewise.
18101         (WRAPPER_NAME): Likewise.
18102         (WRAPPER_DECL): Likewise.
18103         (WRAPPER_DECL_ff): Likewise.
18104         (WRAPPER_DECL_fFF): Likewise.
18105         (VECTOR_WRAPPER): Likewise.
18106         (VECTOR_WRAPPER_ff): Likewise.
18107         (VECTOR_WRAPPER_fFF): Likewise.
18108         (VEC_LEN): New macro.
18109         * math/test-double-vlen8.h: Include test-double.h,
18110         test-math-no-inline.h and test-math-vector.h.
18111         (FLOAT): Remove macro.
18112         (FUNC): Likewise.
18113         (MATHCONST): Likewise.
18114         (PRINTF_EXPR): Likewise.
18115         (PRINTF_XEXPR): Likewise.
18116         (PRINTF_NEXPR): Likewise.
18117         (TEST_DOUBLE): Likewise.
18118         (TEST_MATHVEC): Likewise.
18119         (__NO_MATH_INLINES): Likewise.
18120         (CNCT): Likewise.
18121         (CONCAT): Likewise.
18122         (WRAPPER_NAME): Likewise.
18123         (WRAPPER_DECL): Likewise.
18124         (WRAPPER_DECL_ff): Likewise.
18125         (WRAPPER_DECL_fFF): Likewise.
18126         (VECTOR_WRAPPER): Likewise.
18127         (VECTOR_WRAPPER_ff): Likewise.
18128         (VECTOR_WRAPPER_fFF): Likewise.
18129         (VEC_LEN): New macro.
18130         * math/test-float-vlen4.h: Include test-float.h,
18131         test-math-no-inline.h and test-math-vector.h.
18132         (FLOAT): Remove macro.
18133         (FUNC): Likewise.
18134         (MATHCONST): Likewise.
18135         (PRINTF_EXPR): Likewise.
18136         (PRINTF_XEXPR): Likewise.
18137         (PRINTF_NEXPR): Likewise.
18138         (TEST_FLOAT): Likewise.
18139         (TEST_MATHVEC): Likewise.
18140         (__NO_MATH_INLINES): Likewise.
18141         (CNCT): Likewise.
18142         (CONCAT): Likewise.
18143         (WRAPPER_NAME): Likewise.
18144         (WRAPPER_DECL): Likewise.
18145         (WRAPPER_DECL_ff): Likewise.
18146         (WRAPPER_DECL_fFF): Likewise.
18147         (VECTOR_WRAPPER): Likewise.
18148         (VECTOR_WRAPPER_ff): Likewise.
18149         (VECTOR_WRAPPER_fFF): Likewise.
18150         (VEC_LEN): New macro.
18151         * math/test-float-vlen8.h: Include test-float.h,
18152         test-math-no-inline.h and test-math-vector.h.
18153         (FLOAT): Remove macro.
18154         (FUNC): Likewise.
18155         (MATHCONST): Likewise.
18156         (PRINTF_EXPR): Likewise.
18157         (PRINTF_XEXPR): Likewise.
18158         (PRINTF_NEXPR): Likewise.
18159         (TEST_FLOAT): Likewise.
18160         (TEST_MATHVEC): Likewise.
18161         (__NO_MATH_INLINES): Likewise.
18162         (CNCT): Likewise.
18163         (CONCAT): Likewise.
18164         (WRAPPER_NAME): Likewise.
18165         (WRAPPER_DECL): Likewise.
18166         (WRAPPER_DECL_ff): Likewise.
18167         (WRAPPER_DECL_fFF): Likewise.
18168         (VECTOR_WRAPPER): Likewise.
18169         (VECTOR_WRAPPER_ff): Likewise.
18170         (VECTOR_WRAPPER_fFF): Likewise.
18171         (VEC_LEN): New macro.
18172         * math/test-float-vlen16.h: Include test-float.h,
18173         test-math-no-inline.h and test-math-vector.h.
18174         (FLOAT): Remove macro.
18175         (FUNC): Likewise.
18176         (MATHCONST): Likewise.
18177         (PRINTF_EXPR): Likewise.
18178         (PRINTF_XEXPR): Likewise.
18179         (PRINTF_NEXPR): Likewise.
18180         (TEST_FLOAT): Likewise.
18181         (TEST_MATHVEC): Likewise.
18182         (__NO_MATH_INLINES): Likewise.
18183         (CNCT): Likewise.
18184         (CONCAT): Likewise.
18185         (WRAPPER_NAME): Likewise.
18186         (WRAPPER_DECL): Likewise.
18187         (WRAPPER_DECL_ff): Likewise.
18188         (WRAPPER_DECL_fFF): Likewise.
18189         (VECTOR_WRAPPER): Likewise.
18190         (VECTOR_WRAPPER_ff): Likewise.
18191         (VECTOR_WRAPPER_fFF): Likewise.
18192         (VEC_LEN): New macro.
18193         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
18194         test-vec-loop.h.
18195         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18196         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18197         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18198         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18199         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18200         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18201         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18203 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18205         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
18206         (__getlogin_r): ... this.
18208 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18210         [BZ #18594]
18211         * math/s_ccosh.c (__ccosh): Compare with least normal value
18212         instead of comparing class with FP_SUBNORMAL.
18213         * math/s_ccoshf.c (__ccoshf): Likewise.
18214         * math/s_ccoshl.c (__ccoshl): Likewise.
18215         * math/s_cexp.c (__cexp): Likewise.
18216         * math/s_cexpf.c (__cexpf): Likewise.
18217         * math/s_cexpl.c (__cexpl): Likewise.
18218         * math/s_csin.c (__csin): Likewise.
18219         * math/s_csinf.c (__csinf): Likewise.
18220         * math/s_csinh.c (__csinh): Likewise.
18221         * math/s_csinhf.c (__csinhf): Likewise.
18222         * math/s_csinhl.c (__csinhl): Likewise.
18223         * math/s_csinl.c (__csinl): Likewise.
18224         * math/s_ctan.c (__ctan): Likewise.
18225         * math/s_ctanf.c (__ctanf): Likewise.
18226         * math/s_ctanh.c (__ctanh): Likewise.
18227         * math/s_ctanhf.c (__ctanhf): Likewise.
18228         * math/s_ctanhl.c (__ctanhl): Likewise.
18229         * math/s_ctanl.c (__ctanl): Likewise.
18230         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
18231         csin, csinh, ctan and ctanh.
18232         * math/auto-libm-test-out: Regenerated.
18233         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
18234         * sysdeps/i386/fpu/libm-test-ulps: Update.
18235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18237 2015-06-24  Roland McGrath  <roland@hack.frob.com>
18239         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
18240         return value is wrong, print the expected value too.
18242 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
18244         [BZ #18585]
18245         * elf/readlib.c (is_gdb_python_file): New.
18246         (process_file): Don't issue errors on filenames with -gdb.py
18247         suffix.
18249 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
18251         * math/auto-libm-test-in: Add more tests of csin and csinh.
18252         * math/auto-libm-test-out: Regenerated.
18253         * math/libm-test.inc (csin_test_data): Remove tests moved to
18254         auto-libm-test-in.
18255         (csinh_test_data): Likewise.
18257         [BZ #18593]
18258         * math/s_csin.c (__csin): Negate before rather than after possibly
18259         overflowing multiplication.
18260         * math/s_csinf.c (__csinf): Likewise.
18261         * math/s_csinh.c (__csinh): Likewise.
18262         * math/s_csinhf.c (__csinhf): Likewise.
18263         * math/s_csinhl.c (__csinhl): Likewise.
18264         * math/s_csinl.c (__csinl): Likewise.
18265         * math/auto-libm-test-in: Add some tests of csin and csinh.
18266         * math/auto-libm-test-out: Regenerated.
18267         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
18268         (csinh_test_data): Likewise.
18269         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18271         [BZ #18586]
18272         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
18273         underflow exception for small results.
18275 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
18277         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18278         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
18279         variable and included header.
18280         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
18281         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
18282         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
18283         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
18284         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
18285         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
18286         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
18287         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
18288         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
18289         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
18290         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
18291         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
18292         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
18293         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
18294         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
18295         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
18297 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18299         [BZ #16526]
18300         [BZ #16538]
18301         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
18302         (__sin): Force underflow exception for arguments with small
18303         absolute value.
18304         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
18305         (__kernel_sinf): Force underflow exception for arguments with
18306         small absolute value.
18307         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
18308         (__kernel_sincosl): Force underflow exception for arguments with
18309         small absolute value.
18310         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
18311         (__kernel_sinl): Force underflow exception for arguments with
18312         small absolute value.
18313         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
18314         (__kernel_sincosl): Force underflow exception for arguments with
18315         small absolute value.
18316         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
18317         (__kernel_sinl): Force underflow exception for arguments with
18318         small absolute value.
18319         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
18320         (__kernel_sinl): Force underflow exception for arguments with
18321         small absolute value.
18322         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
18323         (__kernel_sinf): Force underflow exception for arguments with
18324         small absolute value.
18325         * math/auto-libm-test-in: Add more tests of sin and sincos.
18326         * math/auto-libm-test-out: Regenerated.
18328         [BZ #18245]
18329         [BZ #18583]
18330         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
18331         (__kernel_standard_l): Use feholdexcept and fesetenv around
18332         conversion to double instead of special-casing overflow and
18333         underflow.
18334         * math/libm-test.inc (fmod_test_data): Add more tests.
18335         (remainder_test_data): Likewise.
18336         (sqrt_test_data): Likewise.
18338 2015-06-23  Torvald Riegel  <triegel@redhat.com>
18340         [BZ #17403]
18341         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
18342         atomic_read_barrier, atomic_write_barrier): Define.
18343         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
18344         atomic_read_barrier, atomic_write_barrier): Define.
18346 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18348         * math/Makefile [$(PERL) != no]
18349         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
18350         dependency on libm-test.stmp below the inclusion of Rules.
18352 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
18354         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
18355         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
18356         and included header.
18357         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
18358         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
18359         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
18360         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
18361         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
18362         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
18363         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
18364         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
18365         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
18366         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
18367         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
18368         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
18369         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
18370         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
18371         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
18372         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
18373         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
18374         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
18375         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
18377 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
18379         [BZ #18371]
18380         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
18381         intermediate but not final result might underflow.
18382         * math/s_csqrtf.c (__csqrtf): Likewise.
18383         * math/s_csqrtl.c (__csqrtl): Likewise.
18384         * math/auto-libm-test-in: Add more tests of csqrt.
18385         * math/auto-libm-test-out: Regenerated.
18386         * sysdeps/i386/fpu/libm-test-ulps: Update.
18388         [BZ #18219]
18389         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
18390         threshold on absolute value of exponent for which scaling is used.
18391         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
18392         * math/auto-libm-test-in: Add more tests of exp2.
18393         * math/auto-libm-test-out: Regenerated.
18395 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
18397         [BZ #17977]
18398         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
18399         when initializing interface list, based on the bug analysis
18400         and the patch proposed by Eric Newton.
18401         * resolv/tst-res_hconf_reorder.c: New test.
18402         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
18403         tst-res_hconf_reorder.
18404         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
18405         and $(shared-thread-library).
18406         (tst-res_hconf_reorder-ENV): New variable.
18408         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
18409         in comment.
18411 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
18413         [BZ #16353]
18414         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
18415         (__expm1): Force underflow exception for arguments with small
18416         absolute value.
18417         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
18418         (__expm1f): Force underflow exception for arguments with small
18419         absolute value.
18420         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
18421         (__expm1): Force underflow exception for arguments with small
18422         absolute value.
18423         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
18424         (__expm1f): Force underflow exception for arguments with small
18425         absolute value.
18426         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
18427         Check for small arguments before calling __expm1.
18428         * math/auto-libm-test-in: Do not mark underflow exceptions as
18429         possibly missing for bug 16353.
18430         * math/auto-libm-test-out: Regenerated.
18432 2015-06-22  Andreas Schwab  <schwab@suse.de>
18434         [BZ #18513]
18435         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
18436         PTR queries.
18438 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
18440         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
18442         * string/strcoll_l.c: Remove unused struct element idxnow.
18444 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
18446         [BZ #18569]
18447         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
18448         underflow and return argument in case of subnormal argument.
18449         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
18450         Likewise.
18451         * math/auto-libm-test-in: Add more tests of expm1.
18452         * math/auto-libm-test-out: Regenerated.
18454         [BZ #16361]
18455         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18456         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18457         tiny results.
18458         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
18459         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
18460         tiny results.
18461         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
18462         mark underflow exceptions as possibly missing for bug 16361.
18463         * math/auto-libm-test-out: Regenerated.
18465 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
18467         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
18468         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
18469         Remove variable.
18470         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
18471         (test-xfail-XOPEN2K8/utmpx.h/conform).
18473         * conform/conformtest.pl ($xerrors): New variable.
18474         (note_error): New function.
18475         (compiletest): New argument $xfail.  Use not_error.
18476         (runtest): Likewise.
18477         (top level): Handle xfail- lines.  Update calls to compiletest and
18478         runtest.  Handle xfail- and optional- in headers listed with
18479         allow-header.
18480         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
18481         (O_EXEC): Likewise.
18482         (O_SEARCH): Likewise.
18483         * conform/data/stropts.h-data (ioctl): Likewise.
18484         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
18485         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
18486         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
18487         (msghdr.msg_controllen): Likewise.
18488         (cmsghdr.cmsg_len): Likewise.
18489         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
18490         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
18491         variable.
18492         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
18493         (test-xfail-XPG4/stropts.h/conform): Likewise.
18494         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
18495         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
18496         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
18497         (test-xfail-UNIX98/stropts.h/conform): Likewise.
18498         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
18499         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
18500         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
18501         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
18502         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
18503         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
18504         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
18505         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
18506         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
18507         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
18508         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
18509         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
18510         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
18511         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
18512         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
18514 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
18516         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
18517         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
18518         definitions for proper unfolding of __MATHDECL_VEC.
18520 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18522         * benchtests/bench-strcoll.c:
18523         Include string.h.
18524         (main): Remove unused variable res.
18526 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18528         * timezone/Makefile (%/UTC %/Universal):
18529         Generate test-result files for UTC and Universal.
18531 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
18533         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
18535 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
18537         [BZ #16350]
18538         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
18539         for arguments with small absolute value.
18540         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
18541         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
18542         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
18543         (__asinh): Force underflow exception for arguments with small
18544         absolute value.
18545         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
18546         (__asinhf): Force underflow exception for arguments with small
18547         absolute value.
18548         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
18549         (__asinhl): Force underflow exception for arguments with small
18550         absolute value.
18551         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
18552         (__asinhl): Force underflow exception for arguments with small
18553         absolute value.
18554         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
18555         (__asinhl): Force underflow exception for arguments with small
18556         absolute value.
18557         * math/auto-libm-test-in: Do not mark underflow exceptions as
18558         possibly missing for bug 16350.
18559         * math/auto-libm-test-out: Regenerated.
18561         * include/bits/ipc.h: Remove file.
18562         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
18563         variable.
18564         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
18565         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
18566         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
18567         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
18568         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
18569         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
18570         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
18571         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
18572         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
18574         * math/auto-libm-test-in: Remove spurious underflow allowance for
18575         tests of cexp.
18576         * math/auto-libm-test-out: Regenerated.
18578         [BZ #18558]
18579         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
18580         unconditional definition.
18581         (MCAST_BLOCK_SOURCE): Likewise.
18582         (MCAST_UNBLOCK_SOURCE): Likewise.
18583         (MCAST_LEAVE_GROUP): Likewise.
18584         (MCAST_JOIN_SOURCE_GROUP): Likewise.
18585         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
18586         (MCAST_MSFILTER): Likewise.
18587         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
18588         Remove variable.
18589         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
18590         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
18591         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
18592         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
18593         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
18595 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
18597         * NEWS: Mention addition of x86_64 vector sincosf.
18598         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
18599         * math/test-float-vlen4.h: Likewise.
18600         * math/test-float-vlen8.h: Likewise.
18601         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18602         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
18603         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18604         * sysdeps/x86_64/fpu/Versions: New versions added.
18605         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18606         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18607         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18608         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
18609         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
18610         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
18611         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
18612         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
18613         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
18614         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
18615         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
18616         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
18617         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
18618         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
18619         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
18620         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
18621         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
18622         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
18623         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18624         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18625         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18626         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18627         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18628         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18630         * NEWS: Mention addition of x86_64 vector sincos.
18631         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
18632         * math/math.h (__MATHDECL_VEC): New macro.
18633         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
18634         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
18635         declaration under condition.
18636         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
18637         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
18638         TEST_VEC_LOOP change.
18639         * math/test-double-vlen4.h: Likewise.
18640         * math/test-double-vlen8.h: Likewise.
18641         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
18642         * math/test-float-vlen4.h: Likewise.
18643         * math/test-float-vlen8.h: Likewise.
18644         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18645         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
18646         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18647         * sysdeps/x86_64/fpu/Versions: New versions added.
18648         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18649         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18650         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18651         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
18652         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
18653         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
18654         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
18655         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
18656         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
18657         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
18658         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
18659         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
18660         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
18661         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
18662         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
18663         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
18664         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
18665         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18666         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18667         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18668         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18669         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18670         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18671         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18673         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18674         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18675         redirections for powf.
18676         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18677         * sysdeps/x86_64/fpu/Versions: New versions added.
18678         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18679         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
18680         Added build of SSE, AVX2 and AVX512 IFUNC versions.
18681         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
18682         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
18683         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
18684         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
18685         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
18686         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
18687         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
18688         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
18689         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
18690         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
18691         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
18692         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
18693         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
18694         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
18695         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18696         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18697         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18698         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18699         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18700         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18701         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18702         * math/test-float-vlen16.h: Fixed 2 argument macro.
18703         * math/test-float-vlen4.h: Likewise.
18704         * math/test-float-vlen8.h: Likewise.
18705         * NEWS: Mention addition of x86_64 vector powf.
18707 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
18709         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18710         and redefine.
18711         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
18712         and redefine.
18713         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
18714         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
18715         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
18717         [BZ #18553]
18718         * resource/getpriority.c (getpriority): Rename to __getpriority
18719         and define as weak alias of __getpriority.
18720         * resource/setpriority.c (setpriority): Rename to __setpriority
18721         and define as weak alias of __setpriority.
18722         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
18723         __getpriority and define as weak alias of __getpriority.
18724         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
18725         __setpriority and define as weak alias of __setpriority.
18726         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
18727         strong name.
18728         (setpriority): Use __setpriority as strong name.
18729         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
18730         __getpriority and define as weak alias of __getpriority.
18731         * include/sys/resource.h (__getpriority): Declare.  Use
18732         libc_hidden_proto.
18733         (__setpriority): Likewise.
18734         (getpriority): Don't use libc_hidden_proto.
18735         (setpriority): Likewise.
18736         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
18737         getpriority.  Call __setpriority instead of setpriority.
18738         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
18739         Remove variable.
18741         [BZ #18547]
18742         * misc/getttyent.c (getttynam): Rename to __getttynam and define
18743         as weak alias of __getttynam.  Use prototype function definition.
18744         Call __setttyent, __getttyent and __endttyent instead of
18745         setttyent, getttyent and endttyent.
18746         (getttyent): Rename to __getttyent and define as weak alias of
18747         __getttyent.  Call __setttyent instead of setttyent.  Call
18748         __fgets_unlocked instead of fgets_unlocked.
18749         (setttyent): Rename to __setttyent and define as weak alias of
18750         __setttyent.
18751         (endttyent): Rename to __endttyent and define as weak alias of
18752         __endttyent.
18753         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
18754         (__setttyent): Likewise.
18755         (__endttyent): Likewise.
18756         (getttyent): Don't use libc_hidden_proto.
18757         (setttyent): Likewise.
18758         (endttyent): Likewise.
18759         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
18760         __endttyent instead of setttyent, getttyent and endttyent.
18761         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
18762         Remove variable.
18764         [BZ #18546]
18765         * socket/recv.c (__recv): Use libc_hidden_def.
18766         * socket/socket.c (__socket): Likewise.
18767         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
18768         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
18769         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
18770         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
18771         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
18772         libc_hidden_def.
18773         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
18774         libc_hidden_weak.
18775         * include/sys/socket.h (__socket): Do not use attribute_hidden.
18776         Use libc_hidden_proto.
18777         (__recv): Likewise.
18778         * socket/Versions (libc): Export __recv and __socket at version
18779         GLIBC_PRIVATE.
18780         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
18781         instead of recv.
18782         (init_mq_netlink): Call __socket instead of socket.
18783         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
18784         Remove variable.
18786         [BZ #18545]
18787         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
18788         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
18789         hidden_weak.
18790         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
18791         define as alias of __mq_timedsend.  Use hidden_weak.
18792         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
18793         __mq_timedsend as strong name.
18794         (mq_timedreceive): Use __mq_timedreceive as strong name.
18795         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
18796         (__mq_timedreceive): Likewise.
18797         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
18798         __mq_timedreceive instead of mq_timedreceive.
18799         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
18800         instead of mq_timedsend.
18801         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
18802         Remove variable.
18804         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
18805         hidden_def and hidden_weak instead of libc_hidden_def and
18806         libc_hidden_weak.
18807         (top level): Refer to hidden_def in comment.
18808         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
18809         macro.  Use it instead of libc_hidden_def.
18810         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
18811         specify __GI_* name explicitly.
18812         (mq_timedreceive): Likewise.
18813         (mq_setattr): Likewise.
18815         [BZ #18544]
18816         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
18817         __pthread_barrier_init and define as weak alias of
18818         __pthread_barrier_init.
18819         * sysdeps/sparc/nptl/pthread_barrier_init.c
18820         (pthread_barrier_init): Likewise.
18821         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
18822         __pthread_barrier_wait and define as weak alias of
18823         __pthread_barrier_wait.
18824         * sysdeps/sparc/nptl/pthread_barrier_wait.c
18825         (pthread_barrier_wait): Likewise.
18826         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
18827         (pthread_barrier_wait): Likewise.
18828         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
18829         (pthread_barrier_wait): Likewise.
18830         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
18831         (pthread_barrier_wait): Likewise.
18832         * nptl/Versions (libpthread): Export __pthread_barrier_init and
18833         __pthread_barrier_wait at version GLIBC_PRIVATE.
18834         * include/pthread.h (__pthread_barrier_init): Declare.
18835         (__pthread_barrier_wait): Likewise.
18836         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
18837         Call __pthread_barrier_wait instead of pthread_barrier_wait.
18838         (helper_thread): Likewise.
18839         (init_mq_netlink): Call __pthread_barrier_init instead of
18840         pthread_barrier_init.
18842         [BZ #18542]
18843         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
18844         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
18845         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
18846         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
18847         vswscanf.
18848         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
18849         Remove variable.
18851         [BZ #18540]
18852         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
18853         strong alias of _IO_fflush.  Use libc_hidden_def.
18854         * libio/iofflush_u.c (fflush_unlocked): Rename to
18855         __fflush_unlocked and define as weak alias of __fflush_unlocked.
18856         Use libc_hidden_weak.
18857         * include/stdio.h (__fflush_unlocked): Declare.  Use
18858         libc_hidden_proto.
18859         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
18860         fflush_unlocked.
18861         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
18862         Remove variable.
18864         [BZ #18539]
18865         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
18866         define as weak alias of __addseverity.
18867         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
18868         Remove variable.
18869         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
18870         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
18871         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
18873         [BZ #18536]
18874         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
18875         (__tfind): Likewise.
18876         (__tdelete): Likewise.
18877         (__twalk): Likewise.
18878         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
18879         __twalk to GLIBC_PRIVATE.
18880         * include/search.h (__tsearch): Use libc_hidden_proto.
18881         (__tfind): Likewise.
18882         (__tdelete): Likewise.
18883         (__twalk): Likewise.
18884         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
18885         Call __tdelete instead of tdelete.
18886         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
18887         tfind.  Call __tsearch instead of tsearch.
18888         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
18889         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
18890         Remove variable.
18891         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
18893         [BZ #18534]
18894         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
18895         (dprintf): Define as a weak alias of __dprintf, not a strong
18896         alias.
18897         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
18898         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
18899         dprintf.
18900         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
18901         Remove variable.
18902         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
18903         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
18905         [BZ #18533]
18906         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
18907         not a strong alias.
18908         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
18909         Remove variable.
18911         [BZ #18532]
18912         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
18913         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
18914         (in6addr_loopback): Rename to __in6addr_loopback and define as
18915         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
18916         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
18917         libc_hidden_proto.
18918         (__in6addr_any): Likewise.
18919         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
18920         in6addr_any.
18921         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
18922         variable.
18923         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
18925 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
18927         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
18928         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
18929         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18930         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18931         redirections for pow.
18932         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18933         * sysdeps/x86_64/fpu/Versions: New versions added.
18934         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18935         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18936         build of SSE, AVX2 and AVX512 IFUNC versions.
18937         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
18938         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
18939         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
18940         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
18941         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
18942         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
18943         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
18944         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
18945         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
18946         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
18947         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
18948         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
18949         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
18950         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
18951         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
18952         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
18953         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
18954         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
18955         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
18956         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
18957         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
18958         * NEWS: Mention addition of x86_64 vector pow.
18960         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
18961         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18962         redirections for expf.
18963         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18964         * sysdeps/x86_64/fpu/Versions: New versions added.
18965         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18966         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18967         build of SSE, AVX2 and AVX512 IFUNC versions.
18968         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
18969         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
18970         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
18971         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
18972         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
18973         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
18974         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
18975         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
18976         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
18977         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
18978         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
18979         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
18980         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
18981         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
18982         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
18983         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
18984         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
18985         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
18986         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
18987         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
18988         * NEWS: Mention addition of x86_64 vector expf.
18990         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
18991         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
18992         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
18993         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
18994         redirections for exp.
18995         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
18996         * sysdeps/x86_64/fpu/Versions: New versions added.
18997         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
18998         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
18999         build of SSE, AVX2 and AVX512 IFUNC versions.
19000         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
19001         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
19002         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
19003         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
19004         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
19005         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
19006         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
19007         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
19008         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
19009         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
19010         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
19011         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
19012         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
19013         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19014         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19015         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19016         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19017         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19018         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19019         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19020         * NEWS: Mention addition of x86_64 vector exp.
19022         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19023         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19024         redirections for logf.
19025         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19026         * sysdeps/x86_64/fpu/Versions: New versions added.
19027         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19028         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19029         build of SSE, AVX2 and AVX512 IFUNC versions.
19030         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
19031         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
19032         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
19033         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
19034         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
19035         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
19036         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
19037         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
19038         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
19039         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
19040         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
19041         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
19042         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
19043         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19044         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19045         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19046         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19047         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19048         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19049         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19050         * NEWS: Mention addition of x86_64 vector logf.
19052         * bits/libm-simd-decl-stubs.h: Added stubs for log.
19053         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
19054         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19055         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
19056         redirections for log.
19057         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19058         * sysdeps/x86_64/fpu/Versions: New versions added.
19059         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19060         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19061         build of SSE, AVX2 and AVX512 IFUNC versions.
19062         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
19063         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
19064         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
19065         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
19066         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
19067         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
19068         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
19069         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
19070         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
19071         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
19072         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
19073         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
19074         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
19075         test.
19076         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19077         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19078         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19079         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19080         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19081         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19082         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19083         * NEWS: Mention addition of x86_64 vector log.
19085 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19087         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
19088         cfi_adjust_cfa_offset argument.
19089         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
19090         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
19092         [BZ #18034]
19093         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
19094         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
19095         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
19096         ordering using ldar.
19097         (_dl_tlsdesc_dynamic): Likewise.
19098         (_dl_tlsdesc_return_lazy): Likewise.
19099         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
19100         relaxed atomics instead of volatile and synchronize with release store.
19101         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
19102         volatile.
19103         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19105 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
19107         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
19108         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
19109         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19110         * sysdeps/x86_64/fpu/Versions: New versions added.
19111         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19112         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
19113         build of SSE, AVX2 and AVX512 IFUNC versions.
19114         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
19115         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
19116         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
19117         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
19118         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
19119         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
19120         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
19121         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
19122         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
19123         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
19124         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
19125         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
19126         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
19127         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
19128         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
19129         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
19130         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
19131         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
19132         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
19133         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
19134         * NEWS: Mention addition of x86_64 vector sinf.
19136 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
19138         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
19139         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
19140         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
19141         Remove variable.
19142         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
19143         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
19145 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19147         [BZ #18530]
19148         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
19149         strong alias of _IO_fputs.  Use libc_hidden_def.
19150         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
19151         and define as weak alias of __fputs_unlocked.  Use
19152         libc_hidden_weak.
19153         * include/stdio.h (__fputs_unlocked): Declare.  Use
19154         libc_hidden_proto.
19155         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
19156         fputs_unlocked.
19158         [BZ #18529]
19159         * resolv/netdb.h [__USE_POSIX]: Change condition to
19160         [__USE_XOPEN2K].
19161         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
19162         not expect.
19163         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
19164         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
19165         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
19166         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
19167         [XPG4 || UNIX98] (AI_ALL): Likewise.
19168         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
19169         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
19170         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
19171         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
19172         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
19173         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
19174         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
19175         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
19176         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
19177         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
19178         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
19179         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
19180         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
19181         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
19182         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
19183         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19184         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
19185         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
19186         [XPG4 || UNIX98] (gai_strerror): Likewise.
19187         [XPG4 || UNIX98] (getaddrinfo): Likewise.
19188         [XPG4 || UNIX98] (getnameinfo): Likewise.
19190         [BZ #18528]
19191         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
19192         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
19193         __USE_XOPEN2K8].
19194         (getgrent): Likewise.
19195         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
19196         expect.
19197         [XPG3 || POSIX2008] (endgrent): Likewise.
19198         [XPG3] (setgrent): Likewise.
19199         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
19200         variable.
19201         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
19203         [BZ #18527]
19204         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
19205         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
19206         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
19207         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
19208         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
19209         * include/unistd.h (__getlogin_r): Declare.  Use
19210         libc_hidden_proto.
19211         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
19212         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
19213         variable.
19214         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
19215         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
19216         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
19218 2015-06-12  Martin Sebor  <msebor@redhat.com>
19220         [BZ #18512]
19221         * Makerules (check-install-supported): New target.
19222         (install): Add check-install-supported as a dependency.
19223         * manual/install.texi (Installing the C Library): Document
19224         that overriding prefix and exec_prefix is not supported.
19225         Mention DESTDIR.
19226         * INSTALL: Regenerate from the above.
19228 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
19230         [BZ #18519]
19231         * posix/Versions (libc): Export __libc_pread at version
19232         GLIBC_PRIVATE.
19233         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
19234         instead of pread.
19235         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
19236         variable.
19238         [BZ #18522]
19239         * misc/efgcvt_r.c
19240         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
19241         (cvt_symbol): Use weak_alias instead of strong_alias.
19242         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
19243         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
19244         Remove variable.
19245         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
19246         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
19248         [BZ #18520]
19249         * inet/herrno.c (h_errno): Rename to __h_errno.
19250         (__libc_h_errno): Define as alias of __h_errno not h_errno.
19251         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
19252         to __h_errno instead of h_errno.
19253         * nptl/herrno.c (h_errno): Rename to __h_errno.
19254         (__h_errno_location): Refer to __h_errno not h_errno.
19255         * resolv/Versions (h_errno): Rename to __h_errno.
19256         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
19257         Remove variable.
19258         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
19260 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
19262         * configure.ac: More strict check for AVX512 assembler support.
19263         * configure: Regenerated.
19265         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
19266         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
19267         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19268         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
19269         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19270         * sysdeps/x86_64/fpu/Versions: New versions added.
19271         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19272         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19273         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19274         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
19275         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
19276         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
19277         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
19278         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
19279         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
19280         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
19281         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
19282         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
19283         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
19284         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
19285         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
19286         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
19287         test.
19288         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
19289         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
19290         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
19291         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
19292         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
19293         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
19294         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
19295         * NEWS: Mention addition of x86_64 vector sin.
19297 2015-06-11  Florian Weimer  <fweimer@redhat.com>
19299         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
19300         comment.
19302 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
19304         [BZ #18479]
19305         * nptl/pt-interp.c: New file.
19306         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
19307         Add pt-interp.
19308         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
19309         $(common-objpfx)runtime-linker.h.
19311 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
19313         * Makeconfig (+interp): Remove unused variable.
19314         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
19315         only.  Depend on $(common-objpfx)runtime-linker.h instead of
19316         $(elf-objpfx)runtime-linker.h.
19317         ($(elf-objpfx)runtime-linker.h): Rename to
19318         $(common-objpfx)runtime-linker.h and move ...
19319         * Makerules [$(build-shared) = yes]: ... here.
19320         * elf/interp.c: Include <runtime-linker.h> instead of
19321         <elf/runtime-linker.h>.
19323 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19325         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
19326         (__gettimeofday_syscall): Remove vsyscall fallback.
19327         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
19328         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
19329         Add syscall fallback function.
19330         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
19331         if vDSO is not present.
19332         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
19333         fallback function.
19334         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
19335         present.
19336         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
19337         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
19339 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
19341         [BZ #18497]
19342         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
19343         of wcscmp.
19344         (wcscmp): Define as weak alias of WCSCMP.
19345         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
19346         wcscoll.
19347         (USE_HIDDEN_DEF): Define.
19348         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
19349         __wcscoll.  Don't use libc_hidden_weak.
19350         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
19351         wcscmp.
19352         * sysdeps/i386/i686/multiarch/wcscmp-c.c
19353         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
19354         __GI_wcscmp.
19355         (weak_alias): Undefine and redefine.
19356         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
19357         __wcscmp and define as weak alias of __wcscmp.
19358         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
19359         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
19360         (__wcscoll): Likewise.
19361         (wcscmp): Don't use libc_hidden_proto.
19362         (wcscoll): Likewise.
19363         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
19364         wcscoll.
19365         * posix/regexec.c (check_node_accept_bytes): Likewise.
19366         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
19367         variable.
19368         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
19369         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
19371         [BZ #18507]
19372         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
19373         __fstatvfs and define as weak alias of __fstatvfs.  Use
19374         libc_hidden_weak.
19375         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
19376         and define as weak alias of __statvfs.  Use libc_hidden_weak.
19377         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
19378         Define as alias of __fstatvfs, not fstatvfs.
19379         (fstatvfs64): Likewise.
19380         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
19381         Define as alias of __statvfs, not statvfs.
19382         (statvfs64): Likewise.
19383         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
19384         Remove variable.
19386 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19389         (HAVE_GETCPU_VSYSCALL): Define.
19390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19391         (HAVE_GETCPU_VSYSCALL): Likewise.
19392         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
19393         * sysdeps/unix/sysv/linux/sched_getcpu.c
19394         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
19395         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
19396         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
19397         prototype.
19398         * sysdeps/unix/sysv/linux/x86_64/init-first.c
19399         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
19400         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
19401         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
19402         Define.
19403         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
19404         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
19405         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
19406         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19408 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
19410         * sysdeps/x86_64/fpu/Makefile: New file.
19411         * sysdeps/x86_64/fpu/Versions: New file.
19412         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
19413         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
19414         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
19415         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
19416         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
19417         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
19418         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
19419         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
19420         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
19421         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
19422         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
19423         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
19424         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
19425         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19426         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19427         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
19428         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
19429         * sysdeps/x86_64/configure.ac: Options for libmvec build.
19430         * sysdeps/x86_64/configure: Regenerated.
19431         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
19432         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
19433         * manual/install.texi (Configuring and compiling): Document
19434         --disable-mathvec.
19435         * INSTALL: Regenerated.
19436         * NEWS: Mention addition of libmvec and x86_64 vector cos.
19438         * math/Makefile: Added rules for vector tests.
19439         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
19440         declaration under condition.
19441         * math/test-double-vlen2.h: New file.
19442         * math/test-double-vlen4.h: New file.
19443         * math/test-double-vlen8.h: New file.
19444         * math/test-vec-loop.h: Added initialization macro.
19445         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
19446         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
19447         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
19448         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
19449         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
19450         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
19451         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
19452         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
19453         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
19454         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
19455         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
19457         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
19458         * sysdeps/x86_64/fpu/Versions: New versions added.
19459         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
19460         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
19461         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
19462         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
19463         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
19464         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
19465         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
19466         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
19467         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
19468         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
19469         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
19470         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
19471         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
19472         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
19473         Added build of SSE, AVX2 and AVX512 IFUNC versions.
19474         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
19475         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
19476         * NEWS: Mention addition of x86_64 vector cosf.
19478         * math/Makefile: Added CFLAGS for new tests.
19479         * math/test-float-vlen16.h: New file.
19480         * math/test-float-vlen4.h: New file.
19481         * math/test-float-vlen8.h: New file.
19482         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
19483         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
19484         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19485         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
19486         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
19487         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
19488         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
19489         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
19490         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
19491         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
19492         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
19494 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
19496         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
19497         * locale/programs/ld-ctype.c: Likewise.
19499 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
19501         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
19502         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
19503         bit_ZMM16_31_state): New macro.
19504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
19505         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
19507 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
19509         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
19511 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
19513         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
19515 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
19517         [BZ #18498]
19518         * libio/memstream.c (open_memstream): Rename to __open_memstream
19519         and define as weak alias of __open_memstream.
19520         * include/stdio.h (__open_memstream): Declare.  Use
19521         libc_hidden_proto.
19522         (open_memstream): Don't use libc_hidden_proto.
19523         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
19524         open_memstream.
19525         * posix/getopt.c (_getopt_internal_r): Likewise.
19526         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
19527         variable.
19528         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
19529         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
19530         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
19532         [BZ #18496]
19533         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
19534         instead of wcrtomb.
19536         [BZ #18483]
19537         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
19538         [__USE_XOPEN2K8].  Remove redundant #endif.
19539         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
19540         Remove redundant #if.
19541         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
19542         Remove variable.
19543         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
19544         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
19546         [BZ #18495]
19547         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
19548         (__iswlower): Likewise.
19549         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
19550         (__iswlower): Likewise.
19551         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
19552         instead of towlower.
19553         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
19554         instead of iswlower.  Call __towupper instead of towupper.
19555         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
19556         instead of iswalnum.
19558 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
19560         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
19561         errors to stderr.
19563 2015-06-05  Florian Weimer  <fweimer@redhat.com>
19565         [BZ #15661]
19566         [BZ #17322]
19567         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
19568         Check for overflow properly.  Check for O_APPEND.  Ignore large
19569         file system block sizes.  Add comments about problems.
19570         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
19571         * manual/filesys.texi (Storage Allocation): New node.
19573 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19575         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
19576         cancellable syscalls.
19577         (SYS_ify): Add guard to no redefine it.
19578         (INLINE_SYSCALL): Likewise.
19579         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
19580         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
19581         SYSCALL_CANCEL instead.
19582         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
19583         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
19584         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
19585         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
19586         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
19587         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
19588         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
19589         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
19590         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
19591         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
19592         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
19593         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
19594         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
19595         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
19596         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
19597         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
19598         Likewise.
19599         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
19600         (__libc_pread64): Likewise.
19601         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
19602         (__libc_preadv): Likewise.
19603         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
19604         (__libc_readv64): Likewise.
19605         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
19606         (__libc_pwrite): Likewise.
19607         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
19608         (__libc_pwrite64): Likewise.
19609         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
19610         (__libc_pwritev): Likewise.
19611         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
19612         (__libc_pwritev64): Likewise.
19613         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
19614         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
19615         (sync_file_range): Likewise.
19616         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
19617         Likewise.
19618         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
19619         Likewise.
19620         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
19621         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
19622         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
19623         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
19624         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
19625         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
19626         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
19627         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
19628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
19629         Likewise.
19630         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
19631         (__libc_read64): Likewise.
19632         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
19633         Likewise.
19634         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
19635         Likewise.
19636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
19637         Likewise.
19638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
19639         Likewise.
19640         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
19641         (__libc_pread64): Likewise.
19642         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
19643         Likewise.
19644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
19645         (__libc_pwrite64): Likewise.
19646         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
19647         (sync_file_range): Likewise.
19648         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
19649         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
19650         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
19651         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
19652         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
19653         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
19654         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
19655         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
19656         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
19657         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
19658         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
19659         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
19660         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
19661         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
19662         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
19663         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
19664         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
19665         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
19666         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
19667         Likewise.
19668         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
19669         Likewise.
19670         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
19671         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
19672         Likewise.
19673         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
19674         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
19675         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
19676         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
19677         Likewise.
19678         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
19679         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
19680         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
19681         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
19682         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
19684 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
19686         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
19687         Include dl-vdso.
19688         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
19689         Use VDSO routines for gettimeofday, clock_gettime if
19690         available.
19691         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
19692         Declare VDSO symbols.
19693         * sysdeps/unix/sysv/linux/arm/sysdep.h:
19694         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
19695         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
19696         * sysdeps/unix/sysv/linux/arm/Versions: Add
19697         __vdso_clock_gettime.
19699 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19701         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
19702         be an inline implementation regardless of library is built within.
19703         (open_not_cancel_2): Likewise.
19704         (__read_nocancel): Likewise.
19705         (__write_nocancel): Likewise.
19706         (openat_not_cancel): Likewise.
19707         (openat_not_cancel_3): Likewise.
19708         (openat64_not_cancel): Likewise.
19709         (openat64_not_cancel_3): Likewise.
19710         (__close_nocancel): Likewise.
19711         (pause_not_cancel): Likewise.
19712         (nanosleep_not_cancel): Likewise.
19713         (sigsuspend_not_cancel): Likewise.
19715 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19717         [BZ #14958]
19718         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
19719         wake-up.
19720         (__pthread_rwlock_rdlock_slow): Likewise.
19721         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
19722         Likewise.
19723         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
19724         Likewise.
19725         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
19726         * nptl/tst-rwlock16.c: New file.
19727         * nptl/Makefile (tests): Add new test.
19729 2015-06-04  Torvald Riegel  <triegel@redhat.com>
19731         [BZ #18324]
19732         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
19733         missing wake-up of readers.
19734         * nptl/tst-rwlock15.c: New file.
19735         * nptl/Makefile (tests): Add new test.
19737 2015-06-03  Roland McGrath  <roland@hack.frob.com>
19739         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
19740         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
19741         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
19742         and __nacl_supply_interface_rtld.
19743         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
19744         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
19745         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
19746         Add __nacl_supply_interface_rtld.
19747         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
19749 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19751         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
19752         isfinite.
19753         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
19754         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
19756 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
19758         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
19759         __signbit* with standard C99 macros.
19760         * math/e_exp10l.c: Likewise.
19761         * math/e_exp2l.c: Likewise.
19762         * math/e_scalb.c: Likewise.
19763         * math/e_scalbf.c: Likewise.
19764         * math/e_scalbl.c: Likewise.
19765         * math/s_ldexp.c: Likewise.
19766         * math/s_ldexpf.c: Likewise.
19767         * math/s_ldexpl.c: Likewise.
19768         * math/w_atan2.c: Likewise.
19769         * math/w_atan2f.c: Likewise.
19770         * math/w_atan2l.c: Likewise.
19771         * math/w_cosh.c: Likewise.
19772         * math/w_coshf.c: Likewise.
19773         * math/w_coshl.c: Likewise.
19774         * math/w_exp10.c: Likewise.
19775         * math/w_exp10f.c: Likewise.
19776         * math/w_exp10l.c: Likewise.
19777         * math/w_exp2.c: Likewise.
19778         * math/w_exp2f.c: Likewise.
19779         * math/w_exp2l.c: Likewise.
19780         * math/w_fmod.c: Likewise.
19781         * math/w_fmodf.c: Likewise.
19782         * math/w_fmodl.c: Likewise.
19783         * math/w_hypot.c: Likewise.
19784         * math/w_hypotf.c: Likewise.
19785         * math/w_hypotl.c: Likewise.
19786         * math/w_jnl.c: Likewise.
19787         * math/w_lgamma.c: Likewise.
19788         * math/w_lgamma_r.c: Likewise.
19789         * math/w_lgammaf.c: Likewise.
19790         * math/w_lgammaf_r.c: Likewise.
19791         * math/w_lgammal.c: Likewise.
19792         * math/w_lgammal_r.c: Likewise.
19793         * math/w_pow.c: Likewise.
19794         * math/w_powf.c: Likewise.
19795         * math/w_powl.c: Likewise.
19796         * math/w_remainder.c: Likewise.
19797         * math/w_remainderf.c: Likewise.
19798         * math/w_remainderl.c: Likewise.
19799         * math/w_scalb.c: Likewise.
19800         * math/w_scalbf.c: Likewise.
19801         * math/w_scalbl.c: Likewise.
19802         * math/w_scalbln.c: Likewise.
19803         * math/w_scalblnf.c: Likewise.
19804         * math/w_scalblnl.c: Likewise.
19805         * math/w_sinh.c: Likewise.
19806         * math/w_sinhf.c: Likewise.
19807         * math/w_sinhl.c: Likewise.
19808         * math/w_tgamma.c: Likewise.
19809         * math/w_tgammaf.c: Likewise.
19810         * math/w_tgammal.c: Likewise.
19811         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
19812         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
19813         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
19814         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
19815         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
19816         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
19817         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
19818         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
19819         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
19820         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
19821         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
19822         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
19823         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
19824         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
19825         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
19826         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
19827         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
19828         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
19829         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
19830         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
19831         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
19832         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
19833         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
19834         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
19835         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
19836         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
19837         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
19838         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
19839         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
19840         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
19841         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
19842         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
19843         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
19844         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
19845         * stdio-common/printf_fp.c: Likewise.
19846         * stdio-common/printf_fphex.c: Likewise.
19847         * stdio-common/printf_size.c: Likewise.
19849 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
19851         [BZ #18470]
19852         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
19853         strnlen.
19854         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
19855         Remove variable.
19856         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
19857         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
19858         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
19859         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
19860         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
19861         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
19862         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
19863         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
19864         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
19865         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
19867         [BZ #18468]
19868         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
19869         weak alias of __wmemchr.  Use libc_hidden_weak.
19870         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
19871         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
19872         instead of wmemchr.
19874 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19876         [BZ #18383]
19877         * elf/tst-tlsalign-extern.c: New file.
19878         * elf/tst-tlsalign-extern-static.c: New file.
19879         * elf/tst-tlsalign-vars.c: New file.
19880         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
19881         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
19882         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
19883         ($(objpfx)tst-tlsalign-extern-static): Likewise.
19884         (test-xfail-tst-tlsalign-extern-static): New variable.
19886 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
19888         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
19889         Use variable name _sc_err instead of err.
19890         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
19891         instead of ret.
19892         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
19893         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
19894         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
19895         (INLINE_SYSCALL): Likewise.
19897         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
19898         * include/string.h (__strnlen): Use libc_hidden_proto.
19899         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
19900         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
19901         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
19902         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
19903         (libc_hidden_def): Undefine and redefine.
19904         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
19905         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
19906         __GI_strnlen.
19907         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
19908         libc_hidden_def.
19909         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
19911         [BZ #18469]
19912         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
19913         weak alias of __towlower.  Use libc_hidden_weak.
19914         (towupper): Rename to __towupper and define as weak alias of
19915         __towupper.  Use libc_hidden_weak.
19916         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
19917         (__towupper): Likewise.
19918         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
19919         __towlower instead of towlower.
19921 2015-06-02  Roland McGrath  <roland@hack.frob.com>
19923         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
19924         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
19926 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
19928         * sysdeps/aarch64/libm-test-ulps: Update.
19930 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19932         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
19933         Define.
19934         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19935         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
19936         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
19937         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
19938         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
19939         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
19940         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
19942 2015-06-01  Martin Sebor  <msebor@redhat.com>
19944         [BZ #18116]
19945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19946         (__setcontext): Use extended four-operand version of mtsf whenever
19947         possible.
19948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19949         (__novec_swapcontext): Likewise.
19951 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
19953         * benchtests/scripts/compare_bench.py: New file.
19954         * benchtests/scripts/import_bench.py (mean): New function.
19955         (split_list): Likewise.
19956         (do_for_all_timings): Likewise.
19957         (compress_timings): Likewise.
19959         * benchtests/scripts/import_bench.py: New file.
19960         * benchtests/scripts/validate_benchout.py: Import import_bench
19961         instead of jsonschema.
19962         (validate_bench): Remove function.
19963         (main): Use import_bench.
19965 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
19967         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
19968         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
19970 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19974 2015-05-28  Roland McGrath  <roland@hack.frob.com>
19976         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
19977         set THREAD_SELF->tid to a magic value and futex-wake it.
19978         Pass its address to the thread_exit system call.
19979         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
19980         bit is clear.
19981         * sysdeps/nacl/lowlevellock.h: New file.
19982         * sysdeps/nacl/lll_timedwait_tid.c: New file.
19984         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
19985         Add TIMEOUT to current time, don't subtract it.
19987 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
19989         [BZ #2981]
19990         [BZ #18422]
19991         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
19992         ($(objpfx)tst-audit2.out): Also depend on
19993         $(objpfx)tst-auditmod9b.so.
19994         * elf/tst-audit2.c: Include <dlfcn.h>.
19995         (calloc_called): New.
19996         (calloc): Allow to be called more than once.
19997         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
19999 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
20001         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
20002         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
20004 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
20006         * stdlib/monetary.h: Fix comment.
20008 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
20010         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
20011         Avoid using variables in #defines that might cause shadowing.
20012         (INTERNAL_VSYSCALL_CALL): Likewise.
20014 2015-05-26  Roland McGrath  <roland@hack.frob.com>
20016         * sysdeps/nacl/lll_timedlock_wait.c: New file.
20018         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
20019         * nptl/lll_timedlock_wait.c: ... to this new file.
20020         * nptl/Makefile (libpthread-routines): Add it.
20021         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
20022         * nptl/lll_timedwait_tid.c: ... to this new file.
20023         * nptl/Makefile (libpthread-routines): Add it.
20024         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
20025         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
20026         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
20027         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
20028         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
20029         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
20030         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
20031         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
20032         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
20033         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
20035 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20037         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
20038         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
20039         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
20040         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
20041         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
20042         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
20043         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20044         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
20045         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20046         * sysdeps/unix/sysv/linux/tile/sysdep.h
20047         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
20048         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
20049         using vDSO syscall macro.
20051 2015-05-26  Andriy Rysin  <arysin@gmail.com>
20053         [BZ #17293]
20054         * uk_UA: Fix sorting order for Ukrainian locale
20056 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
20058         * stdlib/monetary.h: Fix comment.
20060 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20062         [BZ #18234]
20063         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
20064         st_mtim and st_ctim members.
20065         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
20066         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
20067         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
20068         (struct stat64): Likewise.
20069         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
20070         (struct stat64): Likewise.
20071         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
20072         (struct stat64): Likewise.
20074 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20076         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
20077         Define and include sysdep-vdso.h.
20078         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
20079         Likewise.
20080         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
20081         Likewise.
20082         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
20083         Define with VDSO_SYMBOL and use PTR_MANGLE.
20084         (__vdso_clock_gettime): Likewise.
20085         (__vdso_clock_getres): Likewise.
20086         (_libc_vdso_platform_setup): Likewise.
20087         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
20088         Likewise.
20089         (_libc_vdso_platform_setup): Likewise.
20090         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
20091         Likewise.
20092         (__vdso_clock_gettime): Likewise.
20093         (__vdso_clock_getres): Likewise.
20094         (__vdso_get_tbfreq): Likewise.
20095         (__vdso_getcpu): Likewise.
20096         (__vdso_time): Likewise.
20097         (__vdso_sigtramp_rt64): Likewise.
20098         (__vdso_signtramp32): Likewise.
20099         (__vdso_sigtramp_rt32): Likewise.
20100         (_libc_vdso_platform_setup): Likewise.
20101         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
20102         Likewise.
20103         (__vdso_clock_gettime): Likewise.
20104         (__vdso_clock_getres): Likewise.
20105         (_libc_vdso_platform_setup): Likewise.
20106         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
20107         Likewise.
20108         (__vdso_clock_gettime): Likewise.
20109         (_libc_vdso_platform_setup): Likewise.
20110         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
20111         Likewise.
20112         (__vdso_getcpu): Likewise.
20113         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
20114         Use VDSO_SYMBOL macro to define.
20115         (__vdso_clock_gettime): Likewise.
20116         (__vdso_clock_getres): Likewise.
20117         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
20118         Likewise.
20119         (__vdso_clock_gettime): Likewise.
20120         (__vdso_clock_getres): Likewise.
20121         (__vdso_get_tbfreq): Likewise.
20122         (__vdso_getcpu): Likewise.
20123         (__vdso_time): Likewise.
20124         (__vdso_sigtramp_rt64): Likewise.
20125         (__vdso_signtramp32): Likewise.
20126         (__vdso_sigtramp_rt32): Likewise.
20127         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
20128         Likewise.
20129         (__vdso_clock_gettime): Likewise.
20130         (__vdso_clock_getres): Likewise.
20131         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
20132         Likewise.
20133         (__vdso_clock_gettime): Likewise.
20134         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
20135         Likewise.
20136         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
20137         macro.
20138         (INTERNAL_VSYSCALL): Likewise.
20139         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
20140         Remove macro.
20141         (INTERNAL_VSYSCALL): Likewise.
20142         (INTERNAL_VSYSCALL_NCS): Likewise.
20143         (INTERNAL_VSYSCALL_CALL): New macro.
20144         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20145         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
20146         Likewise.
20147         (INTERNAL_VSYSCALL): Likewise.
20148         (INTERNAL_VSYSCALL_NCS): Likewise.
20149         (INTERNAL_VSYSCALL_CALL): New macro.
20150         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
20151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20152         (INLINE_VSYSCALL): Remove macro.
20153         (INTERNAL_VSYSCALL): Remove macro.
20154         (INTERNAL_VSYSCALL_NCS): Remove macro.
20155         (INTERNAL_VSYSCALL_CALL): New macro.
20156         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
20157         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
20158         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20159         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
20160         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
20161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
20162         (INLINE_VSYSCALL): Remove macro.
20163         (INTERNAL_VSYSCALL): Likewise.
20164         (INTERNAL_VSYSCALL_NCS): Likewise.
20165         (INTERNAL_VSYSCALL_CALL): New macro.
20166         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
20167         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
20168         PTR_DEMANGLE on vDSO pointer.
20169         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
20170         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
20171         macro.
20172         (INTERNAL_SYSCALL): Likewise.
20173         (INTERNAL_VSYSCALL_NCS): Remove macro.
20174         (INTERNAL_VSYSCALL_CALL): New macro.
20175         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
20176         Remove macro.
20177         (INTERNAL_VSYSCALL): Likewise.
20178         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
20179         sysdep-vdso.h instead of libc-vdso.h.
20180         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
20181         definition.
20182         (INLINE_VSYSCALL): Likewise.
20183         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
20184         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
20185         definition.
20186         (INLINE_VSYSCALL): Likewise.
20187         (INTERNAL_VSYSCALL): Likewise.
20188         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20189         * sysdeps/unix/sysv/linux/timespec_get.c
20190         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
20191         (timespec_get): Use ANSI prototype.
20192         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
20193         and definition for Linux.
20195 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
20197         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
20198         * include/libc-symbols.h: libmvec_hidden_* macro series added.
20200 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
20202         [BZ #2981]
20203         [BZ #18410]
20204         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
20205         for missing DT_PLTRELSZ.
20207 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
20209         Remove obsolete aliases that broke 'locale -a'
20210         [BZ #18412]
20211         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
20212         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
20213         breaking some applications that use 'locale -a' output.
20214         Change the encoding of this file from Latin-1 to ASCII to avoid
20215         other potential problems with people grepping this file.
20217 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20219         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
20220         -fasynchronous-unwind-tables.
20221         (CFLAGS-sendto.c): Likewise.
20222         (CFLAGS-sendmsg.c): Likewise.
20223         (CFLAGS-connect.c): Likewise.
20224         (CFLAGS-recvmsg.c): Likewise.
20225         (CFLAGS-recvfrom.c): Likewise.
20226         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
20227         (SOCKETCALL): New macro: non-cancellable socketcall.
20228         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
20229         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
20230         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
20231         * sysdeps/unix/sysv/linux/accept.c: New file.
20232         * sysdeps/unix/sysv/linux/bind.c: Likewise.
20233         * sysdeps/unix/sysv/linux/connect.c: Likewise.
20234         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
20235         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
20236         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
20237         * sysdeps/unix/sysv/linux/listen.c: Likewise.
20238         * sysdeps/unix/sysv/linux/recv.c: Likewise.
20239         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
20240         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
20241         * sysdeps/unix/sysv/linux/send.c: Likewise.
20242         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
20243         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
20244         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
20245         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
20246         * sysdeps/unix/sysv/linux/socket.c: Likewise.
20247         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
20248         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
20249         prototype.
20250         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
20251         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20252         instead of __internal_xxx function.
20253         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
20254         prototype.
20255         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
20256         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20257         instead of __internal_xxx function.
20258         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
20259         prototype.
20260         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
20261         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
20262         instead of __internal_xxx function.
20263         * sysdeps/unix/sysv/linux/accept.S: Remove file.
20264         * sysdeps/unix/sysv/linux/bind.S: Likewise.
20265         * sysdeps/unix/sysv/linux/connect.S: Likewise.
20266         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
20267         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
20268         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
20269         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
20270         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
20271         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
20272         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
20273         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
20274         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
20275         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
20276         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
20277         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
20278         * sysdeps/unix/sysv/linux/listen.S: Likewise.
20279         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
20280         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
20281         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
20282         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
20283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
20284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
20285         * sysdeps/unix/sysv/linux/recv.S: Likewise.
20286         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
20287         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
20288         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
20289         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
20290         * sysdeps/unix/sysv/linux/send.S: Likewise.
20291         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
20292         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
20293         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
20294         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
20295         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
20296         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
20297         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
20298         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
20299         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
20300         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
20301         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
20302         socketcall is implemented in GLIBC.
20304 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20306         * soft-fp/fmadf4.c: Include <libc-internal.h>.
20307         (__fma): Ignore uninitialized warnings around packing.
20308         * soft-fp/fmasf4.c: Include <libc-internal.h>.
20309         (__fmaf): Ignore uninitialized warnings around packing.
20310         * soft-fp/fmatf4.c: Include <libc-internal.h>.
20311         (__fmal): Ignore uninitialized warnings around packing.
20313         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
20314         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20315         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
20316         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
20318         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
20319         switch statement into default case.
20320         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
20322         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
20323         a conditional in forcing "inexact".
20324         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20325         Likewise.
20327 2015-05-22  Roland McGrath  <roland@hack.frob.com>
20329         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
20330         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
20331         for each INTERNAL_SYSCALL use.
20333 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
20335         [BZ #438]
20336         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
20337         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
20338         variable.
20340         [BZ #18444]
20341         * string/basename.c (basename): Rename to __basename and define as
20342         weak alias of __basename.  Use libc_hidden_weak.
20343         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
20344         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
20345         __basename instead of basename.
20346         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
20347         Remove variable.
20348         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
20350 2015-05-18  Florian Weimer  <fweimer@redhat.com>
20352         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
20353         (_IO_JUMPS_FILE_plus): New.
20354         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
20355         _IO_CAST_FIELD_ACCESS.
20356         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
20357         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
20358         * libio/freopen.c (freopen): Likewise.
20359         * libio/freopen64.c (freopen64): Likewise.
20360         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
20361         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
20362         * libio/iofwide.c (_IO_fwide): Likewise.
20363         * libio/memstream.c (open_memstream): Likewise.
20364         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
20365         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
20366         * libio/oldiopopen.c (_IO_old_popen): Likewise.
20368 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
20370         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
20371         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
20372         NADJ.
20373         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
20374         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
20375         NADJ.
20376         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
20377         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
20378         NADJ.
20380         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
20381         (p == 4) case.
20383         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
20384         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
20385         Remove variable.
20386         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
20387         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
20388         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
20390 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20392         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
20393         Adjust jump table label generation macros.
20395 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20397         * stdio-common/vfprintf.c (vfprintf): Move local variables
20398         args_malloced, specs, specs_malloced, and the code after
20399         do_positional to the printf_positional function.
20400         (printf_positional): New function.
20402 2015-05-21  Florian Weimer  <fweimer@redhat.com>
20404         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
20405         function.
20406         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
20407         STEP4_TABLE, process_arg): Move macro definitions
20408         out of the vfprintf function.  (Cosmetic change only.)
20410 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
20412         * benchtests/Makefile (stdio-common-bench): Define.
20413         (benchset): Add stdio-common-bench.
20414         * sprintf-inputs: New file.
20415         * sprintf-source.c: New file.
20417 2015-05-21  Andreas Schwab  <schwab@suse.de>
20419         [BZ #13028]
20420         [BZ #17053]
20421         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
20422         of struct __res_state.
20423         * resolv/res_send.c (__libc_res_nsend): Likewise.
20424         (get_nsaddr): New function.
20425         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
20426         statp directly.
20428 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
20430         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
20431         -D_POSIX_C_SOURCE=199506L.
20433         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
20435         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
20436         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
20437         Do not mention otherwise.
20438         [POSIX] (_XOPEN_VERSION): Do not expect.
20439         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
20440         [POSIX] (_POSIX2_C_BIND): Likewise.
20441         [POSIX] (_POSIX2_VERSION): Likewise.
20442         [POSIX] (_XOPEN_XPG2): Likewise.
20443         [POSIX] (_XOPEN_XPG3): Likewise.
20444         [POSIX] (_XOPEN_XPG4): Likewise.
20445         [POSIX] (_XOPEN_UNIX): Likewise.
20446         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
20447         [POSIX] (_POSIX_BARRIERS): Likewise.
20448         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
20449         [POSIX] (_POSIX_CPUTIME): Likewise.
20450         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
20451         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
20452         [POSIX] (_POSIX_SHELL): Likewise.
20453         [POSIX] (_POSIX_SPAWN): Likewise.
20454         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
20455         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
20456         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
20457         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
20458         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
20459         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
20460         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
20461         [POSIX] (_XBS5_LP64_OFF64): Likewise.
20462         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
20463         [POSIX] (_POSIX_TIMEOUTS): Likewise.
20464         [POSIX] (_POSIX2_PBS): Likewise.
20465         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
20466         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
20467         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
20468         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
20469         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
20470         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
20471         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
20472         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
20473         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
20474         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
20475         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
20476         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
20477         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
20478         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
20479         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
20480         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
20481         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
20482         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
20483         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
20484         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
20485         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
20486         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
20487         [POSIX] (_SC_2_C_BIND): Likewise.
20488         [POSIX] (_SC_2_C_VERSION): Likewise.
20489         [POSIX] (_SC_2_PBS): Likewise.
20490         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
20491         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
20492         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
20493         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
20494         [POSIX] (_SC_2_PBS_TRACK): Likewise.
20495         [POSIX] (_SC_ATEXIT_MAX): Likewise.
20496         [POSIX] (_SC_BARRIERS): Likewise.
20497         [POSIX] (_SC_BASE): Likewise.
20498         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
20499         [POSIX] (_SC_DEVICE_IO): Likewise.
20500         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
20501         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
20502         [POSIX] (_SC_FD_MGMT): Likewise.
20503         [POSIX] (_SC_FIFO): Likewise.
20504         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
20505         [POSIX] (_SC_FILE_LOCKING): Likewise.
20506         [POSIX] (_SC_FILE_SYSTEM): Likewise.
20507         [POSIX] (_SC_IOV_MAX): Likewise.
20508         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
20509         [POSIX] (_SC_NETWORKING): Likewise.
20510         [POSIX] (_SC_PAGE_SIZE): Likewise.
20511         [POSIX] (_SC_PASS_MAX): Likewise.
20512         [POSIX] (_SC_PIPE): Likewise.
20513         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
20514         [POSIX] (_SC_REGEXP): Likewise.
20515         [POSIX] (_SC_SHELL): Likewise.
20516         [POSIX] (_SC_SIGNALS): Likewise.
20517         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
20518         [POSIX] (_SC_SPIN_LOCKS): Likewise.
20519         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
20520         [POSIX] (_SC_USER_GROUPS): Likewise.
20521         [POSIX] (_SC_USER_GROUPS_R): Likewise.
20522         [POSIX] (_SC_STREAMS): Likewise.
20523         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
20524         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
20525         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
20526         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
20527         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
20528         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
20529         [POSIX] (_PC_FILESIZEBITS): Likewise.
20530         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
20531         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
20532         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
20533         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
20534         [POSIX] (uid_t): Likewise.
20535         [POSIX] (gid_t): Likewise.
20536         [POSIX] (off_t): Likewise.
20537         [POSIX] (pid_t): Likewise.
20538         [POSIX] (cuserid): Allow.
20539         (_SC_2_CHAR_TERM): Require constant.
20540         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
20541         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
20542         variable.
20544 2015-05-20  Roland McGrath  <roland@hack.frob.com>
20546         * sysdeps/nacl/pthread-pids.h: New file.
20547         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
20548         (create_thread): Use __nacl_get_tid to initialize PD->tid.
20550         * nptl/pthread-pids.h: New file.
20551         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
20552         * nptl/nptl-init.c: Include <pthread-pids.h>.
20553         (__pthread_initialize_minimal_internal):
20554         Call __pthread_initialize_pids instead of set_tid_address syscall.
20556         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
20557         * sysdeps/posix/usleep.c: ... here.
20559 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20561         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
20562         call_pselect6 object.
20563         [$(subdir) = io]: Remove call_sync_file_range object.
20564         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
20565         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
20566         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
20567         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
20569 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
20571         * math/s_cproj.c: Add include "math_private.h".
20572         * math/s_cprojf.c: Likewise.
20573         * math/s_cprojl.c: Likewise.
20575 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
20577         [BZ #18244]
20578         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
20579         high mantissa bit when testing whether P is a NaN.
20580         * math/libm-test.inc (remainder_test_data): Add more tests.
20581         (remquo_test_data): Likewise.
20583         [BZ #18049]
20584         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
20585         below -32, return the argument, with underflow if subnormal.
20586         * math/auto-libm-test-in: Add more tests of atanh.
20587         * math/auto-libm-test-out: Regenerated.
20589 2015-05-19  Roland McGrath  <roland@hack.frob.com>
20591         [BZ #18434]
20592         * nptl/tst-sem15.c: New file.
20593         * nptl/Makefile (tests): Add it.
20594         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
20595         s/<</>>/ to fix typo in EOVERFLOW check.
20596         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
20598 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20600         * manual/strings.texi (envz_remove): Fix typo in safety
20601         annotations.
20603 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
20604             Steve Ellcey  <sellcey@imgtec.com>
20606         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
20607         in order to avoid strict alias warnings.
20608         (iruserok_af): Ditto for ra.
20610 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
20612         [BZ #17581]
20613         * malloc/hooks.c
20614         (magicbyte): Convert to a function and avoid returning 0x01.
20615         (mem2mem_check): Avoid using a length byte equal to the magic byte.
20616         (mem2chunk_check): Fix unsigned comparisons to zero.
20617         Hoist defs of sz and magic.
20619 2015-05-19  Richard Henderson  <rth@redhat.com>
20621         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
20623         * sysdeps/alpha/fpu/libm-test-ulps: Update.
20625 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
20627         [BZ #16159]
20628         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
20629         * malloc/arena.c (arena_lock): Check if arena is corrupt.
20630         (reused_arena): Find a non-corrupt arena.
20631         (heap_trim): Pass arena to unlink.
20632         * malloc/hooks.c (malloc_check_get_size): Pass arena to
20633         malloc_printerr.
20634         (top_check): Likewise.
20635         (free_check): Likewise.
20636         (realloc_check): Likewise.
20637         * malloc/malloc.c (malloc_printerr): Add arena argument.
20638         (unlink): Likewise.
20639         (munmap_chunk): Adjust.
20640         (ARENA_CORRUPTION_BIT): New macro.
20641         (arena_is_corrupt): Likewise.
20642         (set_arena_corrupt): Likewise.
20643         (sysmalloc): Use mmap if there are no usable arenas.
20644         (_int_malloc): Likewise.
20645         (__libc_malloc): Don't fail if arena_get returns NULL.
20646         (_mid_memalign): Likewise.
20647         (__libc_calloc): Likewise.
20648         (__libc_realloc): Adjust for additional argument to
20649         malloc_printerr.
20650         (_int_free): Likewise.
20651         (malloc_consolidate): Likewise.
20652         (_int_realloc): Likewise.
20653         (_int_memalign): Don't touch corrupt arenas.
20654         * malloc/tst-malloc-backtrace.c: New test case.
20656         * Makefile (summarize-tests): Fix return value on success.
20658         * manual/string.texi (Envz Functions): Add envz_remove.
20660 2015-05-18  Roland McGrath  <roland@hack.frob.com>
20662         * sysdeps/posix/opendir.c: Include <stdbool.h>.
20663         (invalid_name): New function, broken out of ...
20664         (__opendirat): ... here.  Call it.
20665         (need_isdir_precheck): New function, broken out of ...
20666         (__opendirat): ... here.  Call it.
20667         Use __fxstatat64, not __xstatat64.
20668         (opendir_oflags): New function, broken out of ...
20669         (__opendirat): ... here.  Call it.
20670         (opendir_tail): New function, broken out of ...
20671         (__opendirat): ... here.  Call it.
20672         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
20673         opendir_tail, rather than punting to __opendirat.
20674         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
20676 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20678         * .gitignore: Ignore generated *.pyc.
20680 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
20682         * include/stdio.h: Define __need_wint_t.
20683         * test-skeleton.c: Avoid `for' loop initial declaration.
20684         * nptl/tst-initializers1.c: Use test-skeleton.c.
20686 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20688         [BZ #18418]
20689         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
20691 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20693         [BZ #16352]
20694         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
20695         (__ieee754_atanh): Force underflow exception for results with
20696         small absolute value.
20697         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
20698         (__ieee754_atanhf): Force underflow exception for results with
20699         small absolute value.
20700         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
20701         (__ieee754_atanh): Force underflow exception for results with
20702         small absolute value.
20703         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
20704         (__ieee754_atanhf): Force underflow exception for results with
20705         small absolute value.
20706         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
20707         (__ieee754_atanhl): Force underflow exception for results with
20708         small absolute value.
20709         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
20710         (__ieee754_atanhl): Force underflow exception for results with
20711         small absolute value.
20712         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
20713         (__ieee754_atanhl): Force underflow exception for results with
20714         small absolute value.
20715         * math/auto-libm-test-in: Do not allow missing underflow
20716         exceptions from atanh.
20717         * math/auto-libm-test-out: Regenerated.
20719         [BZ #18221]
20720         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
20721         2**-28 as threshold for returning x or +/- 1/x.
20722         * math/auto-libm-test-in: Add more tests of tan.
20723         * math/auto-libm-test-out: Regenerated.
20725         [BZ #18220]
20726         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
20727         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
20728         * math/auto-libm-test-in: Add another test of lgamma.
20729         * math/auto-libm-test-out: Regenerated.
20731 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
20733         * stdio-common/printf_fp.c (___printf_fp): Use abs.
20734         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
20735         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
20736         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
20737         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
20738         (ADD2A): Use fabs.  (SUB2A): Use fabs.
20739         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
20740         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
20741         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
20742         (log1): Use fabs.  (my_log2): Use fabs.
20743         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
20744         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
20745         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
20746         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
20747         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
20748         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
20749         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
20750         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
20751         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
20752         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
20753         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
20755 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
20757         [BZ #18217]
20758         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
20759         as threshold for returning 1 - x.
20760         * math/auto-libm-test-in: Add more tests of erfc.
20761         * math/auto-libm-test-out: Regenerated.
20763 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
20765         [BZ #18196]
20766         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
20767         threshold for large arguments.
20768         * math/auto-libm-test-in: Add another test of atan.
20769         * math/auto-libm-test-out: Regenerated.
20771         [BZ #16339]
20772         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
20773         (__log1p): Force underflow exception for results with small
20774         absolute value.
20775         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
20776         (__log1pf): Force underflow exception for results with small
20777         absolute value.
20778         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
20779         (__log1p): Force underflow exception for results with small
20780         absolute value.
20781         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
20782         (__log1pf): Force underflow exception for results with small
20783         absolute value.
20784         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
20785         (__log1pl): Force underflow exception for results with small
20786         absolute value.
20787         * math/auto-libm-test-in: Do not allow missing underflow
20788         exceptions from log1p.
20789         * math/auto-libm-test-out: Regenerated.
20791 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
20792             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20794         [BZ #16704]
20795         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
20797 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
20799         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
20800         (libmvec): New variable.
20801         * configure.ac: Added option for mathvec build.
20802         * configure: Regenerated.
20803         * mathvec/Depend: New file.
20804         * mathvec/Makefile: New file.
20805         * shlib-versions: Added libmvec.
20806         * math/Makefile: Added rule for libm.so installation.
20808         * bits/math-vector.h: New file.
20809         * bits/libm-simd-decl-stubs.h: New header.
20810         * math/Makefile (headers): Added new header
20811         libm-simd-decl-stubs.h.
20812         * math/math.h (__MATHCALL_VEC): New macro.
20814         * math/gen-libm-have-vector-test.sh: Script generates series of macros
20815         for conditions in testing functions.
20816         * math/Makefile: Added call of libm-have-vector-test.sh.
20817         * math/libm-test.inc (HAVE_VECTOR): New macros.
20819         * math/libm-test.inc: START refactored.
20820         * math/test-double.c (TEST_MATHVEC): Add define.
20821         * math/test-float.c: Likewise.
20822         * math/test-idouble.c: Likewise.
20823         * math/test-ifloat.c: Likewise.
20824         * math/test-ildoubl.c: Likewise.
20825         * math/test-ldouble.c: Likewise.
20826         * sysdeps/generic/math-tests-arch.h
20827         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
20828         architecture check.
20830         * math/test-double.c (FUNC_TEST): New macro.
20831         * math/test-float.c: Likewise.
20832         * math/test-idouble.c: Likewise.
20833         * math/test-ifloat.c: Likewise.
20834         * math/test-ildoubl.c: Likewise.
20835         * math/test-ldouble.c: Likewise.
20836         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
20838 2015-05-13  Roland McGrath  <roland@hack.frob.com>
20840         * sysdeps/nacl/fdopendir.c: New file.
20842         * dirent/scandir-tail.c: New file.
20843         * dirent/scandir64-tail.c: New file.
20844         * dirent/Makefile (routines): Add them.
20845         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
20846         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
20847         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
20848         [!SCANDIR] (SCANDIR_TAIL): New macro.
20849         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
20850         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
20851         (SCANDIRAT): Macro removed.
20852         (SCANDIR_TAIL): New macro.
20853         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
20854         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
20855         (SCANDIRAT): Just call __opendirat and __scandir_tail.
20856         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
20857         (READDIR): Macro removed.
20858         (SCANDIR_TAIL): New macro.
20859         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
20860         (SCANDIR_TAIL): New macro.
20862         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
20863         * dirent/scandir-cancel.c: ... to this new file.
20864         * dirent/Makefile (routines): Add it.
20865         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
20866         * sysdeps/unix/sysv/linux/i386/scandir64.c
20867         (SKIP_SCANDIR_CANCEL): Macro removed.
20868         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
20870         * dirent/tst-scandir.c: New file.
20871         * dirent/tst-scandir64.c: New file.
20872         * dirent/Makefile (tests): Add them.
20874 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
20876         [BZ #18409]
20877         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
20879 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
20881         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
20882         list.
20884 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
20886         * benchtests/bench-strcoll.c: New benchmark.
20887         * benchtests/Makefile: Generate locales and run benchmark.
20888         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
20889         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
20890         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
20891         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
20892         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
20893         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
20894         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
20895         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
20896         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
20897         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
20898         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
20899         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
20900         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
20901         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
20902         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
20903         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
20904         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
20905         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
20906         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
20907         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
20908         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
20909         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
20910         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
20911         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
20913 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
20915         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
20916         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
20918 2015-05-12  Roland McGrath  <roland@hack.frob.com>
20920         * posix/uname-values.h: New file.
20921         * posix/uname.c: Include that instead of <config-name.h>.
20922         * sysdeps/nacl/uname-values.h: New file.
20923         * sysdeps/arm/nacl/uname-values.h: New file.
20925 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
20927         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
20928         splitting into fields.
20930 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
20932         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
20933         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
20934         * locale/localeinfo.h: Add enum collation_encoding_type.
20935         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
20936         * programs/ld-collate.c (collate_output): Add encoding type info.
20937         * string/strcoll_l.c (STRDIFF): New function.
20938         * (STRCOLL): Use STRDIFF to skip over equal prefix.
20939         * wcsmbs/wcscoll_l.c: Define STRDIFF.
20941 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
20943         [BZ #18397]
20944         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
20945         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
20946         <fpu_control.h> instead of <math/fpu_control.c>.
20947         * sysdeps/mips/mips32/fpu/Makefile: New file.
20949 2015-05-11  Andreas Schwab  <schwab@suse.de>
20951         [BZ #18007]
20952         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
20953         nss_endgrent.
20954         (_nss_compat_endgrent): Call nss_endgrent.
20955         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
20956         nss_endpwent.
20957         (_nss_compat_endpwent): Call nss_endpwent.
20958         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
20959         needent, call nss_setspent only if non-zero.
20960         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
20961         (internal_endspent): Don't call nss_endspent.
20962         (_nss_compat_endspent): Call nss_endspent.
20963         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
20964         Remove.  All uses removed.
20965         (internal_setent): Remove parameter stayopen, add parameter
20966         stream.  Use it instead of global variable.
20967         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
20968         (internal_endent, internal_getent): Add parameter stream.  Use it
20969         instead of global variable.
20970         (CONCAT(_nss_files_end,ENTNAME))
20971         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
20972         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
20973         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
20974         uses removed.
20975         (internal_setent, internal_endent): Add parameter stream.  Use it
20976         instead of global variable.
20977         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
20978         stream.
20979         (get_next_alias): Add parameter stream.
20980         (_nss_files_getaliasent_r): Pass global stream.
20981         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
20982         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
20983         (_nss_files_gethostbyname4_r): Pass local stream to
20984         internal_setent, internal_getent and internal_endent.  Remove
20985         locking.
20987 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
20989         * tst-strfmon1.c (tests): Update expected currency symbol.
20991 2015-05-08  Roland McGrath  <roland@hack.frob.com>
20993         * sysdeps/nacl/gethostname.c: New file.
20995 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
20997         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
20998         and sinh.
20999         * math/auto-libm-test-out: Regenerated.
21000         * sysdeps/i386/fpu/libm-test-ulps: Update.
21001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21003 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
21005         [BZ #18125]
21006         * stdlib/tst-setcontext3.c: New file.
21007         * stdlib/tst-setcontext3.sh: New file.
21008         * stdlib/Makefile (tests): Add tst-setcontext3.
21009         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
21010         to verify test program created output file.
21011         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
21012         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
21013         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
21014         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
21016 2015-05-06  Roland McGrath  <roland@hack.frob.com>
21018         [BZ #18383]
21019         * elf/tst-tlsalign.c: New file.
21020         * elf/tst-tlsalign-static.c: New file.
21021         * elf/tst-tlsalign-lib.c: New file.
21022         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
21023         (tests-static): Add tst-tlsalign-static.
21024         (modules-names): Add tst-tlsalign-lib.
21025         (test-xfail-tst-tlsalign): New variable.
21026         (test-xfail-tst-tlsalign-static): New variable.
21028         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
21029         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
21031 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
21033         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
21034         csqrt, erfc, sin and sincos.
21035         * math/auto-libm-test-out: Regenerated.
21036         * sysdeps/i386/fpu/libm-test-ulps: Update.
21037         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21039 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21041         * sysdeps/aarch64/libm-test-ulps: Update.
21043 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
21045         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
21046         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
21047         * math/auto-libm-test-out: Regenerated.
21048         * sysdeps/i386/fpu/libm-test-ulps: Update.
21049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21051 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
21053         [BZ #18265]
21054         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
21055         (wcsncpy): Likewise.
21057 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21059         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
21060         Assume __ASSUME_FALLOCATE is always true.
21061         * sysdeps/unix/sysv/linux/posix_fallocate64.c
21062         (__posix_fallocate64_l64): Likweise.
21063         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
21064         (posix_fallocate): Likewise.
21065         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
21066         (__posix_fallocate64_l64): Likewise.
21067         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21068         [!__ASSUME_FALLOCATE]: Add comment.
21070 2015-05-05  Florian Weimer  <fweimer@redhat.com>
21072         * sysdeps/unix/sysv/linux/i386/Makefile
21073         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
21074         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
21075         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
21076         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
21077         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
21078         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
21079         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
21081 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
21083         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
21084         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
21085         tgamma.
21086         * math/auto-libm-test-out: Regenerated.
21087         * sysdeps/i386/fpu/libm-test-ulps: Update.
21088         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21090 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21092         * math/auto-libm-test-in: Add more tests of tgamma.
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 tanh.
21098         * math/auto-libm-test-out: Regenerated.
21099         * sysdeps/i386/fpu/libm-test-ulps: Update.
21100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21102         * math/auto-libm-test-in: Add more tests of tan.
21103         * math/auto-libm-test-out: Regenerated.
21104         * sysdeps/i386/fpu/libm-test-ulps: Update.
21105         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21107         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
21108         * math/auto-libm-test-out: Regenerated.
21109         * sysdeps/i386/fpu/libm-test-ulps: Update.
21110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21112         * math/auto-libm-test-in: Add another test of pow.
21113         * math/auto-libm-test-out: Regenerated.
21114         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21116         * math/auto-libm-test-in: Add more tests of lgamma.
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         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
21122         log1p.
21123         * math/auto-libm-test-out: Regenerated.
21124         * sysdeps/i386/fpu/libm-test-ulps: Update.
21125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21127 2015-05-01  Mark Wielaard  <mjw@redhat.com>
21129         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
21130         Elf64_Chdr structs and ELFCOMPRESS constants.
21132 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
21134         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
21135         expm1.
21136         * math/auto-libm-test-out: Regenerated.
21137         * sysdeps/i386/fpu/libm-test-ulps: Update.
21138         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21140         * math/auto-libm-test-in: Add more tests of erf and erfc.
21141         * math/auto-libm-test-out: Regenerated.
21142         * sysdeps/i386/fpu/libm-test-ulps: Update.
21143         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21145 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21147         * config.h.in (HAVE_AARCH64_BE): Add.
21149 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
21151         * math/auto-libm-test-in: Add more tests of csqrt.
21152         * math/auto-libm-test-out: Regenerated.
21153         * sysdeps/i386/fpu/libm-test-ulps: Update.
21154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21156         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21157         * math/auto-libm-test-out: Regenerated.
21158         * sysdeps/i386/fpu/libm-test-ulps: Update.
21159         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21161         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
21163 2015-04-29  Roland McGrath  <roland@hack.frob.com>
21165         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
21166         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
21168         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
21169         (euidaccess, eaccess): Define as weak aliases.
21171         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
21172         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
21173         but __suseconds_t is often 'long int' so some sources assume that
21174         type is being used (e.g. they use %ld to print tv_usec).
21176 2015-04-29  Florian Weimer  <fweimer@redhat.com>
21178         [BZ #18007]
21179         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
21180         (CVE-2014-8121)
21181         * nss/tst-nss-getpwent.c: New file.
21182         * nss/Makefile (tests): Add new test.
21184 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
21186         [BZ #18346]
21187         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
21188         exponents less than 48 as cases where high part of mantissa needs
21189         examining to determine whether argument is integral.
21190         * math/libm-test.inc (round_test_data): Add more tests.
21192 2015-04-28  Mark Wielaard  <mjw@redhat.com>
21194         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
21196 2015-04-27  David S. Miller  <davem@davemloft.net>
21198         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
21199         __tls_get_addr.
21200         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
21202 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
21204         [BZ#18333]
21205         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
21207 2015-04-27  Florian Weimer  <fweimer@redhat.com>
21209         [BZ#18333]
21210         * time/tzset.c (parse_tzname): Return error on memory allocation
21211         failure.
21212         * test-skeleton.c (struct temp_name_list): Change type of name
21213         member to non-const.
21214         (add_temp_file): Create a copy of the file name.
21215         (delete_temp_files): Deallocate memory.
21216         (create_temp_file): Add comment.
21218 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21220         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
21221         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
21223 2015-04-24  Roland McGrath  <roland@hack.frob.com>
21225         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
21226         * sysdeps/arm/configure: Regenerated.
21228 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21230         [BZ #17715]
21231         * time/tzfile.c (__tzfile_read): Check for large values of
21232         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
21233         * time/tzset.c (__tzstring_len): New function, based on the old
21234         __tzstring function.
21235         (__tzstring): Call __tzstring_len.
21236         (parse_tzname): New helper function extracted from
21237         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
21238         the input string.
21239         (parse_offset): New helper function extracted from
21240         __tzset_parse_tz.  Replace switch with fallthrough with
21241         initialization before sscanf.
21242         (parse_rule): Likewise.
21243         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
21244         new-style function definition.
21245         * timezone/Makefile (tests): Add tst-tzset.
21246         (tst-tzset.out): Dependencies on time zone files.
21247         (tst-tzset-ENV): Set TZDIR.
21248         (testdata/XT%): Copy crafted time zone files.
21249         * timezone/README: Mention crafted time zone files.
21250         * timezone/testdata/XT1, timezone/testdata/XT2,
21251         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
21252         files.
21253         * timezone/tst-tzset.c: New test.
21255 2015-04-24  Florian Weimer  <fweimer@redhat.com>
21257         * Makeconfig (+gccwarn): Remove -Winline.
21259 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21261         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
21263 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
21265         * NEWS: Mention sysconf() cache information support for s390.
21266         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
21268 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
21270         * math/k_casinh.c (__kernel_casinh): Use __copysign.
21271         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
21272         (__nearbyint): Likewise.
21273         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
21274         (copysignl): Likewise.
21276 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
21278         [BZ #18287]
21279         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
21280         based on padding.  (CVE-2015-1781)
21282 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21284         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
21285         libc-vdso.h.
21286         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
21287         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
21288         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
21289         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
21290         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
21291         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
21292         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
21293         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21294         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21295         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
21296         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
21297         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
21298         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
21299         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
21300         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
21301         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
21302         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
21303         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
21304         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
21305         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
21306         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
21307         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
21308         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
21310 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
21312         * stdlib/setenv.c (__add_to_environ):
21313         Dump core quickly if setenv (..., NULL, ...) is called.
21314         This time, do it the right way, and pacify GCC with a pragma.
21316 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21318         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
21319         IMAP->l_prev cannot be null, and #if out the code for the contrary
21320         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
21321         believe that NS (&_dl_ns[NSID]) could point outside the array.
21323         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
21324         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
21325         before using NSID as an index.
21327 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
21329         [BZ #17825]
21330         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
21331         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
21332         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
21334 2015-04-17  Roland McGrath  <roland@hack.frob.com>
21336         Add preliminary port to Google Native Client on ARM.
21337         * abi-tags (.*-.*-nacl.*): New entry.
21338         * sysdeps/arm/nacl: New directory.
21339         * sysdeps/nacl: New directory.
21341 2015-04-16  David S. Miller  <davem@davemloft.net>
21343         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
21344         lowlevellock-futex.h
21346 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
21348         * sysdeps/tile/configure.ac: New file.
21349         * sysdeps/tile/configure: Regenerated.
21351 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21353         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
21354         conditionals for weak_alias and libc_hidden_weak.
21355         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
21356         libc_hidden_weak and weak_alias.
21357         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
21358         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
21359         and weak_alias for static one.
21361 2015-04-15  David S. Miller  <davem@davemloft.net>
21363         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
21365 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21367         [BZ #18206]
21368         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
21369           Use signed comparision instead of substraction to avoid
21370           overflow bug.
21371         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
21372           Take the sign of ret.
21373         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
21374           Do not expect precise return values. Only the sign matters.
21375         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
21376         * wcsmbs/test-wcsncmp.c: New File.
21377         * string/test-strncmp.c: Add wcsncmp support.
21379 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
21381         [BZ #6792]
21382         * math/w_log1p.c: New file.
21383         * math/w_log1pf.c: Likewise.
21384         * math/w_log1pl.c: Likewise.
21385         * math/Makefile (libm-calls): Add w_log1p.
21386         * math/s_log1pl.c (log1pl): Remove weak_alias.
21387         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
21388         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
21389         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
21390         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
21391         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
21392         [NO_LONG_DOUBLE] (log1pl): Likewise.
21393         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
21394         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
21395         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
21396         (log1p): Remove long_double_symbol.
21397         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
21398         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
21399         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
21400         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
21401         remove weak_alias for corresponding log1p function.
21402         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
21403         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
21404         * sysdeps/ia64/fpu/w_log1p.c: New file.
21405         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
21406         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
21407         * math/libm-test.inc (log1p_test_data): Add errno expectations.
21409 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
21411         [BZ #18247]
21412         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
21413         decimal exponent by 1.
21414         * stdlib/tst-strtod-round-data: Add more tests.
21415         * stdlib/tst-strtod-round.c (tests): Regenerated.
21417 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
21419         * math/auto-libm-test-in: Add more tests of clog and clog10.
21420         * math/auto-libm-test-out: Regenerated.
21421         * sysdeps/i386/fpu/libm-test-ulps: Update.
21422         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21424 2015-04-09  Roland McGrath  <roland@hack.frob.com>
21426         * Makeconfig (module-cppflags): Exclude all .v.i files.
21427         (skip-module-cppflags): Variable removed.
21429         * configure.ac (libc_config_ok): Initialize before reading
21430         preconfigure scripts, not after.
21431         * configure: Regenerated.
21433         * test-skeleton.c (TIMEOUT): Move #define to top level.
21434         (main): Grok environment variable TEST_DIRECT.  If set, print
21435         test expectation details into that file and then behave as if
21436         given --direct.
21438 2015-04-09  Florian Weimer  <fweimer@redhat.com>
21440         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
21441         warning on 32-bit.
21443 2015-04-08  David S. Miller  <davem@davemloft.net>
21445         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21447 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21449         * math/auto-libm-test-in: Add more tests of atanh.
21450         * math/auto-libm-test-out: Regenerated.
21451         * sysdeps/i386/fpu/libm-test-ulps: Update.
21452         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21454         * math/auto-libm-test-in: Add more tests of atan.
21455         * math/auto-libm-test-out: Regenerated.
21456         * sysdeps/i386/fpu/libm-test-ulps: Update.
21457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21459 2015-04-08  Florian Weimer  <fweimer@redhat.com>
21461         * elf/pldd.c (main): Rewrite to use struct
21462         scratch_buffer instead of extend_alloca.
21463         * elf/pldd-xx.c (find_maps): Likewise.
21464         * grp/initgroups.c: Include <scratch_buffer.h> instead of
21465         <alloca.h>.
21466         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
21467         scratch_buffer instead of extend_alloca.
21468         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
21469         grp/compat-initgroups.c.
21470         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
21471         Rewrite to use struct scratch_buffer instead of extend_alloca.
21472         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
21473         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
21475 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
21477         * math/auto-libm-test-in: Add more tests of cbrt.
21478         * math/auto-libm-test-out: Regenerated.
21479         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
21481         * math/auto-libm-test-in: Add more tests of cabs.
21482         * math/auto-libm-test-out: Regenerated.
21483         * sysdeps/i386/fpu/libm-test-ulps: Update.
21484         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21486         [BZ #18210]
21487         [BZ #18211]
21488         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
21489         (__ieee754_atan2): Set FE_TONEAREST mode for internal
21490         computations.
21491         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
21492         clog10.
21493         * math/auto-libm-test-out: Regenerated.
21494         * sysdeps/i386/fpu/libm-test-ulps: Update.
21495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21497         [BZ #18197]
21498         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
21499         (atan): Set FE_TONEAREST mode for internal computations.
21500         * math/auto-libm-test-in: Add more tests of atan.
21501         * math/auto-libm-test-out: Regenerated.
21503 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
21505         [BZ #17930]
21506         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
21508 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21510         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
21512 2015-04-07  Florian Weimer  <fweimer@redhat.com>
21514         * include/scratch_buffer.h: New file.
21515         * malloc/scratch_buffer_grow.c: Likewise.
21516         * malloc/scratch_buffer_grow_preserve.c: Likewise.
21517         * malloc/scratch_buffer_set_array_size.c: Likewise.
21518         * malloc/tst-scratch_buffer.c: Likewise.
21519         * malloc/Makefile (routines): Add scratch_buffer_grow.
21520         (tests): Add test case.
21521         * malloc/Versions (GLIBC_PRIVATE): Export
21522         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
21523         __libc_scratch_buffer_set_array_size.
21525 2015-04-06  Richard Henderson  <rth@redhat.com>
21527         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
21528         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21530         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
21531         unsigned int before printing.
21533 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21535         [BZ #17596]
21536         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
21537         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
21539 2015-04-02  Florian Weimer  <fweimer@redhat.com>
21541         * include/libc-internal.h (libc_max_align_t): Define.
21543 2015-04-02  Andreas Schwab  <schwab@suse.de>
21545         [BZ #16850]
21546         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
21548 2015-04-02  Mel Gorman  <mgorman@suse.de>
21550         [BZ #17195]
21551         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
21552         as well as the main arena.
21554 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21556         [BZ #18185]
21557         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
21558         sharing L2 cache to 2 for Silvermont/Knights Landing.
21560 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21562         [BZ #17711]
21563         * config.make.in (have-protected-data): New.
21564         * configure.ac: Check linker support for protected data symbol.
21565         * configure: Regenerated.
21566         * elf/Makefile (modules-names): Add tst-protected1moda and
21567         tst-protected1modb if $(have-protected-data) is yes.
21568         (tests): Add tst-protected1a and tst-protected1b if
21569         $(have-protected-data) is yes.
21570         ($(objpfx)tst-protected1a): New.
21571         ($(objpfx)tst-protected1b): Likewise.
21572         (tst-protected1modb.so-no-z-defs): Likewise.
21573         * elf/tst-protected1a.c: New file.
21574         * elf/tst-protected1b.c: Likewise.
21575         * elf/tst-protected1mod.h: Likewise.
21576         * elf/tst-protected1moda.c: Likewise.
21577         * elf/tst-protected1modb.c: Likewise.
21579 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
21581         [BZ #17711]
21582         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
21583         indicates it is called from do_lookup_x on relocation against
21584         protected data, skip the data definion in the executable from
21585         copy reloc.
21586         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
21587         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
21588         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
21589         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
21590         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
21591         otherwise to 0.
21592         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21593         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
21594         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
21595         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
21596         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
21597         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
21599 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
21601         * sysdeps/nptl/pthread.h: Remove duplicate definition of
21602         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
21604 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
21606         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
21607         THREAD_SETMEM_NC.
21608         * sysdeps/x86_64/nptl/tls.h: Ditto.
21610 2015-03-27  Roland McGrath  <roland@hack.frob.com>
21612         * dlfcn/tststatic.c (main): Converted to ...
21613         (do_test): ... this.
21614         (TEST_FUNCTION): New macro.
21615         Include test-skeleton.c.
21617 2015-03-26  Alan Modra  <amodra@gmail.com>
21619         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
21620         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
21621         zero for undefined weak.
21622         (elf_machine_plt_conflict): Similarly.
21624 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21626         * math/auto-libm-test-in: Add more tests of acosh, asinh and
21627         atanh.
21628         * math/auto-libm-test-out: Regenerated.
21629         * sysdeps/i386/fpu/libm-test-ulps: Update.
21630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21632         * math/auto-libm-test-in: Add another test of asin.
21633         * math/auto-libm-test-out: Regenerated.
21634         * sysdeps/i386/fpu/libm-test-ulps: Update.
21635         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21637         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
21638         Remove macro.
21639         (LLL_EBX_REG): Likewise.
21640         (LLL_ENTER_KERNEL): Likewise.
21642         * math/auto-libm-test-in: Add more tests of asin.
21643         * math/auto-libm-test-out: Regenerated.
21644         * sysdeps/i386/fpu/libm-test-ulps: Update.
21645         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21647         [BZ #18138]
21648         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
21649         libc_do_syscall_args): New structure.
21650         (INTERNAL_SYSCALL_MAIN_0): New macro.
21651         (INTERNAL_SYSCALL_MAIN_1): Likewise.
21652         (INTERNAL_SYSCALL_MAIN_2): Likewise.
21653         (INTERNAL_SYSCALL_MAIN_3): Likewise.
21654         (INTERNAL_SYSCALL_MAIN_4): Likewise.
21655         (INTERNAL_SYSCALL_MAIN_5): Likewise.
21656         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
21657         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
21658         Replace conditional definitions by conditional definitions of ....
21659         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
21660         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
21661         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
21662         (libpthread-sysdep_routines): Add libc-do-syscall.
21663         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
21664         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
21665         to __NR_futex not 240.
21667 2015-03-25  Alan Modra  <amodra@gmail.com>
21669         * NEWS: Advertise TLS optimization.
21670         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
21671         (DT_PPC_NUM): Increment.
21672         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
21673         (CHECK_STATIC_TLS): Use here.
21674         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
21675         TLS descriptors.
21676         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
21677         * sysdeps/powerpc/dl-tls.c: New file.
21678         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
21679         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
21680         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
21681         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
21682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
21683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
21684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
21686 2015-03-25  Alan Modra  <amodra@gmail.com>
21688         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
21689         for overlapping .opd entries" to "support...".
21690         * sysdeps/powerpc/powerpc64/configure: Regenerate
21692 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
21694         * math/auto-libm-test-in: Add more tests of acos.
21695         * math/auto-libm-test-out: Regenerated.
21696         * sysdeps/i386/fpu/libm-test-ulps: Update.
21697         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21699         * math/auto-libm-test-in: Add more tests of expm1.
21700         * math/auto-libm-test-out: Regenerated.
21701         * sysdeps/i386/fpu/libm-test-ulps: Update.
21702         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21704 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
21706         * math/auto-libm-test-in: Add more tests of cosh and sinh.
21707         * math/auto-libm-test-out: Regenerated.
21708         * sysdeps/i386/fpu/libm-test-ulps: Update.
21709         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21711         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
21712         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21714         * math/auto-libm-test-in: Add more tests of log2.
21715         * math/auto-libm-test-out: Regenerated.
21716         * sysdeps/i386/fpu/libm-test-ulps: Update.
21717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21719 2015-03-23  Roland McGrath  <roland@hack.frob.com>
21721         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
21722         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
21723         _IO_IS_APPENDING bit in READ_WRITE instead.
21725 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21727         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
21728         (__determine_cpumask_size): Replace extend_alloca with a
21729         variable-length array.  Do not treat res == 0 as an error.
21731 2015-03-23  Florian Weimer  <fweimer@redhat.com>
21733         [BZ #18100]
21734         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
21735         and integer overflow.
21736         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
21737         (main): Add integer overflow tests.
21738         * manual/pattern.texi (Calling Wordexp): Document additional use
21739         for WRDE_SYNTAX.
21741 2015-03-23  Alan Modra  <amodra@gmail.com>
21743         * config.h.in: Remove HAVE_ASM_PPC_REL16.
21744         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
21745         and false branch of conditional.
21746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
21747         Likewise.
21749 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
21751         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
21752         libc-modules.h
21753         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
21754         unused declaration of _hurd_intr_rpc_msg_in_trap.
21755         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
21756         defined instead of whether it is non-zero.
21757         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
21758         input constraint instead of both input and output constraint.  Use ecx
21759         clobber instead of %ecx.
21760         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
21761         mutex_unlock): Use a statement expression instead of an expression list.
21762         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
21763         type to vm_size_t instead of vm_address_t.
21764         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
21765         defined instead of whether it is non-zero.
21766         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
21767         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
21768         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
21769         comparisons with mapaddr.
21770         * nscd/nscd-client.h: Include <time.h>.
21771         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
21772         9th parameter to __vm_region instead of int.
21773         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
21774         * scripts/check-local-headers.sh (exclude): Add device/,
21775         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
21776         cthreads.h.
21778 2015-03-19  Roland McGrath  <roland@hack.frob.com>
21780         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
21781         to account for alignment padding.
21782         * sysdeps/arm/memmove.S: Likewise.
21784 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
21786         * sysdeps/unix/sysv/linux/generic/README: New file.
21788 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
21790         [BZ #18138]
21791         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
21792         (futex_abstimed_wait)
21793         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
21794         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
21795         of lll_futex_timed_wait.
21797 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
21799         [BZ #17542]
21800         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
21802 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
21804         [BZ #17090]
21805         [BZ #17620]
21806         [BZ #17621]
21807         [BZ #17628]
21808         * NEWS: Update.
21809         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
21810         entries with Static TLS too.  Skip entries past the end of the
21811         allocated DTV, from Alan Modra.
21812         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
21813         Static TLS DTV entry set up from...
21814         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
21815         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
21816         * nptl/allocatestack.c (init_one_static_tls): ... and here...
21817         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
21818         for Static TLS.
21819         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
21820         that the slot we find is associated with the given map before
21821         using its generation count.
21822         * nptl_db/db_info.c: Include ldsodefs.h.
21823         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
21824         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
21825         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
21826         (link_map::l_tls_offset): New struct field.
21827         (dtv_t::counter): Likewise.
21828         (rtld_global): New struct.
21829         (_rtld_global): New rtld variable.
21830         (dl_tls_dtv_slotinfo_list): New rtld global field.
21831         (dtv_slotinfo_list): New struct.
21832         (dtv_slotinfo): Likewise.
21833         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
21834         (td_lookup): Rename to...
21835         (td_mod_lookup): ... this.  Use new mod parameter instead of
21836         LIBPTHREAD_SO.
21837         * nptl_db/td_thr_tlsbase.c: Include link.h.
21838         (dtv_slotinfo_list, dtv_slotinfo): New functions.
21839         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
21840         addresses even if the DTV is out of date or missing them.
21841         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
21842         index zero-length arrays.
21843         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
21844         (td_lookup): Make it a macro implemented in terms of...
21845         (td_mod_lookup): ... this declaration.
21846         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
21847         (DB_MAIN_VARIABLE): Likewise.
21849 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
21851         [BZ #18134]
21852         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
21854 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
21856         * stdlib/setenv.c (__add_to_environ): Revert previous change.
21858 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
21860         [BZ #18128]
21861         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
21862         (atomic_add, atomic_increment_and_test)
21863         (atomic_decrement_and_test): Fix 64-bit arithmetic.
21865 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
21867         * stdlib/setenv.c (__add_to_environ):
21868         Dump core quickly if setenv (..., NULL, ...) is called.
21870 2015-03-13  Roland McGrath  <roland@hack.frob.com>
21872         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
21873         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
21874         all the necessary asm magic in one place.
21875         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
21876         using those.
21878 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
21880         [BZ #14906]
21881         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
21882         traced file mtime. Use consistent log message.
21883         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
21884         (register_traced_file): Call install_watches. Always set mtime.
21885         (invalidate_cache): Iterate over all trace files. Call install_watches.
21886         (inotify_check_files): Don't inline. Handle watching parent
21887         directories and configuration file movement in and out.
21888         (handle_inotify_events): New function.
21889         (main_loop_poll): Call handle_inotify_events.
21890         (main_loop_epoll): Likewise.
21891         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
21892         (struct traced_file): Use array of inotify fds. Add parent directory,
21893         and basename.
21894         (struct database_dyn): Remove unused file_mtime.
21895         (init_traced_file): New inline function.
21896         (define_traced_file): New macro.
21897         * nss/nss_db/db-init.c: Use define_traced_file.
21898         (_nss_db_init): Use init_traced_file.
21899         * nss/nss_files/files-init.c: Use define_traced_file.
21900         (_nss_files_init): Use init_traced_file.
21902 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
21904         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
21905         [_LIBC]: Do not include <stdlib.h>.
21906         [!_LIBC] (abort): Remove declaration.
21907         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
21908         _FP_STATIC_ASSERT instead of conditionally calling abort.
21909         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
21910         (_FP_EXTEND_CNAN): Likewise.
21911         (FP_TRUNC): Likewise.
21912         (__FP_CLZ): Likewise.
21913         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
21915 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
21917         * manual/string.texi (XPG basename): Fix prototype.
21919 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21921         [BZ #18080]
21922         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
21923         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21924         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
21925         (__setcontext): Likewise.
21926         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
21927         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
21928         Call rt_sigprocmask syscall one time to set new signal mask
21929         and retrieve the current signal mask instead of two calls.
21930         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
21931         (__swapcontext): Likewise.
21932         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
21933         * stdlib/tst-setcontext2.c: New file.
21935 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
21937         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
21939 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
21941         [BZ #18093]
21942         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
21943         the wrong size.
21945 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
21947         [BZ #18043]
21948         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
21950 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
21952         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
21953         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
21954         Remove define.
21955         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
21956         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
21957         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
21958         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
21959         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
21960         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
21961         define.
21962         * nptl_db/td_symbol_list.c (td_lookup): Remove
21963         HAVE_ASM_GLOBAL_DOT_NAME code.
21964         * sysdeps/powerpc/powerpc64/configure.ac: Remove
21965         HAVE_ASM_GLOBAL_DOT_NAME check.
21966         * sysdeps/powerpc/powerpc64/configure: Regenerate.
21967         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
21968         (DOT_LABEL): Remove define.
21969         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
21970         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
21971         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
21972         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
21973         (__TLS_GET_ADDR): Likewise.
21974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
21975         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
21977 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
21979         [BZ #18111]
21980         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
21981         (_FPU_SETCW): Initialize cw from fpsr before storing.
21982         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
21983         (fesetexceptflag): Rewrite using fpu_control.h.
21984         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
21986 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
21988         [BZ #18110]
21989         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
21990         asms.
21991         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
21993 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
21995         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
21996         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
21997         abort.
21998         (_FP_FMA): Likewise.
21999         (_FP_DIV): Likewise.
22001 2015-03-10  Roland McGrath  <roland@hack.frob.com>
22003         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
22004         with 0 in that case.
22005         * Makefile (summarize-tests): New canned sequence, factored out of
22006         commands for targets tests and xtests.  Display summary lines that
22007         don't start with PASS: or XFAIL: rather than ones that do start with
22008         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
22009         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
22010         do start with ERROR: or FAIL:.
22011         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
22012         (except for [$(build-shared) = yes]).
22013         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
22014         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
22015         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
22016         * nptl/Makefile: Revert 2015-03-04 changes.
22017         [$(CXX) empty] (tests-unsupported): New variable.
22018         * debug/Makefile: Likewise.
22020         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
22021         gnulib file.  Replace __attribute with __attribute__ throughout.
22023 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
22025         * sysdeps/hppa/fpu/libm-test-ulps: Update.
22027 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22029         [BZ #18104]
22030         * math/auto-libm-test-in: Add another test of pow.
22031         * math/auto-libm-test-out: Regenerated.
22033 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22035         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
22036         $(config-cflags-nofma).
22038 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
22040         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
22041         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
22042         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
22043         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
22044         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
22045         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
22046         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
22047         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
22048         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
22049         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
22050         Add comment on closing #endif.
22052 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22054         * posix/wordexp.c (CHAR_IN_SET): New macro.
22055         (parse_param): Use it.
22057 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22059         * sysdeps/powerpc/fpu/libm-test-ulps: update.
22061 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22063         [BZ #18043]
22064         * posix/wordexp.c (parse_param): Fix buffer overflow.
22065         * posix/wordexp-test.c (test_case): Add test case.
22067 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22069         [BZ #18042]
22070         * posix/wordexp.c (parse_backtick): Fix off-by-one.
22071         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
22073 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
22075         [BZ #18043]
22076         * posix/wordexp-test.c (test_case): Add test for BZ #18043
22077         (do_bz18043): Delete.
22078         (at_page_end): New.
22079         (testit): Refactor to have words at the edge of unreadable page.
22081 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
22083         [BZ #16734]
22084         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
22085         Cleanup read-only streams as well.
22086         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
22088 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22090         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
22091         <bits/libc-lockP.h>
22093 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
22095         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
22096         on [__KERNEL__].
22097         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
22098         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
22099         * soft-fp/op-common.h (_FP_DECL): Likewise.
22101 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
22103         * elf/ifuncdep2.c (global): Replace
22104         __attribute__((visibility("protected"))) with
22105         asm (".protected global").
22106         * elf/ifuncmod1.c (global): Likewise.
22107         * elf/ifuncmod5.c (global): Likewise.
22109 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
22111         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
22112         <asm/sfp-machine.h> instead of <sfp-machine.h>.
22114 2015-03-06  Roland McGrath  <roland@hack.frob.com>
22116         * manual/install.texi (Configuring and compiling):
22117         Document test-wrapper-env-only.
22118         * INSTALL: Regenerated.
22120 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
22122         [BZ #18043]
22123         * posix/wordexp.c (parse_param): Fix buffer overflow.
22124         * posix/wordexp-test.c (do_bz18043): Add test case.
22126 2015-03-06  Vincent Bernat  <vincent@bernat.im>
22128         * time/tst-strptime2.c (do_test): Ensure failing tests are
22129         reported correctly.
22130         * time/tst-strptime3.c (do_test): Likewise.
22132 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
22134         Fix aio_error thread-safety.
22135         * sysdeps/pthread/aio_error.c: New file
22136         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
22137         synchronization.
22139 2015-03-06  Florian Weimer  <fweimer@redhat.com>
22141         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
22142         (group_number, vfprintf): Use it.
22143         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
22144         (JUMP, REF): Use it.
22145         (WORK_BUFFER_SIZE): New enum constant.
22146         (process_arg, vfprintf): Use it.
22148 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
22150         * manual/errno.texi (Error Messages): Complete example function
22151         by adding missing #define.
22152         (program_invocation_name): Add statement indicating GNU
22153         extension and reference which header file declares the variable.
22154         (program_invocation_short_name): Likewise.
22156 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
22158         * manual/errno.texi (Error Messages): Delete strerror ISO C89
22159         compatibility note.
22161 2015-03-05  Roland McGrath  <roland@hack.frob.com>
22163         * Makeconfig (test-wrapper-env-only): New variable.
22164         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
22165         then use that with $(test-wrapper-env-only) rather than using
22166         $(test-wrapper-env) $(run-program-env) $($*-ENV).
22168 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
22170         [BZ #18082]
22171         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
22172         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
22173         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
22174         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
22175         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
22176         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
22177         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
22178         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
22179         Likewise.
22180         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
22181         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
22182         Likewise.
22183         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
22184         Likewise.
22185         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
22186         Likewise.
22187         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
22188         Likewise.
22189         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
22190         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
22191         Likewise.
22192         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
22193         Likewise.
22194         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
22195         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
22197 2015-03-04  Roland McGrath  <roland@hack.frob.com>
22199         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
22200         (ETH_ALEN): New macro.
22201         (struct ether_addr): Use it for length of ether_addr_octet.
22203         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
22204         (setdb): Don't call __nss_configure_lookup for "rpc".
22205         (do_test): Don't call test_rpc.
22206         (output_rpcent, test_rpc): Functions moved ...
22207         * sunrpc/test-rpcent.c: ... to this new file.
22208         * sunrpc/Makefile (tests): Add it.
22210         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
22211         __xpg_sigpause.
22212         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
22213         * nptl/tst-signal6.c: Likewise.
22214         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
22215         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
22217         * configure.ac (libc_cv_cxx_link_ok): New check.
22218         Reset CXX to empty if it fails to link.
22219         * configure: Regenerated.
22220         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
22221         bug-atexit3-lib only if $(CXX) is nonempty.
22222         * nptl/Makefile (tests): Likewise for tst-cancel24.
22223         (tests, tests-static): Likewise for tst-cancel24-static.
22224         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
22225         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
22226         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
22227         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
22229 2015-03-04  Andreas Schwab  <schwab@suse.de>
22231         [BZ #17631]
22232         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
22233         for non-GCC compilers.
22234         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
22235         Likewise.
22237 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
22239         [BZ #17776]
22240         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
22241         integer before bitwise and assembly operations.
22242         (feclearexcept): Likewise.
22243         * math/test-fenvinline.c: New file.
22244         * math/Makefile: Add test-fenvinline test.
22246 2015-03-03  Alan Modra  <amodra@gmail.com>
22248         [BZ #16512]
22249         * scripts/localplt.awk: Strip off symbol version.
22250         * NEWS: Mention bug fix.
22252 2015-03-02  Roland McGrath  <roland@hack.frob.com>
22254         * sysdeps/pthread/timer_routines.c
22255         (timer_free_list, thread_free_list, thread_active_list): Make static.
22257 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
22259         [BZ #17779]
22260         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22261         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22262         Undefine.
22263         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22264         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22265         Likewise.
22266         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22267         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
22268         Likewise.
22270 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
22272         [BZ #18036]
22273         * posix/fnmatch_loop.c (END): Detect invalid pattern.
22274         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
22276 2015-03-02  Andreas Schwab  <schwab@suse.de>
22278         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
22279         variable name.
22281 2015-03-02  Florian Weimer  <fweimer@redhat.com>
22283         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
22284         Return error status.
22286 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
22288         [BZ #15969]
22289         * locale/findlocale.c (_nl_find_locale): Introduce const
22290         version of loc_name and drop unsafe type casts.
22292 2015-02-27  Roland McGrath  <roland@hack.frob.com>
22294         * dlfcn/tststatic2.c (main): Converted to ...
22295         (do_test): ... this.
22296         (TEST_FUNCTION): New macro.
22297         Include test-skeleton.c.
22299 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
22301         [BZ #17711]
22302         * elf/Makefile (tests): Add vismain only if PIE is enabled.
22303         (tests-pie): Add vismain.
22304         (CFLAGS-vismain.c): New.
22305         * elf/vismain.c: Add comments for PIE requirement.
22307 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22309         [BZ #18046]
22310         [BZ #18047]
22311         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
22312         0x1p-56L as threshold for just returning the argument.
22313         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
22314         0x1p-32L as threshold for just returning the argument.
22315         * math/auto-libm-test-in: Add more tests of atanh.
22316         * math/auto-libm-test-out: Regenerated.
22317         * sysdeps/i386/fpu/libm-test-ulps: Update.
22318         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
22320 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22322         * string/bcopy.c (bcopy): Call memmove for performance.
22324 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
22326         * string/bzero.c (__bzero): Call memset for performance.
22328 2015-02-27  John David Anglin  <dave.anglin@bell.net>
22330         [BZ #18068]
22331         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
22332         to 00100000.
22334 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
22336         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
22338 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22340         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
22341         (__kernel_standard): Use CSTR macro when setting exc.name.
22342         * sysdeps/ieee754/Makefile [$(subdir) = math]
22343         (CFLAGS-k_standard.c): Remove variable.
22345         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
22346         setting p and q from "else if" to "else".
22347         (qzero): Likewise.
22348         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
22349         (qone): Likewise.
22350         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
22351         (qzerof): Likewise.
22352         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
22353         (qonef): Likewise.
22354         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
22355         (qzero): Likewise.
22356         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
22357         (qone): Likewise.
22359         [BZ #18038]
22360         [BZ #18039]
22361         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
22362         return pi/2 for arguments below 0x1p-113L.
22363         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
22364         return pi/2 for arguments below 0x1p-106L.
22365         * math/auto-libm-test-in: Add more tests of acos.
22366         * math/auto-libm-test-out: Regenerated.
22368         [BZ #16351]
22369         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
22370         (MO): New macro.
22371         (__ieee754_asin): Force underflow exception for results with small
22372         absolute value.
22373         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
22374         (MO): New macro.
22375         (__ieee754_asinf): Force underflow exception for results with
22376         small absolute value.
22377         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
22378         (__ieee754_asin): Force underflow exception for results with small
22379         absolute value.
22380         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
22381         (__ieee754_asinf): Force underflow exception for results with
22382         small absolute value.
22383         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
22384         (__ieee754_asinl): Force underflow exception for results with
22385         small absolute value.
22386         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
22387         (__ieee754_asinl): Force underflow exception for results with
22388         small absolute value.
22389         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
22390         (__ieee754_asinl): Force underflow exception for results with
22391         small absolute value.
22392         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
22393         Include <math.h>.
22394         * math/auto-libm-test-in: Do not mark underflow exceptions as
22395         possibly missing for bug 16351.
22396         * math/auto-libm-test-out: Regenerated.
22398         [BZ #18030]
22399         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
22400         of power of 2 down when low part has opposite sign.
22401         * math/libm-test.inc (logb_test_data): Add more tests.
22403 2015-02-26  Andreas Schwab  <schwab@suse.de>
22405         [BZ #18032]
22406         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
22407         over collating symbol inside a bracket expression.  Minor cleanup.
22408         * posix/tst-fnmatch3.c (do_test): Add test case.
22410 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
22412         [BZ #18029]
22413         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
22414         Adjust exponent of power of 2 down when low part has opposite
22415         sign.
22416         * math/libm-test.inc (ilogb_test_data): Add more tests.
22418 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
22420         [BZ #15969]
22421         * locale/findlocale.c (_nl_find_locale): Fix constness error in
22422         the previous change.
22424         [BZ #15969]
22425         * locale/findlocale.c (_nl_find_locale): Retry archive search
22426         after alias expansion.
22428 2015-02-25  Roland McGrath  <roland@hack.frob.com>
22430         * iconv/tst-iconv3.c (main): Converted to ...
22431         (do_test): ... this.
22432         (TEST_FUNCTION): New macro.
22433         Include test-skeleton.c.
22435         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
22436         (convert): Make function static.
22437         (test_unalign): Likewise.  Add const to argument pointee types.
22438         (main): Replace with static function do_test.
22439         Print "Succeeded." only if RET is zero.
22440         (TEST_FUNCTION): New macro.
22441         Include test-skeleton.c.
22443         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
22444         returns a null pointer.
22446 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22448         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
22449         to __memcpy_ppc only for static builds.
22451 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
22453         [BZ #18020]
22454         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
22455         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
22456         * math/auto-libm-test-in: Add more tests of asinh.
22457         * math/auto-libm-test-out: Regenerated.
22458         * sysdeps/i386/fpu/libm-test-ulps: Update.
22459         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22461 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
22463         [BZ #15850]
22464         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
22465         and ip6_mtuinfo definitions here.
22466         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
22467         in this define too.  Update comment.
22469 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
22471         * elf/sprof.c (load_shobj): Tweak error message to match others.
22473 2015-02-24  Kevin Easton  <kevin@guarana.org>
22475         [BZ #16145] (partial fix)
22476         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
22477         to reduce lock contention.
22479 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
22481         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
22482         (struct timex): Update time comment.
22483         (ADJ_SETOFFSET): Define.
22485 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22487         [BZ #18019]
22488         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
22489         2**56 not 2**28 as threshold for log (2x) formula.
22490         * math/auto-libm-test-in: Add more tests of acosh.
22491         * math/auto-libm-test-out: Regenerated.
22492         * sysdeps/i386/fpu/libm-test-ulps: Update.
22493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22495 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22497         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
22498         parenthesis around the buf assignment.
22499         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
22501 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
22503         [BZ #16783]
22504         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
22505         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
22506         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
22507         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22508         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
22509         * math/libm-test.inc (scalb_test_data): Add more tests.
22511 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
22513         [BZ #17916]
22514         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
22515         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
22517 2015-02-24  Eric Rannaud  <e@nanocritical.com>
22519         [BZ #17523]
22520         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
22521         * io/bits/fcntl2.h (open): Use it.
22522         (openat): Likewise.
22523         * io/open.c (__libc_open): Likewise.
22524         * io/open64.c (__libc_open64): Likewise.
22525         * io/open64_2.c (__open64_2): Likewise.
22526         * io/open_2.c (__open_2): Likewise.
22527         * io/openat.c (__openat): Likewise.
22528         * io/openat64.c (__openat64): Likewise.
22529         * io/openat64_2.c (__openat64_2): Likewise.
22530         * io/openat_2.c (__openat_2): Likewise.
22531         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
22532         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
22533         * sysdeps/posix/open64.c (__libc_open64): Likewise.
22534         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
22535         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
22536         (__open_nocancel): Likewise.
22537         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
22538         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
22539         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
22541 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
22543         [BZ #14841]
22544         * resolv/gethnamaddr.c (getanswer): Skip logging if
22545         RES_USE_DNSSEC is set.
22546         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
22548 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
22550         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
22552 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
22554         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22555         201304L, for Unicode 7.
22557 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
22559         [BZ #17836]
22560         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
22561         shared library.  Add gmon-start.os otherwise.
22562         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
22563         $(objpfx)gmon-start.os if builing shared library.
22564         ($(objpfx)g$(static-start-installed-name)): Likewise.
22566 2015-02-23  Andreas Schwab  <schwab@suse.de>
22568         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
22570 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
22572         [BZ #17269]
22573         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
22574         (enlarge_userbuf): Likewise.
22576 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
22578         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
22579         * math/atest-exp.c (TIMEOUT): Adjust to 200.
22580         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
22581         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
22583 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
22585         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
22586         expression inside statement expression.
22588 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
22590         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
22591         <sysdeps/nptl/lowlevellock.h> and remove macros and
22592         functions that are now defined there.
22593         (SYS_futex): Remove.
22594         (lll_compare_and_swap): Remove.
22595         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
22597 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
22599         [BZ #17999]
22600         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
22601         instead of scandirat.
22602         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
22603         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
22604         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
22605         __scandirat.
22606         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
22607         (__scandirat): Declare.  Use libc_hidden_proto.
22608         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
22609         Remove variable.
22610         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
22612 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22614         [BZ #15319]
22615         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
22616         (MO): New macro.
22617         (__ieee754_atan2): For results with small absolute value, force
22618         underflow exception and remove excess range and precision from
22619         return value.
22620         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
22621         (MO): New macro.
22622         (__ieee754_atan2f): For results with small absolute value, force
22623         underflow exception and remove excess range and precision from
22624         return value.
22625         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
22626         (MO): New macro.
22627         (__atan): For results with small absolute value, force underflow
22628         exception and remove excess range and precision from return value.
22629         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
22630         (MO): New macro.
22631         (__atanf): For results with small absolute value, force underflow
22632         exception and remove excess range and precision from return value.
22633         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
22634         <math.h>.
22635         (__ieee754_atan2): Force underflow exception for results with
22636         small absolute value.
22637         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
22638         <math_private.h>.
22639         (atan): Force underflow exception for results with small absolute
22640         value.
22641         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
22642         (__atanf): Force underflow exception for results with small
22643         absolute value.
22644         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
22645         <math.h>.
22646         (__atanl): Force underflow exception for results with small
22647         absolute value.
22648         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
22649         (__atanl): Force underflow exception for results with small
22650         absolute value.
22651         * sysdeps/x86/fpu/bits/mathinline.h
22652         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
22653         (__ieee754_atan2): Only define inline for long double.
22654         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
22655         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
22656         * math/auto-libm-test-in: Do not mark underflow exceptions as
22657         possibly missing for bug 15319.  Add more tests of atan2.
22658         * math/auto-libm-test-out: Regenerated.
22659         * math/libm-test.inc (casin_test_data): Do not mark underflow
22660         exceptions as possibly missing for bug 15319.
22661         (casinh_test_data): Likewise.
22662         * sysdeps/i386/fpu/libm-test-ulps: Update.
22664 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
22666         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
22667         * sysdeps/mips/bits/endian.h: Fix comments.
22669 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
22671         [BZ #17996]
22672         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
22673         (hdestroy_r): Likewise.
22674         (hsearch_r): Likewise.
22675         (__hcreate_r): Declare and use libc_hidden_proto.
22676         (__hdestroy_r): Likewise.
22677         (__hsearch_r): Likewise.
22678         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
22679         (hcreate): Call __hcreate_r instead of hcreate_r.
22680         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
22681         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
22682         as weak alias of __hcreate_r.
22683         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
22684         __hdestroy_r.
22685         (hsearch_r): Rename to __hsearch_r and define as weak alias of
22686         __hsearch_r.
22687         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
22688         Remove variable.
22689         (test-xfail-XPG4/search.h/linknamespace): Likewise.
22690         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
22691         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
22692         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
22694 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
22696         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
22697         arena_lock into a single arena_get.
22699 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
22701         * dl-reloc.c: Inlucde libc-internal.h.
22702         (_dl_try_allocate_static_tls): Call ALIGN_UP.
22703         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
22704         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
22705         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
22706         (grow_heap): Likewise.
22707         * malloc/malloc.c: Include libc-internal.h.
22708         (do_check_malloc): Call powerof2.
22709         (sysmalloc): Use pagesize. Call ALIGN_UP.
22710         (systrim): Use pagesize.
22711         (mremap_chunk): Use pagesize. Call ALIGN_UP.
22712         (__libc_valloc): Use pagesize.
22713         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
22715 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22717         [BZ #17991]
22718         * include/sys/resource.h (__getrlimit64): Declare.  Use
22719         libc_hidden_proto.
22720         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
22721         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
22722         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
22723         getrlimit64.
22724         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
22725         __getrlimit64.
22726         [!getrlimit64] (getrlimit64): Define as weak alias of
22727         __getrlimit64.  Use libc_hidden_weak.
22728         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
22729         using __getrlimit64 not __new_getrlimit64.
22730         (__GI_getrlimit64): Likewise.
22731         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
22732         Likewise.
22733         (__GI_getrlimit64): Likewise.
22734         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
22735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
22736         (getrlimit): Add __getrlimit64 alias.
22737         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
22738         Likewise.
22739         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
22740         Remove variable.
22741         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
22742         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
22744 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
22746         * libio/fileops.c: Add missing sys/mman.h
22747         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
22749 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
22751         * manual/math.texi (Errors in Math Functions): Clarify goals
22752         regarding inexact and underflow exceptions.
22754 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22756         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
22757         * sysdeps/mips/memset.S: Ditto.
22759 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
22761         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
22763 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
22765         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
22766         (__v1longjmp): Remove versioned symbol.
22767         (__v1siglongjmp): Remove alias and versioned symbol.
22768         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
22769         (__v2siglongjmp): Likewise.
22771 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22773         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
22775 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
22777         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
22779 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22781         [BZ #17987]
22782         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
22783         zero result does not depend on the sign resulting from
22784         subtraction.
22785         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22786         Likewise.
22787         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22788         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22789         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22790         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22791         * math/libm-test.inc (remquo_test_data): Add more tests.
22793 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
22795         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
22796         Problem reported by J William Piggott.
22798 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
22800         [BZ #17978]
22801         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
22802         products 4 * y and 2 * y where those would overflow.
22803         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22804         Likewise.
22805         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
22806         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
22807         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
22808         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
22809         * math/libm-test.inc (remquo_test_data): Add more tests.
22811         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
22813         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
22814         [defined _COMPILING_NEWLIB].
22815         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
22816         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
22818         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
22819         [!defined __mips_isa_rev || __mips_isa_rev < 6].
22821 2015-02-16  Torvald Riegel  <triegel@redhat.com>
22823         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
22824         acquired.
22826 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
22828         [BZ #17792]
22829         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
22830         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
22831         HOST_STACK_END_ADDR): Likewise.
22833 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
22835         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
22836         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
22837         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
22839 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22841         * sysdeps/generic/c++-types.data: New file.
22842         * sysdeps/generic/ld.abilist: New file.
22843         * sysdeps/generic/libBrokenLocale.abilist: New file.
22844         * sysdeps/generic/libanl.abilist: New file.
22845         * sysdeps/generic/libc.abilist: New file.
22846         * sysdeps/generic/libcrypt.abilist: New file.
22847         * sysdeps/generic/libdl.abilist: New file.
22848         * sysdeps/generic/libm.abilist: New file.
22849         * sysdeps/generic/libpthread.abilist: New file.
22850         * sysdeps/generic/libresolv.abilist: New file.
22851         * sysdeps/generic/librt.abilist: New file.
22853 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22855         [BZ #17569]
22856         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
22857         Compute absolute value of x as modified by fmod, not original
22858         value of x.
22859         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
22860         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
22861         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
22862         RUN_TEST_ffI_f1_mod8.
22863         (remquo_test_data): Add more tests.
22865 2015-02-13  Roland McGrath  <roland@hack.frob.com>
22867         * sysdeps/init_array/pt-crti.S: New file.
22869 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
22871         [BZ #17967]
22872         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
22873         __builtin_fmaf instead of relying on contraction of a * b + c.
22875 2015-02-12  J William Piggott  <elseifthen@gmx.com>
22877         [BZ #17969]
22878         * manual/time.texi: correct the zoneinfo path in the TZ Variable
22879         node.
22881 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22883         [BZ #17964]
22884         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
22885         __builtin_fma instead of relying on contraction of a * b + c.
22887 2015-02-12  Roland McGrath  <roland@hack.frob.com>
22889         * Makeconfig (ASFLAGS): Add -Werror=undef.
22890         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
22891         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
22892         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
22894         * Makeconfig (after-link): New variable.
22895         (+link-pie, +link-pie-tests): Use it.
22896         (+link-static, +link-static-tests): Likewise.
22897         (+link, +link-tests): Likewise.
22898         * Makerules (build-module, build-module-asneeded): Likewise.
22899         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
22900         Likewise.
22901         * elf/Makefile ($(objpfx)ld.so): Likewise.
22903 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
22905         [BZ #17965]
22906         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
22907         both struct timeval and struct timespec.
22909 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
22911         [BZ #16560]
22912         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
22913         and redefine.
22914         (__ieee754_exp2l): Do not multiply small fractional parts by
22915         M_LN2l.
22916         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
22917         small argument.
22918         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
22919         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
22920         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
22921         * math/auto-libm-test-in: Add more tests of exp2.
22922         * math/auto-libm-test-out: Regenerated.
22924 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
22926         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
22927         unaligned path.
22929 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22931         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
22932         little endian.
22934 2015-02-12  Andreas Schwab  <schwab@suse.de>
22936         [BZ #15790]
22937         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
22938         Filter out elision flags from value returned in kind.
22939         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
22940         * nptl/tst-pthread-mutexattr.c: New file.
22942 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22944         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
22945         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
22946         into gnu-gnu, and update comment to refer to abi-tags.
22948 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
22950         [BZ #15467]
22951         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
22952         (__sincos): Set errno to EDOM for infinite argument.
22953         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
22954         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
22955         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
22956         (__sincosl): Set errno to EDOM for infinite argument.
22957         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
22958         (__sincosl): Set errno to EDOM for infinite argument.
22959         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
22960         (__sincosl): Set errno to EDOM for infinite argument.
22961         * math/libm-test.inc (sincos_test_data): Test errno setting.
22963 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
22965         * string/strxfrm_l.c: Remove #define STRCMP.
22966         * string/strcoll_l.c: Remove #define STRLEN.
22967         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
22968         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
22970 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
22972         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
22973         * sysdeps/mips/mips32/sfp-machine.h: ... here.
22974         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
22975         * sysdeps/mips/mips64/Makefile: ... here.
22976         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
22977         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
22978         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
22979         * sysdeps/mips/mips64/sfp-machine.h: ... here.
22980         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
22981         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
22982         * sysdeps/mips/mips64/n64/Implies: Likewise.
22984 2015-02-10  Roland McGrath  <roland@hack.frob.com>
22986         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
22987         <sys/time.h>, <string.h>, and <errno.h>.
22988         (dest_offset, dest_address, value, zero): Remove unused variables.
22989         (ldouble): Remove typedef.
22990         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
22991         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
22992         1).  Fix code style.
22993         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
22994         (check): Function removed.
22995         (CHECK): New macro.
22996         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
22997         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
22998         Don't call set_sigaction_FP and remove_sigaction_FP here.
22999         (ldouble_test): Just use 'long double' as macro argument, no need for
23000         the 'ldouble' typedef.
23001         (do_test): Set up SIGFPE handler at start, using plain signal rather
23002         than sigaction.  Fix code style.
23004 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
23006         [BZ #17949]
23007         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
23008         jump label.
23010 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23012         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
23013         * sysdeps/powerpc/powerpc32/configure: Regenerated.
23015         * sysdeps/powerpc/configure.ac: Remove file.
23016         * sysdeps/powerpc/configure: Likewise.
23018         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23019         [sysdep_routines]: Remove wordcopy-power6 object.
23020         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
23021         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
23022         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
23023         (__memmove_ppc32): Likewise.
23024         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
23025         file.
23026         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
23027         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
23028         Remove preprocessor.
23030         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
23031         [sysdep_routines]: Remove wide chars objects.
23032         [wcsmbs]: New rule for wide char objects.
23034         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23035         Remove wordcopy-power6 obejct.
23036         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
23037         Use local call for wordcopy and memcpy symbols.
23038         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
23039         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
23040         implementation for loader.
23041         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
23043         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23044         Remove wordcopy-power7 object.
23045         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
23046         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
23047         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
23048         (_wordcopy_fwd_dest_aligned): Likewise.
23049         (_wordcopy_bwd_aligned): Likewise.
23050         (_wordcopy_bwd_dest_aligned): Likewise.
23052         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
23053         Rewrite to call __memmove_ppc instead of include default
23054         implementation.
23056         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23057         Remove wide chars objects.
23058         [wcsmbs]: New rule for wide char objects.
23060 2015-02-09  Andreas Schwab  <schwab@suse.de>
23062         [BZ #17912]
23063         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
23064         in terms of __O_DIRECTORY.
23066 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23068         * time/getdate.c: Include <stdbool.h>.
23069         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
23070         call PTR_MANGLE.
23071         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
23072         PTR_DEMANGLE.
23074 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
23076         Add ersatz _Static_assert on older C hosts
23077         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
23078         pre-C11 C platform that is not known to support _Static_assert.
23080 2015-02-07  Richard Braun  <rbraun@sceen.net>
23082         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
23083         sigstate.
23084         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
23086 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23088         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
23089         priority against unexistent AIO_PRIO_DELTA_MAX.
23090         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
23091         instead of int.
23092         * misc/fchflags.c (fchflags): Likewise.
23093         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
23094         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
23095         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
23096         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
23097         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
23098         Declare macros.
23099         [__USE_MISC] (chflags, fchflags): Declare functions.
23100         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
23101         EINVAL when nfds is greater than FD_SETSIZE.
23102         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
23103         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
23104         45.
23105         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
23106         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
23107         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
23108         MACH_RCV_TIMED_OUT.
23109         * hurd/hurd/signal.h (_hurd_self_sigstate,
23110         _hurd_critical_section_lock, _hurd_critical_section_unlock):
23111         Explicit casts from void *.
23112         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
23113         * abi-tags: Rename gnu-gnu os into gnu.
23115         [BZ #4719]
23116         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
23117         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
23118         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
23119         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
23120         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
23121         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
23123         [BZ #17944]
23124         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
23125         duplicates ADDR->sun_path with sockaddr LEN limitation.
23126         * sysdeps/mach/hurd/connect.c: Include <string.h>
23127         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
23128         * sysdeps/mach/hurd/sendmsg.c: Likewise.
23129         * sysdeps/mach/hurd/sendto.c: Likewise.
23130         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
23131         implementing it by hand.
23133 2015-02-06  Roland McGrath  <roland@hack.frob.com>
23135         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
23136         Use sfi_breg on ldr.
23137         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
23138         Likewise.
23140         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
23141         it's defined.
23142         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
23143         Test SIGSETXID only if it's defined.
23145         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
23147         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
23148         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
23150         * nptl/tst-align2.c: Moved ...
23151         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
23152         * nptl/Makefile (tests): Remove tst-align2.
23153         * sysdeps/unix/sysv/linux/Makefile
23154         [$(subdir) = nptl] (tests): Add tst-align-clone.
23155         * nptl/tst-getpid1.c: Moved ...
23156         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
23157         * nptl/tst-getpid2.c: Moved ...
23158         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
23159         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
23160         * sysdeps/unix/sysv/linux/Makefile
23161         [$(subdir) = nptl] (tests): ... here.
23162         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
23163         * sysdeps/unix/sysv/linux/Makefile
23164         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
23166         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
23167         Drop trailing \n from perror argument.  Use return rather than exit.
23169         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
23170         on [SA_SIGINFO].
23171         * nptl/tst-cancel21.c (do_test): Likewise.
23172         * debug/tst-backtrace6.c: Include <signal.h> first thing.
23173         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
23174         [!SA_SIGINFO]: Make it a stub test.
23176         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
23177         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
23179         * posix/tst-getlogin.c: Move to ...
23180         * login/tst-getlogin.c: ... here.
23181         * posix/Makefile (tests): Move tst-getlogin to ...
23182         * login/Makefile (tests): ... here.
23184         * libio/tst-atime.c (do_test): Move local variables SV and E
23185         inside [ST_NOATIME] conditional.
23187         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
23189         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
23191         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
23192         (wait_code): New function replaces macro.
23193         Call nanosleep rather than syscall.
23195         * nptl/pt-system.c: Rewritten.  Put everything under
23196         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23197         Use IFUNC to redirect when possible.
23199         * nptl/pt-longjmp.c: Rewritten.  Put everything under
23200         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23201         Use IFUNC to redirect when possible.
23203         * nptl/pt-fork.c: Rewritten.  Put everything under
23204         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
23205         Use IFUNC to redirect when possible.
23206         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
23208         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
23209         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
23210         unconditionally nowadays.  This included the only reference to
23211         __vdso_clock_gettime that appears outside libc proper.
23212         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
23213         Remove version set (containing only __vdso_clock_gettime).
23214         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
23215         Add attribute_hidden.
23216         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
23217         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
23218         libc_hidden_data_def.
23219         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
23220         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
23222         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
23223         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
23224         setrpcent, and getrpcport to ...
23225         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
23226         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
23227         getrpcbynumber_r, and getrpcent_r to ...
23228         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
23229         * inet/getrpcbyname.c: Moved ...
23230         * sunrpc/getrpcbyname.c: ... here.
23231         * inet/getrpcbyname_r.c: Moved ...
23232         * sunrpc/getrpcbyname_r.c: ... here.
23233         * inet/getrpcbynumber.c: Moved ...
23234         * sunrpc/getrpcbynumber.c: ... here.
23235         * inet/getrpcbynumber_r.c: Moved ...
23236         * sunrpc/getrpcbynumber_r.c: ... here.
23237         * inet/getrpcent.c: Moved ...
23238         * sunrpc/getrpcent.c: ... here.
23239         * inet/getrpcent_r.c: Moved ...
23240         * sunrpc/getrpcent_r.c: ... here.
23241         * inet/Makefile (routines): Move those to ...
23242         * sunrpc/Makefile (routines): ... here.
23243         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
23244         the $(subdirs) list.
23245         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
23246         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
23247         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
23248         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
23250         * elf/Makefile (routines): Include $(all-dl-routines), not just
23251         $(dl-routines).
23252         (rtld-routines): Likewise.  Use = rather than :=.
23253         * sysdeps/aarch64/Makefile [$(subdir) = elf]
23254         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
23255         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
23256         * sysdeps/arm/Makefile: Likewise.
23257         * sysdeps/i386/Makefile: Likewise.
23258         * sysdeps/x86_64/Makefile: Likewise.
23259         * sysdeps/hppa/Makefile [$(subdir) = elf]
23260         (sysdep_routines, sysdep-rtld-routines): Don't add
23261         $(sysdep-dl-routines) to these.
23262         * sysdeps/ia64/Makefile: Likewise.
23263         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
23264         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
23265         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
23266         Don't add dl-static to these; sysdep-dl-routines alone is enough.
23267         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
23268         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
23269         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
23270         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
23271         * sysdeps/powerpc/Makefile [$(subdir) = elf]
23272         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
23273         these; sysdep-dl-routines alone is enough.
23275 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
23277         [BZ #17932]
23278         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
23279         where multiplication results in zero and third argument is finite
23280         and nonzero.
23281         * math/auto-libm-test-in: Add more tests of fma.
23282         * math/auto-libm-test-out: Regenerated.
23284         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
23285         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
23286         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
23287         (_FP_CMP_EQ): Likewise.
23288         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
23290         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
23291         extra argument CHECK_NAN.  Redefine as wrapper around
23292         _FP_EXTEND_CNAN.
23294 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
23296         * version.h (RELEASE): Set to "stable".
23297         (VERSION): Set to "2.21"
23298         * include/features.h (__GLIBC_MINOR__): Set to 21.
23300         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
23302 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
23303             Paul Eggert  <eggert@cs.ucla.edu>
23305         [BZ #16618]
23306         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
23307         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
23308         size in bytes. Store needed elements in wpmax. Use needed size
23309         in bytes for extend_alloca.
23311 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
23313         * manual/install.texi: Latest tested versions are GCC 4.9.2,
23314         binutls 2.25, and texinfo 5.2.
23315         * INSTALL: Regenerate.
23316         * sysdeps/nios2/configure: Regenerate.
23317         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
23318         * manual/contrib.texi: Update.
23319         * po/be.po: Update.
23320         * po/bg.po: Update.
23321         * po/ca.po: Update.
23322         * po/cs.po: Update.
23323         * po/da.po: Update.
23324         * po/de.po: Update.
23325         * po/el.po: Update.
23326         * po/eo.po: Update.
23327         * po/es.po: Update.
23328         * po/fi.po: Update.
23329         * po/fr.po: Update.
23330         * po/gl.po: Update.
23331         * po/hr.po: Update.
23332         * po/hu.po: Update.
23333         * po/ia.po: Update.
23334         * po/id.po: Update.
23335         * po/it.po: Update.
23336         * po/ja.po: Update.
23337         * po/ko.po: Update.
23338         * po/lt.po: Update.
23339         * po/nb.po: Update.
23340         * po/nl.po: Update.
23341         * po/pl.po: Update.
23342         * po/pt_BR.po: Update.
23343         * po/ru.po: Update.
23344         * po/rw.po: Update.
23345         * po/sk.po: Update.
23346         * po/sl.po: Update.
23347         * po/sv.po: Update.
23348         * po/tr.po: Update.
23349         * po/uk.po: Update.
23350         * po/vi.po: Update.
23351         * po/zh_CN.po: Update.
23352         * po/zh_TW.po: Update.
23354         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
23355         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
23356         * sysdeps/hppa/dl-irel.h: Remove #warning.
23357         * sysdeps/hppa/entry.h: Provide prototype for
23358         __canonicalize_funcptr_for_compare and cast argument.
23359         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
23360         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
23361         * sysdeps/hppa/sotruss-lib.c: New file.
23362         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
23363         (atomic_compare_and_exchange_val_acq): Use __typeof__.
23364         (atomic_compare_and_exchange_bool_acq): Likewise.
23365         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
23366         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
23368         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
23369         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
23370         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
23372 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
23374         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
23375         called function in non-PIC case.
23377 2015-01-31  David S. Miller  <davem@davemloft.net>
23379         * sysdeps/sparc/sparc32/bits/atomic.h
23380         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
23381         unlock not after it.
23382         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
23383         volatile register usage warnings from the compiler.
23385         * sysdeps/sparc/nptl/sem_init.c: Delete.
23386         * sysdeps/sparc/nptl/sem_post.c: Delete.
23387         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
23388         * sysdeps/sparc/nptl/sem_wait.c: Delete.
23389         * sysdeps/sparc/sparc32/sem_init.c: New file.
23390         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
23391         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
23392         padding explicitly initialized.
23393         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
23394         padding for in-semaphore spinlock.
23395         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
23396         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
23397         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
23398         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
23399         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
23400         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
23401         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
23402         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
23403         version.
23404         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
23405         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
23407 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
23409         [BZ #17801]
23410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23411         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
23412         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
23413         New.
23414         (index_AVX_Fast_Unaligned_Load): Likewise.
23415         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
23416         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
23417         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
23418         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
23419         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
23420         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
23421         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
23422         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
23423         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
23425 2015-01-29  Andreas Schwab  <schwab@suse.de>
23427         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
23429 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
23431         [BZ #17892]
23432         * nscd/nscd_stat.c (send_stats): Initialize DATA.
23434 2015-01-28  Martin Sebor  <msebor@redhat.com>
23436         * math/README.libm-test: Clarify. Add "How to read the test output."
23438 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
23440         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
23441         Define to 0.
23443 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
23445         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
23446         (__HAVE_64B_ATOMICS): Define to 0.
23448 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23450         [BZ #17885]
23451         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
23452         value to set as new flag.
23454         [BZ #16576]
23455         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
23456         and use _ARCH_PPCSQ instead.
23457         (__ieee754_sqrt): Likewise.
23458         (__ieee754_sqrtf): Likewise.
23459         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
23460         _ARCH_PPCSQ is defined.
23461         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
23462         fsqrt instruction.
23463         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
23464         _ARCH_PPCSQ is defined.
23465         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
23466         fsqrts instruction.
23467         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
23469 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23471         * iconv/loop.c: Suppress array out of bound warning caused by GCC
23472         bug (GCC BZ #64739).
23474 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
23476         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
23477         Mark _retval as used.
23478         (lll_futex_wake_unlock): Likewise.
23479         (lll_futex_timed_wait_requeue_pi): Likewise.
23481         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
23482         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
23483         register variables.
23485         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
23486         libm_hidden_def.
23488         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
23489         (__bswap_64): Mark as __always_inline.
23491 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
23493         [BZ #15378]
23494         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
23495         when none of the search directories exist.
23497 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
23499         [BZ #17869]
23500         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
23501         power8 in .machine directive.
23503         [BZ #17868]
23504         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
23505         set dependency from opd value.
23507 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23509         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23510         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
23511         architecture.
23513 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
23515         [BZ #17870]
23516         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
23517         with uint64_t.
23518         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
23519         (uint64_t) 1.
23520         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
23521         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
23522         Replace 1UL with (uint64_t) 1.
23523         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
23524         int with uint64_t.
23526 2015-01-23  Roland McGrath  <roland@hack.frob.com>
23528         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
23529         (if_freenameindex): Likewise.
23531         * resource/getrlimit64.c: Add missing libc_hidden_def.
23533 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
23535         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
23536         __label__.
23537         (_FP_FMA): Likewise.
23538         (_FP_TO_INT_ROUND): Likewise.
23539         (_FP_FROM_INT): Likewise.
23541 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23543         [BZ #16418]
23544         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
23545         Make code racy and cancel safe.
23547 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
23549         * sysdeps/arm/unwind-resume.h: Fix copyright year.
23550         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
23551         attribution.
23553         * pwd/tst-getpw.c: Rewrite.
23555         [BZ #17702]
23556         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
23557         (modules-names): Add moddummy1 and moddummy2.
23558         ($(objpfx)tst-rec-dlopen): Define.
23559         * dlfcn/moddummy1.c: New file.
23560         * dlfcn/moddummy2.c: New file.
23561         * dlfcn/tst-rec-dlopen.c: New file.
23562         * elf/dl-cache.c (_dl_load_cache_lookup):
23563         Return char*. Copy result with alloca/strcpy/strdup.
23564         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
23565         returns char*. Free cached. If not saving realname
23566         free cached.
23567         * elf/dl-open.c (dl_open_worker): Do not assert that
23568         _r_debug->r_state is RT_CONSISTENT.
23569         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
23570         returns char*.
23572 2015-01-21  Torvald Riegel  <triegel@redhat.com>
23573             Carlos O'Donell  <carlos@redhat.com>
23575         [BZ #12674]
23576         * nptl/sem_waitcommon.c: New file.
23577         * nptl/sem_wait.c: Include sem_waitcommon.c.
23578         (__sem_wait_cleanup, do_futex_wait): Remove.
23579         (__new_sem_wait): Adapt.
23580         (__new_sem_trywait): New function.
23581         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
23582         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
23583         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
23584         (sem_timedwait): Adapt.
23585         * nptl/sem_post.c (__new_sem_post): Adapt.
23586         (futex_wake): New function.
23587         (__old_sem_post): Add release MO fence.
23588         * nptl/sem_open.c (sem_open): Adapt.
23589         * nptl/sem_init.c (__new_sem_init): Adapt.
23590         (futex_private_if_supported): New function.
23591         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
23592         (__old_sem_getvalue): Add using previous code.
23593         * sysdeps/nptl/internaltypes.h: Adapt.
23594         * nptl/tst-sem13.c (do_test): Adapt.
23595         * nptl/tst-sem11.c (main): Adapt.
23596         * nptl/sem_trywait.c: Remove.
23597         * nptl/DESIGN-sem.txt: Remove.
23598         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
23599         (gen-as-const-headers): Remove structsem.sym.
23600         * nptl/structsem.sym: Remove.
23601         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
23602         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
23603         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
23604         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
23605         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
23606         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
23607         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
23608         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
23609         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
23610         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
23611         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
23612         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
23613         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
23614         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
23615         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
23616         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
23617         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
23618         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
23619         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
23620         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
23621         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
23622         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
23624 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
23626         * INSTALL: Regenerated.
23628         * po/libc.pot: Regenerated.
23630 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
23631             Sandra Loosemore  <sandra@codesourcery.com>
23632             Andrew Jenner  <andrew@codesourcery.com>
23633             Joseph Myers  <joseph@codesourcery.com>
23634             Nathan Sidwell  <nathan@codesourcery.com>
23636         * NEWS: Mention new Nios II port.
23637         * sysdeps/nios2/Implies: New file.
23638         * sysdeps/nios2/Makefile: New file.
23639         * sysdeps/nios2/Subdirs: New file.
23640         * sysdeps/nios2/Versions: New file.
23641         * sysdeps/nios2/__longjmp.S: New file.
23642         * sysdeps/nios2/abort-instr.h: New file.
23643         * sysdeps/nios2/backtrace.c: New file.
23644         * sysdeps/nios2/bits/endian.h: New file.
23645         * sysdeps/nios2/bits/fenv.h: New file.
23646         * sysdeps/nios2/bits/link.h: New file.
23647         * sysdeps/nios2/bits/setjmp.h: New file.
23648         * sysdeps/nios2/bsd-_setjmp.S: New file.
23649         * sysdeps/nios2/bsd-setjmp.S: New file.
23650         * sysdeps/nios2/configure: New generated file.
23651         * sysdeps/nios2/configure.ac: New file.
23652         * sysdeps/nios2/crti.S: New file.
23653         * sysdeps/nios2/crtn.S: New file.
23654         * sysdeps/nios2/dl-init.c: New file.
23655         * sysdeps/nios2/dl-machine.h: New file.
23656         * sysdeps/nios2/dl-sysdep.h: New file.
23657         * sysdeps/nios2/dl-tls.h: New file.
23658         * sysdeps/nios2/dl-trampoline.S: New file.
23659         * sysdeps/nios2/gccframe.h: New file.
23660         * sysdeps/nios2/gmp-mparam.h: New file.
23661         * sysdeps/nios2/jmpbuf-offsets.h: New file.
23662         * sysdeps/nios2/jmpbuf-unwind.h: New file.
23663         * sysdeps/nios2/ldsodefs.h: New file.
23664         * sysdeps/nios2/libc-tls.c: New file.
23665         * sysdeps/nios2/libm-test-ulps: New file.
23666         * sysdeps/nios2/machine-gmon.h: New file.
23667         * sysdeps/nios2/math-tests.h: New file.
23668         * sysdeps/nios2/math_private.h: New file.
23669         * sysdeps/nios2/memusage.h: New file.
23670         * sysdeps/nios2/nptl/Makefile: New file.
23671         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
23672         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
23673         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
23674         * sysdeps/nios2/nptl/pthreaddef.h: New file.
23675         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
23676         * sysdeps/nios2/nptl/tls.h: New file.
23677         * sysdeps/nios2/preconfigure: New file.
23678         * sysdeps/nios2/s_fma.c: New file.
23679         * sysdeps/nios2/s_fmaf.c: New file.
23680         * sysdeps/nios2/setjmp.S: New file.
23681         * sysdeps/nios2/sfp-machine.h: New file.
23682         * sysdeps/nios2/sotruss-lib.c: New file.
23683         * sysdeps/nios2/stackguard-macros.h: New file.
23684         * sysdeps/nios2/stackinfo.h: New file.
23685         * sysdeps/nios2/start.S: New file.
23686         * sysdeps/nios2/sysdep.h: New file.
23687         * sysdeps/nios2/tls-macros.h: New file.
23688         * sysdeps/nios2/tst-audit.h: New file.
23689         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
23690         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
23691         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
23692         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
23693         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
23694         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
23695         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
23696         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
23697         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
23698         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
23699         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
23700         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
23701         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
23702         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
23703         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
23704         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
23705         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
23706         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
23707         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
23708         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
23709         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
23710         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
23711         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
23712         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
23713         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
23714         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
23715         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
23716         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
23717         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
23718         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
23719         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
23720         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
23721         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
23722         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
23723         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
23724         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
23725         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
23726         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
23727         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
23728         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
23729         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
23730         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
23731         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
23732         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
23734 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23736         [BZ #17844]
23737         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
23738         (getutent): Use weak_alias in non SHARED case
23739         and default_symbol_version in SHARED case.
23740         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
23741         (getutent_r, pututline): Likewise.
23742         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
23743         (getutid): Likewise.
23744         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
23745         (getutid_r): Likewise.
23746         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
23747         (getutline): Likewise.
23748         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
23749         (getutline_r): Likewise.
23750         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
23751         (updwtmp): Likewise.
23753 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
23755         [BZ #17848]
23756         * sysdeps/s390/s390-32/memcmp.S
23757         (memcmp_g5): Rename to __memcmp_g5.
23758         * sysdeps/s390/s390-32/memcpy.S
23759         (memcpy_g5): Rename to __memcpy_g5.
23760         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23761         (memcpy_mvcle) Rename to __memcpy_mvcle.
23762         * sysdeps/s390/s390-32/memset.S
23763         (memset_g5): Rename to __memset_g5.
23764         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
23765         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23766         and use prefixed functions.
23767         * sysdeps/s390/s390-32/multiarch/memcmp.S
23768         (memcmp_z196): Rename to __memcmp_z196.
23769         (memcmp_z10): Rename to __memcmp_z10.
23770         (memcmp): Set alias to __memcmp_g5.
23771         (bcmp): Set alias to __memcmp_g5.
23772         * sysdeps/s390/s390-32/multiarch/memcpy.S
23773         (memcpy_z196): Rename to __memcpy_z196.
23774         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23775         (memcpy_z10): Rename to __memcpy_z10.
23776         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23777         (memcpy): Set alias to __memcpy_g5.
23778         * sysdeps/s390/s390-32/multiarch/memset.S
23779         (memset_z196): Rename to __memset_z196.
23780         Jump to __memset_mvcle instead of memset_mvcle.
23781         (memset_z10): Rename to __memset_z10.
23782         Jump to __memset_mvcle instead of memset_mvcle.
23783         (memset_mvcle) Rename to __memset_mvcle.
23784         (memset): Set alias to __memset_g5.
23785         * sysdeps/s390/s390-64/memcmp.S
23786         (memcmp_z900): Rename to __memcmp_z900.
23787         * sysdeps/s390/s390-64/memcpy.S
23788         (memcpy_z900): Rename to __memcpy_z900.
23789         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23790         (memcpy_mvcle) Rename to __memcpy_mvcle.
23791         * sysdeps/s390/s390-64/memset.S
23792         (memset_z900): Rename to __memset_z900.
23793         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
23794         (IFUNC_RESOLVE): Prefix ifunc-resolve function
23795         and use prefixed functions.
23796         * sysdeps/s390/s390-64/multiarch/memcmp.S
23797         (memcmp_z196): Rename to __memcmp_z196.
23798         (memcmp_z10): Rename to __memcmp_z10.
23799         (memcmp): Set alias to __memcmp_z900.
23800         (bcmp): Set alias to __memcmp_z900.
23801         * sysdeps/s390/s390-64/multiarch/memcpy.S
23802         (memcpy_z196): Rename to __memcpy_z196.
23803         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23804         (memcpy_z10): Rename to __memcpy_z10.
23805         Jump to __memcpy_mvcle instead of memcpy_mvcle.
23806         (memcpy): Set alias to __memcpy_z900.
23807         * sysdeps/s390/s390-64/multiarch/memset.S
23808         (memset_z196): Rename to __memset_z196.
23809         Jump to __memset_mvcle instead of memset_mvcle.
23810         (memset_z10): Rename to __memset_z10.
23811         Jump to __memset_mvcle instead of memset_mvcle.
23812         (memset_mvcle) Rename to __memset_mvcle.
23813         (memset): Set alias to __memset_z900.
23815 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
23817         [BZ #17748]
23818         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
23819         __fesetenv instead of fesetenv.
23821 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23823         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
23824         macro.
23826 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23828         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
23829         regression on LE.
23831         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
23832         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
23833         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23834         strncmp-power8 object.
23835         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23836         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
23837         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
23838         * NEWS: Update.
23840 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
23841             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23843         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
23844         trailing byte check.
23846 2015-01-13  David S. Miller  <davem@davemloft.net>
23848         * include/signal.h (__sigreturn): Guard with __USE_MISC.
23850 2015-01-13  Roland McGrath  <roland@hack.frob.com>
23852         * login/logout.c (logout): Use memset rather than bzero.
23853         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
23854         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
23855         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
23856         (_gethtbyaddr): Likewise.
23857         * locale/programs/simple-hash.c (bcopy): Macro removed.
23859 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23861         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23862         Add strcmp-power8 object.
23863         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23864         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
23865         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
23866         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
23867         __strcmp_power8 implementation.
23868         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
23869         * NEWS: Update.
23871         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
23872         Add strncpy-power8 and stpncpy-power8 objects.
23873         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23874         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
23875         implementations.
23876         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
23877         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
23878         __stpncpy_power8 implementation.
23879         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
23880         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
23881         __strncpy_power8 implementation.
23882         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
23883         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
23884         * NEWS: Update.
23886         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
23887         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
23888         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
23890         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23891         strncat-power8 object.
23892         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
23893         __strcat_power8 implementation.
23894         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23895         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
23896         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
23897         optimized strcat for power8.
23899         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
23900         strcpy-power8 and stpcpy-power8 objects.
23901         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
23902         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
23903         implementations.
23904         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
23905         multiarch stpcpy implementation for POWER8.
23906         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
23907         multiarch strcpy implementation for POWER8.
23908         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
23909         __strcpy_power8 function.
23910         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
23911         stpcpy for POWER8.
23912         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
23913         strcpy for POWER8.
23914         * NEWS: Update.
23916 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
23918         [BZ #16009]
23919         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
23920         weights and rules. Use do_xfrm_cached if data fits in cache,
23921         do_xfrm otherwise.  Moved former main loop to...
23922         * (do_xfrm_cached): New function.
23923         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
23924         find_idx, find_position and stack_push.
23925         * (find_idx): New function.
23926         * (find_position): Likewise.
23927         * localedata/sort-test.sh: Added test run for do_xfrm.
23928         * localedata/xfrm-test.c (main): Added command line option
23929         -nocache to run the test with strings that are too large for
23930         the STRXFRM cache.
23932 2015-01-13  Torvald Riegel  <triegel@redhat.com>
23934         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
23935         variable to lll_futex_wake call, not the value itself.
23937 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
23939         [BZ #17803]
23940         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
23941         twom64.  Adjust value to 0x1p-64L.
23942         (__scalblnl): Only return standard underflowing result for K <=
23943         -64 not K <= -63; adjust exponent for underflowing result by 64
23944         not 63.
23945         * math/libm-test.inc (scalbn_test_data): Add more tests.
23946         (scalbln_test_data): Likewise.
23948         [BZ #17834]
23949         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
23950         0x1p63L.
23951         (__scalblnl): Get new exponent of adjusted subnormal value from ES
23952         not HX.
23953         * math/libm-test.inc (scalbn_test_data): Add more tests.
23954         (scalbln_test_data): Likewise.
23956 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23957             Stefani Seibold  <stefani@seibold.net>
23959         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
23960         (sysdep_routines): Add dl-vdso here, ...
23961         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
23962         (sysdep_routines): ... not here.
23963         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
23964         fallback when vDSO is not presented.
23965         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
23966         Define with libc_hidden_proto/libc_hidden_data_def definitions.
23967         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
23968         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
23969         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
23970         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
23971         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
23972         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
23973         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
23974         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
23975         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
23976         fallback configurable symbol when vDSO is not available.
23977         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
23978         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
23979         be able to redefine fallback symbol when vDSO is not available.
23980         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
23981         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
23983 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23985         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
23986         (TLS_INIT_TP): Add tm_capable initialization.
23987         (TLS_DEFINE_INIT_TP): Likewise.
23988         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
23989         TCB.
23990         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
23991         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
23992         calculation.
23993         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
23994         transactoion is lock elision is built and TCB tm_capable is set.
23995         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
23996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
23997         (INTERNAL_SYSCALL_NCS): Likewise.
23998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
23999         (INTERNAL_SYSCALL_NCS): Likewise.
24000         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
24002         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
24003         for powerpc.
24004         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24005         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
24006         and remove it for 32 bits case.
24007         [pthread_rwlock_t] (__rwelision): New field for lock elision.
24008         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
24009         initialization.
24010         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
24011         Disable lock elision with rdlocks if elision is not available.
24013         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
24014         (sysdep_routines): Add lock elision objects.
24015         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
24016         [pthread_mutex_t] (__spins): Rework to add lock elision field.
24017         [pthread_mutex_t] (__elision): Add field.
24018         [__PTHREAD_SPINS]: Adjust to init lock elision field.
24019         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
24020         elision definitions for powerpc.
24021         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
24022         implementation of lock elision for powerpc.
24023         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
24024         implementation of timed lock elision for powerpc.
24025         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
24026         implementation of trylock with lock elision for powerpc.
24027         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
24028         implementaion of unlock for lock elision for powerpc.
24029         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
24030         automatic enable lock elision for mutexes.
24031         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
24032         transaction execution definitions for powerpc.
24033         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
24034         definitions.
24035         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
24036         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
24037         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
24038         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
24039         * NEWS: Update.
24041 2015-01-09  Roland McGrath  <roland@hack.frob.com>
24043         * sysdeps/posix/shm-directory.c: Use <> rather than ""
24044         for #include of <shm-directory.h>.
24046 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
24048         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
24049         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
24051 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
24053         [BZ #17791]
24054         * NEWS: Mention bug fix.
24055         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
24056         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
24057         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
24059 2015-01-09  Torvald Riegel <triegel@redhat.com>
24061         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
24063 2015-01-09  Torvald Riegel <triegel@redhat.com>
24065         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
24067 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24069         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
24070         pointer and cast to uintptr_t.
24072 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24074         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
24075         removed.
24076         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
24078 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
24080         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
24081         of 0.
24083 2015-01-08  Roland McGrath  <roland@hack.frob.com>
24085         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
24086         <nptl/pthreadP.h> instead.
24087         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
24089         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
24090         already defined.
24091         [__SIGRTMIN] (init): Function removed.
24092         [__SIGRTMIN] (initialized): Variable removed.
24093         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
24094         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
24095         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
24096         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
24097         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
24098         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
24099         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
24100         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
24101         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
24102         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
24103         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
24104         * sysdeps/nptl/allocrtsig.c: New file.
24105         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
24106         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
24107         * sysdeps/generic/testrtsig.h: File removed.
24109         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
24110         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
24112         * nptl/nptl-init.c (pthread_functions): Conditionalize
24113         .ptr__nptl_setxid initialization on [SIGSETXID].
24115         * sysdeps/nptl/sys/procfs.h: New file.
24116         * nptl_db/Makefile (headers): Add it.
24117         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
24119         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
24120         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
24121         * nptl/pthread_attr_setaffinity.c: Include it.
24122         * nptl/pthread_setattr_default_np.c: Likewise.
24123         * nptl/check-cpuset.h: New file.
24125 2015-01-08  Richard Henderson  <rth@redhat.com>
24127         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
24128         (CFLAGS-tst-execstack-prog.c): Likewise.
24129         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
24131 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
24132             Sandra Loosemore  <sandra@codesourcery.com>
24133             Andrew Jenner  <andrew@codesourcery.com>
24134             Joseph Myers  <joseph@codesourcery.com>
24135             Nathan Sidwell  <nathan@codesourcery.com>
24137         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
24138         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
24139         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
24140         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
24141         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
24142         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
24143         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
24144         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
24145         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
24146         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
24147         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
24148         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
24149         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
24150         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
24151         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
24152         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
24153         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
24155 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24157         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
24158         timespec struct member in syscall macro.
24159         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
24160         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
24161         first timeval struct member in syscall macro.
24162         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
24164 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
24166         [BZ #17748]
24167         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
24168         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
24169         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
24170         __feupdateenv and define as weak alias of __feupdateenv.  Use
24171         libm_hidden_weak.
24172         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
24173         libm_hidden_def.
24174         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
24175         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
24176         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24177         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
24178         libm_hidden_def.
24179         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
24180         __feupdateenv and define as weak alias of __feupdateenv.  Use
24181         libm_hidden_weak.
24182         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
24183         libm_hidden_def.
24184         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
24185         __feupdateenv and define as weak alias of __feupdateenv.  Use
24186         libm_hidden_weak.
24187         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
24188         libm_hidden_def.
24189         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24190         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24191         (__feupdateenv): Likewise.
24192         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
24193         __feupdateenv and define as weak alias of __feupdateenv.  Use
24194         libm_hidden_weak.
24195         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24196         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
24197         libm_hidden_def.
24198         * sysdeps/tile/math_private.h (__feupdateenv): New inline
24199         function.
24200         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
24201         libm_hidden_def.
24202         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
24203         __feupdateenv instead of feupdateenv.
24204         (default_libc_feupdateenv_test): Likewise.
24205         (libc_feresetround_ctx): Likewise.
24207 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24209         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
24210         prototype.
24212 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
24214         * posix/regcomp.c (parse_bracket_exp): Initialize type to
24215         COLL_SYM in a couple of places to avoid uninitialized variable
24216         wanings on tilegx gcc 4.8.2.
24218 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24220         * sysdeps/aarch64/strcpy.S: New file.
24221         * sysdeps/aarch64/stpcpy.S: New file.
24222         * NEWS: Updated.
24224 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
24226         * sysdeps/aarch64/strrchr.S: New file.
24227         * NEWS: Updated.
24229 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
24231         [BZ #17658]
24232         * stdlib/setenv.c: Fix memory leak when setting large,
24233         duplicate string.
24235 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
24237         [BZ #17273]
24238         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
24239         and tabs from buffer before parsing fstab entry.
24240         * misc/tst-mntent.c (main): Add test for mount entry with
24241         trailing spaces and tabs.
24243 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
24245         [BZ #17748]
24246         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
24247         * math/fesetround.c (fesetround): Rename to __fesetround and
24248         define as weak alias of __fesetround.  Use libm_hidden_weak.
24249         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
24250         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
24251         * sysdeps/arm/fesetround.c (fesetround): Likewise.
24252         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
24253         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
24254         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
24255         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
24256         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
24257         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
24258         __fesetround_inline.
24259         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
24260         __fesetround_inline instead of __fesetround.
24261         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
24262         __fesetround and define as weak alias of __fesetround.  Use
24263         libm_hidden_weak.  Call __fesetround_inline instead of
24264         __fesetround.
24265         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
24266         __fesetround and define as weak alias of __fesetround.  Use
24267         libm_hidden_weak.
24268         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
24269         Likewise.
24270         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
24271         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
24272         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
24273         * sysdeps/tile/math_private.h (__fesetround): New inline function.
24274         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
24275         __fesetround and define as weak alias of __fesetround.  Use
24276         libm_hidden_weak.
24277         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
24278         __fesetround instead of fesetround.
24279         (default_libc_feholdexcept_setround): Likewise.
24280         (libc_feholdsetround_ctx): Likewise.
24281         (libc_feholdsetround_noex_ctx): Likewise.
24283         [BZ #17748]
24284         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
24285         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
24286         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24287         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24288         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24289         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
24290         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24291         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
24292         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24293         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24294         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24295         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24296         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24297         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24298         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
24299         libm_hidden_def.
24300         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
24301         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
24302         Likewise.
24303         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
24304         define as weak alias of __fesetenv.  Use libm_hidden_weak.
24305         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
24306         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
24307         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
24308         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
24309         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
24310         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
24311         __fesetenv instead of fesetenv.
24312         (libc_feresetround_noex_ctx): Likewise.
24313         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24314         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
24315         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
24316         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24317         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24318         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24319         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
24320         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
24321         (__feupdateenv): Likewise.
24322         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24323         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24324         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24325         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
24327 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24329         [BZ #17806]
24330         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
24331         addresses have been freed.
24333 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
24335         * resolv/res_init.c (__res_vinit): Improve comments about nserv
24336         and nservall.
24338 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
24340         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
24341         Clean up check_pf allocation pattern. addresses
24343 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24345         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
24346         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
24347         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
24348         * nptl/pthread_exit.c (__pthread_exit): Likewise.
24349         * nptl/pthread_join.c (pthread_join): Likewise.
24350         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
24351         * sysdeps/posix/waitid.c (__waitid): Likewise.
24352         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
24353         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
24354         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
24355         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
24356         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
24357         Likewise.
24358         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
24359         (__libc_pread64): Likewise.
24360         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
24361         (__libc_pwrite): Likewise.
24362         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
24363         (__libc_pwrite64): Likewsie.
24364         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
24365         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
24366         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
24367         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
24368         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
24369         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
24370         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
24371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
24372         Likewise.
24373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
24374         (__libc_pread64): Likewise.
24375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
24376         Likewise.
24377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
24378         (__libc_pwrite64): Likewise.
24379         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
24380         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
24381         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
24382         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
24383         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
24384         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
24385         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
24386         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
24387         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
24388         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
24389         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
24390         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
24391         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
24392         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
24393         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
24394         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
24395         Likewise.
24397 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
24399         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
24400         (CFLAGS-test-double.c): Likewise.
24401         (CFLAGS-test-ldouble.c): Likewise.
24402         (CPPFLAGS-test-ifloat.c): Likewise.
24403         (CPPFLAGS-test-idouble.c): Likewise.
24404         (CPPFLAGS-test-ildoubl.c): Likewise.
24405         (CFLAGS-test-test-fenv.c): Remove variable.
24406         (CFLAGS-test-misc.c): Likewise.
24408 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
24410         [BZ #17797]
24411         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
24412         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
24413         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
24414         CLOCKS_PER_SEC == 1000000.
24415         * time/clocktest.c (main): Replace %ld with %jd and cast to
24416         intmax_t.
24418 2015-01-05  Roland McGrath  <roland@hack.frob.com>
24420         * sysdeps/generic/unwind-resume.h: New file.
24421         * sysdeps/gnu/unwind-resume.c: Include it.
24422         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
24423         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
24424         argument list.
24425         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
24426         global rather than static.
24427         (_Unwind_Resume): Update user.
24428         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
24429         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
24430         rather than static.  Add __attribute__ ((cold)).
24431         (_Unwind_Resume, __gcc_personality_v0): Update callers.
24432         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
24433         * sysdeps/arm/arm-unwind-resume.S: New file.
24434         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
24435         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
24436         * sysdeps/arm/Makefile [$(subdir) = csu]
24437         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
24438         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
24439         Add rt-arm-unwind-resume.
24440         [$(subdir) = nptl]
24441         (libpthread-sysdep_routines, libpthread-shared-only-routines):
24442         Add pt-arm-unwind-resume.
24443         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
24444         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
24446 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24448         [BZ #17748]
24449         * include/fenv.h (__feholdexcept): Declare.  Use
24450         libm_hidden_proto.
24451         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
24452         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
24453         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24454         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
24455         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
24456         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
24457         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
24458         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24459         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
24460         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
24461         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24462         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
24463         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
24464         (feholdexcept): Likewise.
24465         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
24466         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
24467         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
24468         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
24469         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
24470         __feholdexcept instead of feholdexcept.
24471         (default_libc_feholdexcept_setround): Likewise.
24473 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24475         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
24476         to avoid using stl/str to align destination.
24478 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24480         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
24482 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24484         [BZ #17796]
24485         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
24486         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
24487         Define as weak alias not strong alias.
24489 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
24491         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
24492         bltzal with addiupc.
24493         (RTLD_START): Ditto.
24495 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
24497         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
24498         for __vdso_* functions in declarations.
24499         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
24500         definitions.
24501         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
24502         INTERNAL_VSYSCALL): Use struct return types to check for error.
24504         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
24505         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
24506         function with cast from llround().
24507         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
24508         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
24509         Define.
24511 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
24513         [BZ #17793]
24514         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
24515         Define as weak alias not strong alias.
24517         [BZ #17635]
24518         * ctype/ctype-c99.c: New file.  isblank implementation moved from
24519         ...
24520         * ctype/ctype-extn.c: ... here.
24521         (__isblank_l): Move to ...
24522         * ctype/ctype-c99_l.c: ... here.  New file.
24523         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
24524         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
24525         Remove variable.
24526         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
24527         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
24528         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
24529         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
24530         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
24532         [BZ #17777]
24533         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
24534         (posix_fadvise64): Define as weak alias not strong alias.
24535         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
24536         (posix_fallocate64): Likewise.
24537         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
24538         Remove variable.
24539         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
24540         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
24541         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
24542         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
24543         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
24545 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
24547         [BZ #16191]
24548         * NEWS: Mention bug fix.
24549         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
24550         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
24551         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
24552         (HOST_STACK_END_ADDR): Likewise.
24554 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24556         [BZ #17748]
24557         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
24558         * math/fegetround.c (fegetround): Rename to __fegetround and
24559         define as weak alias of __fegetround.  Use libm_hidden_weak.
24560         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
24561         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
24562         * sysdeps/arm/fegetround.c (fegetround): Likewise.
24563         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
24564         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
24565         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
24566         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
24567         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
24568         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
24569         Undefine after rather than before function definition; use
24570         parentheses around function name in definition.
24571         (__fegetround): Also undefine macro after function definition.
24572         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
24573         __fegetround and define as weak alias of __fegetround.  Use
24574         libm_hidden_weak.  Do not undefine as macro.
24575         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
24576         Likewise.
24577         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
24578         __fegetround and define as weak alias of __fegetround.  Use
24579         libm_hidden_weak.
24580         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
24581         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
24582         * sysdeps/tile/math_private.h (__fegetround): New inline function.
24583         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
24584         __fegetround and define as weak alias of __fegetround.  Use
24585         libm_hidden_weak.
24586         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
24587         __fegetround instead of fegetround.
24589         [BZ #17782]
24590         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
24591         Condition macro definition on [__USE_MISC].
24593         [BZ #17781]
24594         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
24595         (struct sigaction): Change type of sa_flags field to int.
24597         [BZ #17780]
24598         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
24599         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
24600         __glibc_reserved0.
24602         * nptl/version.c (banner): Use single year in copyright notice.
24604         * NEWS: Update copyright dates.
24605         * catgets/gencat.c (print_version): Likewise.
24606         * csu/version.c (banner): Likewise.
24607         * debug/catchsegv.sh: Likewise.
24608         * debug/pcprofiledump.c (print_version): Likewise.
24609         * debug/xtrace.sh (do_version): Likewise.
24610         * elf/ldconfig.c (print_version): Likewise.
24611         * elf/ldd.bash.in: Likewise.
24612         * elf/pldd.c (print_version): Likewise.
24613         * elf/sotruss.sh: Likewise.
24614         * elf/sprof.c (print_version): Likewise.
24615         * iconv/iconv_prog.c (print_version): Likewise.
24616         * iconv/iconvconfig.c (print_version): Likewise.
24617         * locale/programs/locale.c (print_version): Likewise.
24618         * locale/programs/localedef.c (print_version): Likewise.
24619         * login/programs/pt_chown.c (print_version): Likewise.
24620         * malloc/memusage.sh (do_version): Likewise.
24621         * malloc/memusagestat.c (print_version): Likewise.
24622         * malloc/mtrace.pl: Likewise.
24623         * manual/libc.texinfo: Likewise.
24624         * nptl/version.c (banner): Likewise.
24625         * nscd/nscd.c (print_version): Likewise.
24626         * nss/getent.c (print_version): Likewise.
24627         * nss/makedb.c (print_version): Likewise.
24628         * posix/getconf.c (main): Likewise.
24629         * scripts/test-installation.pl: Likewise.
24630         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
24632 2015-01-02  Will Newton  <will.newton@linaro.org>
24634         * sysdeps/arm/armv7/configure: Removed.
24635         * sysdeps/arm/armv7/configure.ac: Likewise.
24637 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
24639         * All files with FSF copyright notices: Update copyright dates
24640         using scripts/update-copyrights.
24641         * intl/plural.c: Regenerated.
24642         * locale/programs/charmap-kw.h: Likewise.
24643         * locale/programs/locfile-kw.h: Likewise.
24645 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
24647         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
24649 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24651         [BZ #17748]
24652         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
24653         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
24654         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24655         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24656         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24657         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
24658         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24659         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
24660         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24661         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24662         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24663         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24664         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24665         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24666         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
24667         libm_hidden_def.
24668         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
24669         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
24670         Likewise.
24671         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
24672         define as weak alias of __fegetenv.  Use libm_hidden_weak.
24673         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
24674         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
24675         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
24676         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
24677         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
24678         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
24679         __fegetenv instead of fegetenv.
24680         (libc_feholdsetround_noex_ctx): Likewise.
24682 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
24684         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
24685         (Elf_MIPS_ABIFlags_v0): New structure.
24686         (EF_MIPS_FP64): Define.
24687         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
24688         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
24689         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
24690         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
24691         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
24692         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
24693         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
24694         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
24695         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
24696         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
24697         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
24698         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
24699         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
24700         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
24701         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
24702         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
24703         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
24704         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
24705         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
24706         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
24707         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
24708         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
24709         field.
24710         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
24711         EF_MIPS_FP64.
24712         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
24713         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
24714         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
24715         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
24716         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
24717         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
24718         * sysdeps/mips/tst-abi-interlink.c: Likewise.
24719         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
24720         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
24721         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
24722         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
24723         record the current FP ABI extension.
24724         (mips-mode-switch): Define to show if kernel headers support mode
24725         switching.
24726         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
24727         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
24728         supported SYSV ABI version to 3.
24729         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
24730         feature.
24732 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
24733             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24735         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
24736         path.
24737         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
24739 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
24741         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
24742         __fegetround and redefine to call __fegetround.  Remove condition
24743         on [!__NO_MATH_INLINES].
24744         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
24745         function.
24746         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
24747         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
24748         Remove macro.
24749         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
24750         instead of <fenv_libc.h>.
24751         (__llrintl): Call fegetround instead of __fegetround.
24752         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
24753         instead of <fenv_libc.h>.
24754         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
24755         (__lrintl): Call fegetround instead of __fegetround.
24756         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
24757         instead of <fenv_libc.h>.
24758         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
24759         (__rintl): Call fegetround instead of __fegetround.
24761 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
24763         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
24764         arrays.
24766 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24768         [BZ #17775]
24769         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
24770         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
24771         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
24773 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24775         * sysdeps/i386/tls-macros.h: Include <features.h>.
24776         (TLS_LE): Use non-PIC version for GCC >= 5.0.
24777         (TLS_IE): Likewise.
24778         (TLS_LD): Likewise.
24779         (TLS_GD): Likewise.
24780         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
24781         define for GCC >= 5.0.
24783 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
24785         * math/test-fenv.c (test_single_exception, set_single_exc,
24786         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
24787         feexcp_mask_test, feenable_test, fe_single_test): Add
24788         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
24789         case where they are not used.
24790         * math/libm-test.inc: Likewise.
24791         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
24792         unused in the absence of FP rounding/exception support.
24793         * stdio-common/tst-printf-round.c: Likewise.
24794         * stdlib/tst-strtod-round.c: Likewise.
24795         * stdlib/tst-strtod-underflow.c: Likewise.
24797 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
24799         [BZ #17723]
24800         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
24801         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
24802         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24803         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24804         libm_hidden_weak.
24805         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
24806         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24807         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
24808         libm_hidden_def.
24809         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24810         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24811         libm_hidden_weak.
24812         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
24813         Likewise.
24814         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
24815         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24816         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24817         libm_hidden_weak.
24818         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24819         libm_hidden_def.
24820         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
24821         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
24822         (__feraiseexcept): Likewise.
24823         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
24824         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
24825         libm_hidden_weak.
24826         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
24827         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
24828         libm_hidden_def.
24829         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
24830         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
24831         Use libm_hidden_def.
24832         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
24833         libm_hidden_def.
24834         (feraiseexcept): Define as weak not strong alias.  Use
24835         libm_hidden_weak.
24836         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
24837         New inline function.  Factored out of ...
24838         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
24839         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
24840         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
24841         feraiseexcept.
24842         * math/w_acos.c (__acos): Likewise.
24843         * math/w_asin.c (__asin): Likewise.
24844         * math/w_ilogb.c (__ilogb): Likewise.
24845         * math/w_j0.c (y0): Likewise.
24846         * math/w_j1.c (y1): Likewise.
24847         * math/w_jn.c (yn): Likewise.
24848         * math/w_log.c (__log): Likewise.
24849         * math/w_log10.c (__log10): Likewise.
24850         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
24851         * sysdeps/aarch64/fpu/math_private.h
24852         (libc_feupdateenv_test_aarch64): Likewise.
24853         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
24854         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
24855         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
24856         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
24857         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
24858         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
24859         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
24860         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
24861         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
24862         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
24864 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
24866         [BZ #17732]
24867         * io/test-utime.c (main): Replace %ld with %jd and cast to
24868         intmax_t.
24869         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
24870         * nptl/tst-mutex5.c: Include <stdint.h>.
24871         (do_test): Replace %ld with %jd and cast to intmax_t.
24872         * posix/tst-regex.c (run_test): Likewise.
24873         (run_test_backwards): Likewise.
24874         * rt/tst-clock.c: Include <stdint.h>.
24875         (clock_test): Replace %ld with %jd and cast to intmax_t.
24876         * rt/tst-cpuclock1.c: Include <stdint.h>.
24877         (do_test): Replace %lu with %ju and cast to uintmax_t.
24878         * rt/tst-cpuclock2.c: Include <stdint.h>.
24879         (do_test): Replace %lu with %ju and cast to uintmax_t.
24880         * rt/tst-mqueue1.c: Include <stdint.h>.
24881         (check_attrs): Replace %ld with %jd and cast to intmax_t.
24882         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
24883         intmax_t.
24884         * rt/tst-mqueue4.c (do_test): Likewise.
24885         * rt/tst-timer4.c: Include <stdint.h>.
24886         (check_ts): Replace %ld with %jd and cast to intmax_t.
24887         (do_test): Likewise.
24888         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
24889         and cast to intmax_t.
24890         * sysdeps/pthread/tst-timer.c (main): Likewise.
24891         * time/clocktest.c (main): Likewise.
24892         * time/tst-posixtz.c (do_test): Likewise.
24893         * timezone/tst-timezone.c (main): Likewise.
24895 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
24896             H.J. Lu  <hongjiu.lu@intel.com>
24898         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
24899         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
24900         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
24901         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
24902         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
24903         version if bit_Fast_Unaligned_Load is set.
24904         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24905         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24906         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24907         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24908         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24909         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24910         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
24911         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
24912         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
24913         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
24914         to 4.
24915         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
24916         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
24917         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
24918         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
24920 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
24922         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
24923         instead of #if to avoid a Wundef warning.
24924         * stdlib/tst-limits.c (do_test): Likewise.
24926         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
24927         parallel other exception macros.
24928         (fegetenv): Convert from macro to extern inline so that it applies
24929         retroactively to inline functions already seen by the compiler.
24930         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
24932         * posix/Makefile (before-compile): Use $(objpfx) for
24933         posix-conf-vars-def.h.
24935 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24937         * posix/getconf.c (main): Use size_t for type of I.
24938         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
24939         NSPEC.
24941         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
24942         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
24943         * posix/posix-envs.def: Likewise.
24944         * sysdeps/posix/sysconf.c: Likewise.
24945         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
24946         (specs): Remove array.
24947         * scripts/gen-posix-conf-vars.awk: Support generation of specs
24948         array.
24950         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
24951         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
24952         (__sysconf): Use CONF_IS_* macros.
24954         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
24955         ($(objpfx)posix-conf-vars-def.h): New target.
24956         * posix/posix-conf-vars.list: New file.
24957         * posix/posix-conf-vars.h: New file.
24958         * posix/confstr.c: Include posix-conf-vars.h.
24959         (confstr): Use CONF_IS_* macros.
24960         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
24961         CONF_IS_* macros.
24962         * scripts/gen-posix-conf-vars.awk: New file.
24964 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
24966         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
24967         fegetround): Add no-op macros to avoid linknamespace issues.
24969         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
24970         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
24972         * sysdeps/unix/sysv/linux/tile/sysdep.h
24973         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
24974         assembly-specific section to avoid a redefinition warning.
24976         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
24977         long before casting to pointer to avoid a cast warning.
24979 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
24981         * sysdeps/tile/tilegx/Implies: New file.
24983 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
24985         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
24987 2014-12-23  Florian Weimer  <fweimer@redhat.com>
24989         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
24991 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
24993         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
24994         not define.
24995         * sysdeps/unix/sysv/linux/utimes.c: Do not include
24996         <kernel-features.h>.
24997         (__utimes) [__NR_utimes]: Make code unconditional.
24998         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
24999         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
25000         (__ASSUME_UTIMES): Do not undefine.
25001         * sysdeps/unix/sysv/linux/tile/kernel-features.h
25002         (__ASSUME_UTIMES): Likewise.
25003         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
25004         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
25005         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
25006         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
25008 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25010         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
25012 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
25014         [BZ #17747]
25015         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
25016         alias to weak alias for j0l, y0l.
25017         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
25018         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
25020         [BZ #17746]
25021         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
25022         conversion.
25024 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
25026         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
25027         to zero if not already defined.
25029 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25031         [BZ #17724]
25032         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
25033         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
25034         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
25035         (char *) casts added.
25036         * sysdeps/ieee754/k_standardf.c: New file.
25037         * sysdeps/ieee754/k_standardl.c: Likewise.
25038         * math/Makefile (libm-support): Remove k_standard.
25039         (libm-calls): Add k_standard.
25041 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25043         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
25044         Optimize to avoid an unnecessary FPCR read.
25046 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25048         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
25049         Optimize to reduce FPCR/FPSR accesses.
25051 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25053         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
25054         Call libc_fetestexcept_aarch64.
25056 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
25058         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
25059         Call libc_fesetround_aarch64.
25061 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
25063         [BZ #17733]
25064         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
25065         (__bind): Do not define as weak alias.
25066         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
25067         define.
25068         (__getsockname): Do not define as weak alias.
25070 2014-12-22  Will Newton  <will.newton@linaro.org>
25072         * manual/install.texi: Document that we require bison 2.7
25073         or above.
25074         * INSTALL: Regenerate.
25075         * configure.ac: Use AC_CHECK_PROG_VER instead of
25076         AC_PATH_PROG when checking for bison and check for
25077         version 2.7 or above.
25078         * configure: Regenerate.
25080 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
25082         [BZ #17745]
25083         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
25084         * sysdeps/tile/ffsll.c (ffsll): To here.
25086         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
25088 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25090         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
25091         if not defined.
25092         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
25093         definition.
25094         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25095         hidden ___tls_get_addr.
25096         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
25097         hidden __tls_get_addr.
25098         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
25099         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
25100         Likewise.
25102 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
25104         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
25105         _dl_init call.
25107 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
25109         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
25110         from "call _dl_init@PLT".
25111         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
25113 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
25115         * manual/search.texi: (Array Sort Function): Clarify stable sorting
25116         guarantees.
25118 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
25120         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
25122 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25124         [BZ #17744]
25125         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
25126         strnlen.
25128 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25130         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
25131         of multu on MIPSr6.
25132         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
25133         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
25134         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
25135         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
25136         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
25138 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
25140         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
25141         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
25142         (PTR_SUBU): Use subu for mips32r6/mips64r6.
25143         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
25144         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
25145         mips32r6/mips64r6.
25146         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
25148 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
25150         * string/strncat.c (STRNCAT): Simplify implementation.
25152 2014-12-19  David S. Miller  <davem@davemloft.net>
25154         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
25155         access the quad as both a long double and as a series of 4 words.
25157         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
25158         link_map->l_info array access.
25160 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
25162         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
25164         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
25165         * math/atest-exp2.c (TIMEOUT): Likewise.
25166         * math/atest-sincos.c (TIMEOUT): Likewise.
25168 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25170         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
25171         -Wno-error with -fno-builtin-lround.
25173 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25175         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
25176         Contains futex constants and functions moved over from ...
25177         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
25178         <lowlevellock-futex.h>.
25179         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25180         (lll_timedwait_tid): Add comments and parentheses around macro
25181         arguments.
25183 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25185         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
25186         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
25187         (__lll_private_flag): Remove.
25188         (lll_futex_wait): Likewise.
25189         (lll_futex_timed_wait): Likewise.
25190         (lll_futex_wake): Likewise.
25191         (lll_futex_requeue): Likewise.
25192         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
25193         (__lll_timedwait_tid): Spell out argument names.
25194         (lll_timedwait_tid): Add comments and parentheses around macro
25195         arguments.
25196         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
25197         LLL_SHARED and LLL_PRIVATE usable from assembly code.
25199 2014-12-19  Torvald Riegel  <triegel@redhat.com>
25201         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
25202         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
25203         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
25204         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
25205         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
25206         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
25207         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
25208         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
25209         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
25210         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
25211         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
25212         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
25213         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
25214         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
25215         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
25216         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
25217         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
25218         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
25219         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
25221 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25223         * sysdeps/x86_64/x32/Makefile: New file.
25225 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
25227         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
25228         1L with (mp_limb_t) 1.
25230 2014-12-17  Roland McGrath  <roland@hack.frob.com>
25232         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
25233         * nptl/libc_pthread_init.c: ... here.
25234         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
25235         * nptl/register-atfork.c: ... here.
25237         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
25238         Use pthread_sigmask rather than INTERNAL_SYSCALL.
25239         Use assert_perror to check its return value.
25240         (__gai_create_helper_thread): Likewise.
25242         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
25244         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
25246 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
25248         [BZ #17725]
25249         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
25250         __profil_counter.
25251         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
25252         Likewise.
25253         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
25254         Likewise.
25255         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
25256         Likewise.
25257         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
25258         (profil_counter): Likewise.
25259         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
25260         (profil_counter): Likewise.
25261         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
25262         Likewise.
25263         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
25264         Likewise.
25265         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
25266         (profil_counter): Likewise.
25267         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
25268         Likewise.
25269         [!__profil_counter] (profil_counter): Define as weak alias of
25270         __profil_counter.
25271         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
25272         (profil_counter): Rename to __profil_counter.
25273         [!__profil_counter] (profil_counter): Define as weak alias of
25274         __profil_counter.
25275         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
25276         (profil_counter): Rename to __profil_counter.
25277         [!__profil_counter] (profil_counter): Define as weak alias of
25278         __profil_counter.
25279         * sysdeps/posix/profil.c: Update comment referring to
25280         profil_counter.
25281         (__profil): Use __profil_counter instead of profil_counter.
25282         * sysdeps/posix/sprofil.c (profil_counter): Rename to
25283         __profil_counter.  Use __profil_counter_ushort and
25284         __profil_counter_uint in definitions.
25285         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
25286         instead of profil_counter_uint and profil_counter_ushort.
25288         [BZ #17722]
25289         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
25290         define as weak alias of __inet_makeaddr.
25291         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
25292         as weak alias of __inet_addr.
25293         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
25294         as weak alias of __inet_pton.  Use libc_hidden_weak.
25295         * include/arpa/inet.h (__inet_pton): Declare.  Use
25296         libc_hidden_proto.
25297         (inet_makeaddr): Don't use libc_hidden_proto.
25298         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
25299         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
25300         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
25301         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
25302         Remove variable.
25303         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
25304         (test-xfail-POSIX/time.h/linknamespace): Likewise.
25306 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
25308         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
25310 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25312         * stdio-common/bug-vfprintf-nargs.c (do_test):
25313         Cast value to intptr_t to avoid format warning
25314         for usage with PRIdPTR printing macro.
25316 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
25318         * libio/tst-widetext.c (do_test):
25319         Use format type %td instead of %Zd for ptrdiff_t
25320         in order to avoid format warning.
25322 2014-12-17  Andreas Schwab  <schwab@suse.de>
25324         * nscd/mem.c (gc): Add size_t cast to match printf format.
25326 2014-12-16  Roland McGrath  <roland@hack.frob.com>
25328         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
25329         (init): Apply PTR_MANGLE to pointers before storing them.
25330         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
25331         before using them.
25333 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
25335         [BZ #17719]
25336         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
25337         define as weak alias of __memrchr.
25338         (__memrchr): Do not define as strong alias of memrchr.
25339         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
25340         Remove variable.
25341         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
25342         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
25343         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
25345         [BZ #17717]
25346         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
25347         define as weak alias of __if_nametoindex.  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         (if_freenameindex): Rename to __if_freenameindex and define as
25351         weak alias of __if_freenameindex.
25352         (if_nameindex): Rename to __if_nameindex and define as weak alias
25353         of __if_nameindex.
25354         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
25355         __if_nametoindex and define as weak alias of __if_nametoindex.
25356         Use libc_hidden_weak.
25357         (if_freenameindex): Rename to __if_freenameindex and define as
25358         weak alias of __if_freenameindex.
25359         (if_nameindex): Rename to __if_nameindex and define as weak alias
25360         of __if_nameindex.
25361         (if_indextoname): Rename to __if_indextoname and define as weak
25362         alias of __if_indextoname.  Use libc_hidden_weak.
25363         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
25364         __if_nametoindex and define as weak alias of __if_nametoindex.
25365         Use libc_hidden_weak.
25366         (if_freenameindex): Rename to __if_freenameindex and define as
25367         weak alias of __if_freenameindex.  Use libc_hidden_weak.
25368         (if_nameindex_netlink): Use __if_freenameindex instead of
25369         if_freenameindex.
25370         (if_nameindex): Rename to __if_nameindex and define as weak alias
25371         of __if_nameindex.  Use libc_hidden_weak.
25372         (if_indextoname): Rename to __if_indextoname and define as weak
25373         alias of __if_indextoname.  Use libc_hidden_weak.
25374         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
25375         libc_hidden_proto.
25376         [!_ISOMAC] (__if_freenameindex): Likewise.
25377         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
25378         if_nametoindex.
25379         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
25380         variable.
25381         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
25382         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
25383         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
25384         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
25385         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
25386         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
25387         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
25389         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
25390         Remove variable.
25391         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
25392         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
25394 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
25396         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
25397         subscript above bounds'
25399         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
25400         bounds.
25402 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
25404         * libio/tst-fopenloc.c: Use test-skeleton.c.
25406         * stdlib/tst-bsearch.c: Use test-skeleton.c.
25407         (entry): Rename to ITEM.
25408         (do_test, comp): Adjust.
25410         * stdio-common/tst-fseek.c: Use test-skeleton.c.
25412 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25414         * string/tester.c: Include <libc-internal.h>.
25415         (test_memset): Ignore -Wmemset-transposed-args.
25417 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25419         * misc/tst-mntent2.c (do_test): Fix warning.
25421 2014-12-16  Torvald Riegel  <triegel@redhat.com>
25423         * elf/tst-unique4lib.cc(a): Mark as used.
25425 2014-12-16  Florian Weimer  <fweimer@redhat.com>
25427         [BZ #17630]
25428         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
25429         names.
25431 2014-12-16  Allan McRae  <allan@archlinux.org>
25433         * stdio-common/Makefile (tests): Re-add bug26.
25435 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
25437         [BZ #17657]
25438         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
25439         static array.
25441 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
25443         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
25444         (__lll_lock_wait): Likewise.
25445         (__lll_timedlock_wait): Likewise.
25446         (__lll_timedwait_tid): Likewise.
25447         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
25448         (__lll_robust_timedlock_wait): Likewise.
25449         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
25450         (lll_cond_trylock): Likewise.
25451         (__lll_lock): Likewise.
25452         (__lll_robust_lock): Likewise.
25453         (__lll_cond_lock): Likewise.
25454         (lll_robust_cond_lock): Likewise.
25455         (__lll_timedlock): Likewise.
25456         (__lll_robust_timedlock): Likewise.
25457         (__lll_unlock): Likewise.
25458         (__lll_robust_unlock): Likewise.
25459         (lll_wait_tid): Likewise.
25460         (lll_timedwait_tid): Likewise.
25462 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25464         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
25466 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25468         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
25470 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25472         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
25473         * stdio-common/tst-sprintf.c: Likewise.
25475 2014-12-15  Torvald Riegel  <triegel@redhat.com>
25477         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
25479 2014-12-15  Jeff Law  <law@redhat.com>
25481         [BZ #16617]
25482         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
25483         on the heap.  (CVE-2012-3406)
25484         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
25485         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
25486         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
25488 2014-12-15  Will Newton  <will.newton@linaro.org>
25490         * manual/install.texi: Bump required version of texinfo
25491         to 4.7 from 4.5.
25492         * INSTALL: Regenerated.
25493         * configure.ac: Check for makeinfo version 4.7 and above.
25494         * configure: Regenerated.
25496 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25498         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
25499         PREFIX, string constant to insert between directory and name.
25500         * sysdeps/posix/shm_open.c: Update caller.
25501         * sysdeps/posix/shm_unlink.c: Likewise.
25502         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
25503         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
25504         (SEM_SHM_PREFIX): New macro.
25505         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
25506         [$(have-thread-library) = no].
25507         * nptl/Makefile (libpthread-routines): Add shm-directory.
25508         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
25509         * sysdeps/nptl/shm-directory.h: New file.
25510         * sysdeps/posix/shm-directory.c
25511         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
25512         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
25513         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
25514         INTERNAL_SYSCALL.
25515         (__where_is_shmfs): Function removed.
25516         (mountpoint, defaultmount, defaultdir, __namedsem_once):
25517         Variables removed.
25518         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
25519         Use SHM_GET_NAME.
25520         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
25522         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
25523         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
25524         unconditional for use inside libpthread.
25525         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
25527 2014-12-12  Roland McGrath  <roland@hack.frob.com>
25529         * nptl/pthread_getaffinity.c: New file.
25530         * nptl/pthread_setaffinity.c: New file.
25531         * nptl/pthread_getname.c: New file.
25532         * nptl/pthread_setname.c: New file.
25534         * nptl/pthread_create.c (START_THREAD_DEFN)
25535         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
25537 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25538             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25540         * resolv/res_send.c (send_vc): Disable warning resplen may
25541         be used uninitialized.
25543 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
25545         * nptl/tst-mutex6.c
25546         (ATTR_NULL): New define checks ATTR against NULL.
25547         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
25548         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
25550 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
25552         [BZ #17581]
25553         * malloc/hooks.c
25554         (mem2mem_check): Revert my previous change.
25555         (malloc_check_get_size): Revert my previous change.
25556         (mem2chunk_check): Revert my previous change.
25558 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25560         * sysdeps/posix/shm-directory.c: New file.
25561         * sysdeps/posix/shm-directory.h: New file.
25562         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
25563         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
25564         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
25565         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
25566         Transmute EPERM to EACCES.
25567         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
25568         from ...
25569         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
25570         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
25572 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
25574         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
25575         pointer and cast to uintptr_t.
25576         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
25577         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
25578         Add cast to avoid warning.
25579         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
25581 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25583         * nptl/semaphore.h: Move to ...
25584         * sysdeps/pthread/semaphore.h: ... here.
25585         * Makefile (installed-headers): Change nptl/semaphore.h to
25586         sysdeps/pthread/semaphore.h.
25588 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25590         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
25591         generated error format strings.
25593         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
25594         -Wformat-extra-args warnings for scanf formats.
25595         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
25596         test of zero-length format (duh).
25597         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
25598         corner-case scanf format test.
25599         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
25600         generated fprintf format string.
25601         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
25602         corner-case sprintf format tests.
25603         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
25604         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
25605         -Wformat-extra-args warnings throughout.
25606         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
25607         (CFLAGS-scanf4.c): Likewise.
25608         (CFLAGS-scanf7.c): Likewise.
25609         (CFLAGS-tst-sprintf.c): Likewise.
25610         (CFLAGS-tst-printf.c): Likewise.
25611         (CFLAGS-tst-printfsz.c): Likewise.
25613 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
25615         * include/cpio.h: New file.
25616         * include/fmtmsg.h: Likewise.
25618         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
25619         corresponding format argument to size_t.
25620         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
25621         arguments.
25622         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
25623         corresponding format argument to size_t.
25624         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
25625         arguments.
25626         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
25627         corresponding format argument to size_t.
25628         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
25629         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
25630         (CFLAGS-tst-mbswcs2.c): Likewise.
25631         (CFLAGS-tst-mbswcs3.c): Likewise.
25632         (CFLAGS-tst-mbswcs4.c): Likewise.
25633         (CFLAGS-tst-mbswcs5.c): Likewise.
25634         (CFLAGS-tst-trans.c): Likewise.
25636 2014-12-11  Roland McGrath  <roland@hack.frob.com>
25638         * posix/regexbug1.c (main): Use "%s" format with regerror results,
25639         rather than assuming they won't contain any '%'s.
25641 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
25643         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
25644         inhibit_loop_to_libcall to avoid recursive calls.
25645         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
25646         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
25648 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
25650         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
25651         prototype.
25653 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25655         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
25656         integer value instead of boolean.
25658 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
25660         * malloc/malloc.c: Fix powerof2 check.
25662 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25664         * locale/programs/locfile.h (maybe_swap_uint32):
25665         Remove inline and add unused attribute.
25667 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
25669         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
25670         Truncating assembler expression to a .long expression.
25672 2014-12-11  Andreas Schwab  <schwab@suse.de>
25674         * elf/rtld.c (struct map_args): Constify str member.
25675         (do_preload): Constify fname argument.
25677 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25679         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
25680         constants definition.
25682 2014-12-11  Andreas Schwab  <schwab@suse.de>
25684         [BZ #16657]
25685         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
25686         FORCE_ELISION instead of DO_ELISION.
25687         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
25688         Remove.
25689         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
25690         Likewise.
25692         * iconvdata/gconv-modules: Remove duplicate entry.
25694 2014-12-11  Will Newton  <will.newton@linaro.org>
25696         Merge gettext 0.19.3 into intl/.
25698         This involves a number of cosmetic changes to comments
25699         and ANSI function definitions and prototypes throughout
25700         all the files. The gettext copyright header is used but
25701         with the date ranges taken from the glibc copy.
25703         * NEWS: Add gettext merge to 2.21.
25704         * intl/bindtextdom.c: Switch to gettext copyright.
25705         Use ANSI definitions and prototypes.
25706         Use gl_* locking primitives rather than __libc_* ones.
25707         Use __builtin_expect rather than __glibc_likely/unlikely.
25708         * intl/dcgettext.c: Switch to gettext copyright.
25709         Use ANSI definitions and prototypes.
25710         * intl/dcigettext.c: Switch to gettext copyright.
25711         Use ANSI definitions and prototypes.
25712         (INTDIV0_RAISES_SIGFPE): New define.
25713         Use gl_* locking primitives rather than __libc_* ones.
25714         Include eval-plural.h instead of plural-eval.c.
25715         Use __builtin_expect rather than __glibc_likely/unlikely.
25716         * intl/dcngettext.c: Switch to gettext copyright.
25717         Use ANSI definitions and prototypes.
25718         * intl/dgettext.c: Likewise.
25719         * intl/dngettext.c: Likewise.
25720         * intl/plural-eval.c: Renamed to...
25721         * intl/eval-plural.h: ...this.
25722         * intl/explodename.c: Switch to gettext copyright.
25723         Use ANSI definitions and prototypes.
25724         (_nl_explode_name): Use strchr instead of __rawmemchr.
25725         * intl/finddomain.c: Switch to gettext copyright.
25726         Use ANSI definitions and prototypes.
25727         Use gl_* locking primitives rather than __libc_* ones.
25728         (_nl_find_domain): Use malloc rather than alloca for
25729         allocation of temporary locale name.
25730         * intl/gettext.c: Switch to gettext copyright.
25731         Use ANSI definitions and prototypes.
25732         * intl/gettextP.h: Switch to gettext copyright.
25733         Use ANSI definitions and prototypes.
25734         Use gl_* locking primitives rather than __libc_* ones.
25735         * intl/gmo.h: Switch to gettext copyright.
25736         (struct sysdep_string): Move struct segment_pair outside of
25737         struct definition.
25738         * intl/hash-string.c: Use ANSI definitions and prototypes.
25739         * intl/hash-string.h: Switch to gettext copyright.
25740         Use ANSI definitions and prototypes.
25741         * intl/l10nflist.c: Switch to gettext copyright.
25742         Use ANSI definitions and prototypes.
25743         (_nl_normalize_codeset): Avoid integer overflow.
25744         * intl/loadinfo.h: Switch to gettext copyright.
25745         Use ANSI definitions and prototypes.
25746         (LIBINTL_DLL_EXPORTED): New define.
25747         (PATH_SEPARATOR): New define.
25748         * intl/loadmsgcat.c: Switch to gettext copyright.
25749         * intl/localealias.c: Switch to gettext copyright.
25750         Use ANSI definitions and prototypes.
25751         (_nl_expand_alias): Use PATH_SEPARATOR.
25752         * intl/ngettext.c: Switch to gettext copyright.
25753         Use ANSI definitions and prototypes.
25754         * intl/plural-exp.c: Likewise.
25755         * intl/plural-exp.h: Switch to gettext copyright.
25756         Use ANSI definitions and prototypes.
25757         (struct expression): Move definition of enum operator outside
25758         of struct definition.
25759         * intl/plural.c: Regenerate.
25760         * intl/plural.y: Switch to gettext copyright.
25761         Use ANSI definitions and prototypes.
25762         Port to bison 3.0.
25763         * intl/textdomain.c: Switch to gettext copyright.
25764         Use ANSI definitions and prototypes.
25765         Use gl_* locking primitives rather than __libc_* ones.
25767 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
25769         * debug/warning-nop.c: Add used atrribute.
25771 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25773         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
25775         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
25776         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
25777         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
25779 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25780             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25782         [BZ #17634]
25783         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
25784         Undefine after defining function.  Define as weak alias of
25785         __wcschr.  Use libc_hidden_weak.
25786         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
25787         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
25788         (libc_hidden_def): Also define __GI___wcschr alias.
25789         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
25790         __wcschr and define as weak alias of __wcschr.
25791         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
25792         __wcschr.
25793         [!WCSCHR] (DEFAULT_WCSCHR): Define.
25794         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
25795         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
25796         libc_hidden_weak.  Do not use libc_hidden_def.
25797         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
25798         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
25799         __GI___wcschr alias.
25800         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
25801         [IS_IN (libc)] (wcschr): Define as macro expanding to
25802         __redirect_wcschr.
25803         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
25804         [IS_IN (libc)] (__wcschr_power6): Likewise.
25805         [IS_IN (libc)] (__wcschr_power7): Likewise.
25806         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
25807         instead of wcschr.
25808         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
25809         __libc_wcschr.
25810         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
25811         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
25812         __wcschr and define as weak alias of __wcschr.  Use
25813         libc_hidden_builtin_def.
25814         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
25815         as weak alias of __wcschr.  Use libc_hidden_weak.
25816         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
25817         wcschr.
25818         * time/era.c (_nl_init_era_entries): Likewise.
25819         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
25820         variable.
25821         (test-xfail-XPG3/time.h/linknamespace): Likewise.
25822         (test-xfail-XPG4/time.h/linknamespace): Likewise.
25824 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25826         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
25827         format for long int variable.
25829 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
25831         [BZ #10672]
25832         * manual/search.texi: (Array Sort Function): Remove claim how to make
25833         qsort stable.
25835 2014-12-10  Andreas Schwab  <schwab@suse.de>
25837         [BZ #12847]
25838         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
25839         user-controlled locks.
25841 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
25843         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
25844         register.
25846 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
25848         * configure.ac (--disable-werror): New configure option.
25849         (enable_werror): New AC_SUBST.
25850         * configure: Regenerated.
25851         * config.make.in (enable-werror): New variable.
25852         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
25853         -Wno-error=undef.
25854         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
25855         * manual/install.texi (Configuring and compiling): Document
25856         --disable-werror.
25857         * INSTALL: Regenerated.
25858         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
25859         (CFLAGS-tst-chk2.c): Likewise.
25860         (CFLAGS-tst-chk3.c): Likewise.
25861         (CFLAGS-tst-chk4.cc): Likewise.
25862         (CFLAGS-tst-chk5.cc): Likewise.
25863         (CFLAGS-tst-chk6.cc): Likewise.
25864         (CFLAGS-tst-lfschk1.c): Likewise.
25865         (CFLAGS-tst-lfschk2.c): Likewise.
25866         (CFLAGS-tst-lfschk3.c): Likewise.
25867         (CFLAGS-tst-lfschk4.cc): Likewise.
25868         (CFLAGS-tst-lfschk5.cc): Likewise.
25869         (CFLAGS-tst-lfschk6.cc): Likewise.
25871         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
25872         (main): Disable -Wdeprecated-declarations around calls to
25873         register_printf_function.
25875         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
25876         (do_test): Disable -Wdiv-by-zero around some calls to
25877         fwrite_unlocked and fread_unlocked.
25879         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
25880         (DIAG_POP_NEEDS_COMMENT): Likewise.
25881         (_DIAG_STR1): Likewise.
25882         (_DIAG_STR): Likewise.
25883         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
25884         * stdio-common/bug21.c: Include <libc-internal.h>.
25885         (do_test): Disable -Wformat around call to sscanf.
25886         * stdio-common/scanf14.c: Include <libc-internal.h>.
25887         (main): Disable -Wformat around some calls to scanf functions.
25889 2014-12-09  Torvald Riegel  <triegel@redhat.com>
25891         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
25893 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25895         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
25896         stack variable alignment.
25898 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
25900         [BZ #17682]
25901         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
25902         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
25903         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
25904         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
25905         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
25906         __getrlimit instead of getrlimit.
25907         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
25908         __gettimeofday instead of gettimeofday.
25909         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
25910         Likewise.
25911         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
25912         Likewise.
25913         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
25914         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
25915         Remove variable.
25916         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
25917         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
25919 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25921         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
25922         for wide-character tests.
25924 2014-12-04  Roland McGrath  <roland@hack.frob.com>
25926         * io/openat64.c: #include <libc-internal.h>
25927         (__openat64): Prototypify.  Use ignore_value on MODE.
25928         * io/openat.c: Likewise.
25929         * misc/reboot.c: #include <libc-internal.h>
25930         (reboot): Prototypify.  Use ignore_value on HOWTO.
25931         * misc/ptrace.c: #include <libc-internal.h>
25932         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
25934 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
25936         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
25937         XPG4, UNIX98 and XOPEN2K.
25938         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
25939         Remove variable.
25940         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
25942 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
25944         * libio/fileops.c: Use ISO C style for function definitions.
25945         * libio/iofopen.c: Likewise.
25946         * libio/wfileops.c: Likewise.
25948         [BZ #17653]
25949         * libio/fileops.c (_IO_new_file_underflow): Unset cached
25950         offset on EOF.
25951         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
25952         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
25953         (fgets_func): Function pointer to fgets and fgetws.
25954         (do_ftell_test): Add test to verify ftell value after read
25955         EOF.
25956         (do_test): Set fgets_func.
25958         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
25959         O_TRUNC flag for w and w+ modes.
25960         (do_rewind_test): Likewise.
25961         (do_ftell_test): Likewise.
25962         (do_write_test): Likewise.
25964         [BZ #17647]
25965         * libio/fileops.c (do_ftell): Seek only when there are
25966         unflushed writes.
25967         * libio/wfileops.c (do_ftell_wide): Likewise.
25968         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
25969         test case.
25970         (do_one_test): Call it.
25972 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
25974         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
25975         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
25976         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
25977         Remove variable.
25978         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
25979         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
25980         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
25982 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
25984         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
25985         Remove variable.
25986         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
25988         [BZ #17668]
25989         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
25990         as weak alias of __getifaddrs.  Use libc_hidden_weak.
25991         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25992         __freeifaddrs.  Use libc_hidden_weak.
25993         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
25994         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
25995         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
25996         __freeifaddrs.  Use libc_hidden_weak.
25997         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
25998         __getifaddrs and define as weak alias of __getifaddrs.  Use
25999         libc_hidden_weak.
26000         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
26001         __freeifaddrs.  Use libc_hidden_weak.
26002         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
26003         Remove variable.
26004         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
26005         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
26007 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
26009         [BZ #17601]
26010         * sysdeps/mips/start.S (__start): Use indirect jump to call
26011         __libc_start_main.
26013 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
26015         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
26017         * nptl/tst-mutex1.c: Include <stdbool.h>.
26018         [!ATTR] (ATTR_NULL): New macro.
26019         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
26020         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
26021         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
26023         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
26024         to char *.
26026         [BZ #17665]
26027         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
26028         Change conditional to [__USE_MISC].
26030         [BZ #17664]
26031         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
26032         fgets_unlocked.
26033         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
26034         __fgets_unlocked.
26035         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
26036         fgets_unlocked.
26037         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
26038         Remove variable.
26039         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
26040         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
26041         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
26042         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
26043         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
26044         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
26045         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
26046         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
26047         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
26049         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
26051 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26053         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26054         Remove strpbrk objects.
26055         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26056         (__libc_ifunc_impl_list): Remove strpbrk implementation.
26057         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
26058         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
26059         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
26060         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
26062         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26063         Remove strcspn objects.
26064         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26065         (__libc_ifunc_impl_list): Remove strcspn implementation.
26066         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
26067         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
26068         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
26069         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
26071         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
26072         Remove strspn objetcs.
26073         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
26074         (__libc_ifunc_impl_list): Remove strspn implementation.
26075         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
26076         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26077         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
26078         * sysdeps/powerpc/powerpc64/strspn.S: New file.
26080 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
26082         [BZ #17581]
26083         * malloc/hooks.c
26084         (mem2mem_check): Add a terminator to the chain of checking blocks.
26085         (malloc_check_get_size): Use it here.
26086         (mem2chunk_check): Ditto.
26088 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
26090         * sysdeps/powerpc/powerpc64/strtok.S: New file.
26091         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
26093 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
26095         * bits/ioctl-types.h: Indent preprocessor directives correctly.
26097         * nptl/nptl-init.c: Include libc-internal.h.
26098         (__pthread_initialize_minimal_internal): Use ROUND_UP.
26100         * elf/ldconfig.c (search_dir): Expand comment.
26102 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
26104         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
26105         variable.
26106         (linknamespace-symlist-stdlibs-tests): Likewise.
26107         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
26108         instead of $(objpfx)symlist-stdlibs.
26109         (linknamespace-libs-isoc): New variable.
26110         (linknamespace-libs): Use $(linknamespace-libs-isoc).
26111         (linknamespace-libs-ISO): New variable.
26112         (linknamespace-libs-ISO99): Likewise.
26113         (linknamespace-libs-ISO11): Likewise.
26114         (linknamespace-libs-XPG3): Likewise.
26115         (linknamespace-libs-XPG4): Likewise.
26116         (linknamespace-libs-POSIX): Likewise.
26117         (linknamespace-libs-UNIX98): Likewise.
26118         (linknamespace-libs-XOPEN2K): Likewise.
26119         (linknamespace-libs-POSIX2008): Likewise.
26120         (linknamespace-libs-XOPEN2K8): Likewise.
26121         ($(objpfx)symlist-stdlibs): Replace by
26122         $(linknamespace-symlist-stdlibs-tests).  Use
26123         $(linknamespace-libs-$*) as set of libraries.
26124         ($(linknamespace-header-tests)): Update dependencies.  Use
26125         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
26126         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
26127         * conform/linknamespace.pl: Remove comment about considering
26128         definitions of symbols from irrelevant libraries.
26130 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
26132         [BZ #13862]
26133         * elf/dl-tls.c: Include <atomic.h>.
26134         (oom): Remove #ifdef SHARED/#endif.
26135         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
26136         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
26137         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
26138         big enough.
26139         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
26140         * nptl/Makefile (tests): Add tst-stack4.
26141         (modules-names): Add tst-stack4mod.
26142         ($(objpfx)tst-stack4): New.
26143         (tst-stack4mod.sos): Likewise.
26144         ($(objpfx)tst-stack4.out): Likewise.
26145         ($(tst-stack4mod.sos)): Likewise.
26146         (clean): Likewise.
26147         * nptl/tst-stack4.c: New file.
26148         * nptl/tst-stack4mod.c: Likewise.
26150 2014-11-27  J. Brown  <jb999@gmx.de>
26152         * sysdeps/x86/bits/string.h: Add recent CPUs.
26154 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26156         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
26157         sigblock.
26159         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
26160         feof.
26162         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
26163         variable.
26165 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
26167         * nscd/connections.c: Include libc-internal.h because of macro
26168         usage ignore_value.
26170 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
26172         * string/bits/string3.h (__warn_memset_zero_len): Don't
26173         declare for gcc newer than 5.0.
26174         (memset): Don't test for zero-length __LEN for gcc newer than
26175         5.0.
26177 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
26179         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
26180         size_t for %zu format.
26182         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
26183         difference, not %ju.
26185 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26187         * include/libc-internal.h (ignore_value): New macro.
26188         * nscd/connections.c (restart): Wrap calls to setuid and setgid
26189         with ignore_value.
26191         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
26192         definition.
26194         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
26195         pthread_cleanup_push to void *.
26197         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
26198         Undefine.
26200         [BZ #16619]
26201         [BZ #16740]
26202         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
26203         instead of 1L << 52.
26205         * libio/bug-rewind.c (do_test): Check fwscanf return values.
26206         * libio/bug-rewind2.c (do_test): Likewise.
26208         * debug/test-stpcpy_chk-ifunc.c: Remove file.
26209         * debug/test-strcpy_chk-ifunc.c: Likewise.
26210         * wcsmbs/test-wcschr-ifunc.c: Likewise.
26211         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
26212         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
26213         * wcsmbs/test-wcslen-ifunc.c: Likewise.
26214         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
26215         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
26216         * Rules [$(multi-arch) = no] (tests): Do not filter out
26217         $(tests-ifunc).
26218         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
26219         * debug/Makefile (tests-ifunc): Remove variable.
26220         (tests): Do not add $(tests-ifunc).
26221         * wcsmbs/Makefile (tests-ifunc): Remove variable.
26222         (tests): Do not add $(tests-ifunc).
26223         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
26224         [TEST_IFUNC]: Remove conditionals.
26225         * string/test-string.h (TEST_IFUNC): Remove macro.
26226         [TEST_IFUNC]: Remove conditionals.
26228         * string/test-strchr.c [!WIDE] (L): New macro.
26229         [WIDE] (L): Likewise.
26230         (check1): Use CHAR instead of char.  Use L on string and character
26231         constants.
26233 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
26235         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
26236         tests.
26237         * sysdeps/powerpc/bits/atomic.h
26238         (__arch_atomic_exchange_and_add_32_acq): Add definition.
26239         (__arch_atomic_exchange_and_add_32_rel): Likewise.
26240         (atomic_exchange_and_add_acq): Likewise.
26241         (atomic_exchange_and_add_rel): Likewise.
26242         * sysdeps/powerpc/powerpc32/bits/atomic.h
26243         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26244         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26245         * sysdeps/powerpc/powerpc64/bits/atomic.h
26246         (__arch_atomic_exchange_and_add_64_acq): Add definition.
26247         (__arch_atomic_exchange_and_add_64_rel): Likewise.
26249 2014-11-26  Torvald Riegel  <triegel@redhat.com>
26251         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
26252         Change synchronization of __sched_fifo_min_prio and
26253         __sched_fifo_max_prio.
26254         * nptl/pthread_mutexattr_getprioceiling.c
26255         (pthread_mutexattr_getprioceiling): Likewise.
26256         * nptl/pthread_mutexattr_setprioceiling.c
26257         (pthread_mutexattr_setprioceiling): Likewise.
26258         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
26259         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
26260         Likewise.
26262 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
26264         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
26265         void.
26267 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26269         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
26270         third argument const.
26272 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
26274         fnmatch: work around GCC compiler warning bug with uninit var
26275         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
26276         This works around a bug with x86-64 GCC 4.9.2 and earlier
26277         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
26278         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
26279         used uninitialized in this function [-Wmaybe-uninitialized]".
26281 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
26283         * posix/bug-regex31.c (main): Return RES not 0.
26285 2014-11-25  Anton Blanchard <anton@samba.org>
26287         * sysdeps/powerpc/bits/atomic.h
26288         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
26290 2014-11-24  Sterling Augustine  <saugustine@google.com>
26292         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
26294 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
26296         [BZ #17608]
26297         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
26299 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
26301         [BZ #17633]
26302         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
26303         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
26304         variable.
26305         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
26306         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
26308 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26310         * string/strncpy.c (strncpy): Improve performance by using memset.
26312 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
26314         * string/strcpy.c (strcpy):
26315         Improve performance by using strlen and memcpy.
26317 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
26319         * string/strcoll_l.c (get_next_seq): __always_inline.
26320         * string/strcoll_l.c (do_compare): __always_inline.
26322 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26324         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
26325         defined.
26326         * include/mqueue.h: Likewise.
26327         * include/stdlib.h: Likewise.
26329         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
26330         (get_null_defines): Adjust.
26331         * sunrpc/Makefile: Adjust comment.
26332         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
26333         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
26334         (CFLAGS-interp.c): Likewise.
26335         (CFLAGS-ldconfig.c): Likewise.
26336         (CPPFLAGS-.os): Likewise.
26337         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26338         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26339         * extra-modules.mk (extra-modules.mk): Likewise.
26340         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
26341         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
26342         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
26343         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
26344         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
26345         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
26346         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
26347         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
26348         * iconvdata/Makefile (CPPFLAGS): Likewise.
26349         (cpp-srcs-left): Add libof for all iconvdata routines.
26350         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
26351         * include/assert.h: Likewise.
26352         * include/ctype.h: Likewise.
26353         * include/errno.h: Likewise.
26354         * include/libc-symbols.h: Likewise.
26355         * include/math.h: Likewise.
26356         * include/netdb.h: Likewise.
26357         * include/resolv.h: Likewise.
26358         * include/stdio.h: Likewise.
26359         * include/stdlib.h: Likewise.
26360         * include/string.h: Likewise.
26361         * include/sys/stat.h: Likewise.
26362         * include/wctype.h: Likewise.
26363         * intl/l10nflist.c: Likewise.
26364         * libidn/idn-stub.c: Likewise.
26365         * libio/libioP.h: Likewise.
26366         * nptl/libc_multiple_threads.c: Likewise.
26367         * nptl/pthreadP.h: Likewise.
26368         * posix/regex_internal.h: Likewise.
26369         * resolv/res_hconf.c: Likewise.
26370         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
26371         * sysdeps/arm/memmove.S: Likewise.
26372         * sysdeps/arm/sysdep.h: Likewise.
26373         * sysdeps/generic/_itoa.h: Likewise.
26374         * sysdeps/generic/symbol-hacks.h: Likewise.
26375         * sysdeps/gnu/errlist.awk: Likewise.
26376         * sysdeps/gnu/errlist.c: Likewise.
26377         * sysdeps/i386/i586/memcpy.S: Likewise.
26378         * sysdeps/i386/i586/memset.S: Likewise.
26379         * sysdeps/i386/i686/memcpy.S: Likewise.
26380         * sysdeps/i386/i686/memmove.S: Likewise.
26381         * sysdeps/i386/i686/mempcpy.S: Likewise.
26382         * sysdeps/i386/i686/memset.S: Likewise.
26383         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
26384         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
26385         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
26386         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
26387         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
26388         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
26389         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
26390         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
26391         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
26392         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
26393         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
26394         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
26395         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
26396         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
26397         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
26398         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
26399         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
26400         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
26401         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
26402         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
26403         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
26404         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
26405         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
26406         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
26407         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
26408         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
26409         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
26410         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
26411         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
26412         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
26413         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
26414         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
26415         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
26416         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
26417         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
26418         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
26419         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
26420         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
26421         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
26422         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
26423         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
26424         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
26425         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
26426         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
26427         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
26428         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
26429         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
26430         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
26431         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
26432         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
26433         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
26434         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
26435         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
26436         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
26437         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
26438         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
26439         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
26440         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
26441         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
26442         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
26443         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
26444         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
26445         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
26446         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26447         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26448         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
26449         * sysdeps/posix/closedir.c: Likewise.
26450         * sysdeps/posix/opendir.c: Likewise.
26451         * sysdeps/posix/readdir.c: Likewise.
26452         * sysdeps/posix/rewinddir.c: Likewise.
26453         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
26454         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
26455         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
26456         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
26457         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
26458         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
26459         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
26460         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
26461         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
26462         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
26463         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
26464         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
26465         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
26466         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
26467         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
26468         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
26469         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
26470         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
26471         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
26472         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
26473         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
26474         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
26475         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
26476         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
26477         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
26478         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
26479         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
26480         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
26481         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
26482         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
26483         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
26484         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
26485         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
26486         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
26487         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
26488         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
26489         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
26490         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
26491         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
26492         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
26493         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
26494         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
26495         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
26496         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
26497         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
26498         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
26499         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
26500         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
26501         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
26502         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
26503         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
26504         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
26505         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
26506         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
26507         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
26508         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
26509         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
26510         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
26511         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
26512         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
26513         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
26514         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
26515         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
26516         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
26517         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
26518         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
26519         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
26520         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
26521         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
26522         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
26523         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
26524         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
26525         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
26526         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
26527         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
26528         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
26529         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
26530         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
26531         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
26532         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
26533         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
26534         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
26535         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
26536         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
26537         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
26538         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
26539         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
26540         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
26541         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
26542         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
26543         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
26544         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
26545         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
26546         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
26547         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
26548         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
26549         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
26550         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
26551         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
26552         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
26553         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
26554         * sysdeps/unix/alpha/sysdep.S: Likewise.
26555         * sysdeps/unix/alpha/sysdep.h: Likewise.
26556         * sysdeps/unix/make-syscalls.sh: Likewise.
26557         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26558         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26559         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26560         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
26561         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26562         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26563         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
26564         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26565         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26566         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
26567         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26568         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26569         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26570         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26571         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26572         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
26573         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26574         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26575         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26576         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26577         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26578         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26579         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26580         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26581         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26582         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26583         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26584         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26586         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
26587         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26588         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26589         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
26590         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26591         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
26592         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26593         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
26594         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26595         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
26596         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
26597         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26598         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26599         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26600         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
26601         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26602         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26603         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26604         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
26605         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26606         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26607         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26608         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26609         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26610         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26611         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
26612         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26613         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26614         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26615         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
26616         * sysdeps/x86_64/memcpy.S: Likewise.
26617         * sysdeps/x86_64/memmove.c: Likewise.
26618         * sysdeps/x86_64/memset.S: Likewise.
26619         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
26620         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
26621         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
26622         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
26623         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
26624         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
26625         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
26626         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
26627         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
26628         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
26629         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
26630         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
26631         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
26632         * sysdeps/x86_64/multiarch/memset.S: Likewise.
26633         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
26634         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
26635         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
26636         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
26637         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
26638         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
26639         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
26640         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
26641         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
26642         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
26643         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
26644         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
26645         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
26646         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
26647         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
26648         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
26649         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
26650         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
26651         * sysdeps/x86_64/strcmp.S: Likewise.
26653         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
26655         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
26656         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
26657         * elf/rtld-Rules: Likewise.
26658         * elf/setup-vdso.h: Likewise.
26659         * include/assert.h: Likewise.
26660         * include/bits/stdlib-float.h: Likewise.
26661         * include/errno.h: Likewise.
26662         * include/sys/stat.h: Likewise.
26663         * include/unistd.h: Likewise.
26664         * sysdeps/aarch64/setjmp.S: Likewise.
26665         * sysdeps/alpha/setjmp.S: Likewise.
26666         * sysdeps/arm/__longjmp.S: Likewise.
26667         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
26668         * sysdeps/arm/setjmp.S: Likewise.
26669         * sysdeps/arm/sysdep.h: Likewise.
26670         * sysdeps/generic/_itoa.h: Likewise.
26671         * sysdeps/generic/dl-sysdep.h: Likewise.
26672         * sysdeps/generic/ldsodefs.h: Likewise.
26673         * sysdeps/i386/dl-tls.h: Likewise.
26674         * sysdeps/i386/setjmp.S: Likewise.
26675         * sysdeps/m68k/setjmp.c: Likewise.
26676         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
26677         * sysdeps/mach/hurd/opendir.c: Likewise.
26678         * sysdeps/posix/getcwd.c: Likewise.
26679         * sysdeps/posix/opendir.c: Likewise.
26680         * sysdeps/posix/profil.c: Likewise.
26681         * sysdeps/powerpc/dl-procinfo.h: Likewise.
26682         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
26683         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
26684         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
26685         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
26686         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
26687         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
26688         * sysdeps/s390/dl-tls.h: Likewise.
26689         * sysdeps/s390/s390-32/setjmp.S: Likewise.
26690         * sysdeps/s390/s390-64/setjmp.S: Likewise.
26691         * sysdeps/sh/sh3/setjmp.S: Likewise.
26692         * sysdeps/sh/sh4/setjmp.S: Likewise.
26693         * sysdeps/unix/alpha/sysdep.h: Likewise.
26694         * sysdeps/unix/arm/sysdep.S: Likewise.
26695         * sysdeps/unix/i386/sysdep.S: Likewise.
26696         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26697         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
26698         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
26699         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
26700         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26701         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
26702         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
26703         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26704         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
26705         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
26706         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
26707         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
26708         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
26709         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26711         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
26712         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26713         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26714         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
26715         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26716         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
26717         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
26718         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
26719         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
26720         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26721         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
26722         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26723         * sysdeps/unix/x86_64/sysdep.S: Likewise.
26724         * sysdeps/x86_64/setjmp.S: Likewise.
26726         * include/math.h: Use IS_IN instead of IS_IN_libm.
26727         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
26728         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
26729         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
26730         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
26731         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
26732         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
26733         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
26734         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
26735         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
26736         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
26737         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
26738         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
26739         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
26740         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
26741         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
26742         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
26743         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
26744         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
26745         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
26746         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
26747         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
26748         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
26749         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
26750         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
26751         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
26752         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
26753         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
26754         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
26755         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
26756         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
26757         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
26758         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
26759         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
26760         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
26761         Likewise.
26762         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
26763         Likewise.
26764         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
26765         Likewise.
26766         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
26767         Likewise.
26768         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
26769         Likewise.
26770         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
26771         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
26772         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
26773         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
26774         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
26775         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
26776         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
26777         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
26778         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
26779         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
26780         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
26781         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
26782         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
26783         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
26784         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
26785         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
26786         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
26787         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
26788         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
26789         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
26790         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
26791         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
26792         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
26793         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
26794         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
26795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
26796         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
26798         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
26799         * nptl/pthreadP.h: Likewise.
26800         * nptl_db/structs.def: Likewise.
26801         * sysdeps/arm/sysdep.h: Likewise.
26802         * sysdeps/nptl/bits/libc-lock.h: Likewise.
26803         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
26804         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
26805         * sysdeps/unix/alpha/sysdep.h: Likewise.
26806         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26807         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
26808         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26809         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26810         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26811         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26812         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
26813         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26814         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26815         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26816         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26817         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26818         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26819         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26820         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
26821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
26822         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26823         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26824         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26825         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26826         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26827         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26828         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
26829         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26830         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
26831         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26833         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
26834         * nptl/pthreadP.h: Likewise.
26835         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
26836         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
26837         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
26838         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
26839         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
26840         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
26841         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26842         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
26843         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
26844         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
26845         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
26846         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
26847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
26848         Likewise.
26849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
26850         Likewise.
26851         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
26852         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
26853         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
26854         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
26855         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
26856         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
26857         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
26858         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
26860         * dlfcn/dladdr.c: Use IS_IN.
26861         * dlfcn/dladdr1.c: Likewise.
26862         * dlfcn/dlclose.c: Likewise.
26863         * dlfcn/dlerror.c: Likewise.
26864         * dlfcn/dlinfo.c: Likewise.
26865         * dlfcn/dlmopen.c: Likewise.
26866         * dlfcn/dlopen.c: Likewise.
26867         * dlfcn/dlsym.c: Likewise.
26868         * dlfcn/dlvsym.c: Likewise.
26870         * include/ifaddrs.h: Use IS_IN.
26871         * inet/check_pf.c: Likewise.
26872         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
26873         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
26875         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
26876         IS_IN_ldconfig.
26877         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
26878         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
26880         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
26881         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
26882         IS_IN (libc).
26884         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
26886         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
26887         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
26888         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
26889         * include/libc-symbols.h (IS_IN_LIB): New macro.
26890         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
26891         * include/netdb.h: Likewise.
26892         * include/stap-probe.h: Remove all uses of IN_LIB.
26894         * Makeconfig (module-cppflags-real): Define MODULE_NAME
26895         instead of IN_MODULE.
26896         * include/libc-symbols.h (IN_MODULE): Define using
26897         MODULE_NAME.
26898         (PASTE_NAME, PASTE_NAME1): New macros.
26899         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
26900         of IN_LIB.
26901         (STAP_PROBE_ASM): Likewise.
26903 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26905         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
26906         __mach_init in dlopened libc.
26908 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
26910         * sysdeps/arm/preconfigure.ac: Delete EABI check.
26911         * sysdeps/arm/preconfigure: Regenerate.
26913 2014-11-21  Roland McGrath  <roland@hack.frob.com>
26915         * nptl/pthread_create.c (__pthread_create_2_1): Set
26916         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
26917         when copying values from IATTR into PD.
26919 2014-11-21  Will Newton  <will.newton@linaro.org>
26920             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
26922         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
26923         Refactor inline-asm.  Also add comment.
26925         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
26926         ElfW macro instead of hardcoded Elf64 types.
26927         (la_aarch64_gnu_pltenter): Likewise.
26928         * sysdeps/aarch64/dl-machine.h
26929         (elf_machine_runtime_setup): Use ElfW(Addr).
26931         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
26932         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
26933         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
26934         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
26935         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
26936         (R_AARCH64_TLS_DTPMOD64): Rename to ..
26937         (R_AARCH64_TLS_DTPMOD): This.
26938         (R_AARCH64_TLS_DTPREL64): Rename to ...
26939         (R_AARCH64_TLS_DTPREL): This.
26940         (R_AARCH64_TLS_TPREL64): Rename to ...
26941         (R_AARCH64_TLS_TPREL): This.
26942         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
26943         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
26944         R_AARCH64_TLS_TPREL64.
26945         (elf_machine_rela): Likewise.
26947 2014-11-21  Torvald Riegel  <triegel@redhat.com>
26949         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
26950         by setting it to 0.  64b atomics are not supported currently.
26952 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26954         [BZ #16469]
26955         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
26956         search domain names.
26958 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26960         [BZ #16469]
26961         * NEWS: Update.
26962         * resolv/res_query.c (__libc_res_nquerydomain): Retain
26963         trailing dot.
26964         * posix/tst-getaddrinfo5.c: New.
26965         * posix/Makefile (tests): Add it.
26967 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26969         [BZ #14498]
26970         * NEWS: Fixed.
26971         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
26972         after parsing line but before break_if_match.
26973         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
26974         if there is a protocol mismatch.
26976 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
26978         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
26979         because the potential race is on the user-supplied stream.
26981 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26983         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
26984         string literal if not passed a buffer.
26985         * manual/job.texi (ctermid): Update reasoning, note deviation
26986         from posix, suggest mtasurace when not passed a buffer, for
26987         future non-preliminary safety notes.
26989 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26991         * manual/users.texi (cuserid): Fix MT-Safety note for the case
26992         of not passing it a buffer.
26993         Reported by Peng Haitao.
26995 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
26997         * manual/Makefile ($(objpfx)stamp-summary): Require
26998         check-safety.sh to pass.
26999         * manual/check-safety.sh: Wish for verification that every
27000         @deftypefn and @deftypefun is followed by a @safety remark.
27002 2014-11-20  Roland McGrath  <roland@hack.frob.com>
27004         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
27006         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
27007         PTHREAD_CANCEL_ASYNCHRONOUS.
27008         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
27009         send SIGCANCEL.
27011         * nptl/default-sched.h: New file.
27012         * sysdeps/unix/sysv/linux/default-sched.h: New file.
27013         * nptl/pthread_create.c: Include it.
27014         (__pthread_create_2_1): Use collect_default_sched instead of making
27015         Linux syscalls here directly.
27017 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27019         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
27020         __pthread_once): Use C11 atomics.
27022 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27024         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
27026 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27028         * include/atomic.h (__atomic_link_error, __atomic_check_size,
27029         atomic_thread_fence_acquire, atomic_thread_fence_release,
27030         atomic_thread_fence_seq_cst, atomic_load_relaxed,
27031         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
27032         atomic_compare_exchange_weak_relaxed,
27033         atomic_compare_exchange_weak_acquire,
27034         atomic_compare_exchange_weak_release,
27035         atomic_exchange_acquire, atomic_exchange_release,
27036         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
27037         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
27038         atomic_fetch_and_acquire,
27039         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
27041 2014-11-20  Torvald Riegel  <triegel@redhat.com>
27043         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
27044         USE_ATOMIC_COMPILER_BUILTINS): Define.
27045         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
27046         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27047         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
27048         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27049         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
27050         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27051         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
27052         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27053         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
27054         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27055         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
27056         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27057         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
27058         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27059         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
27060         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27061         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27062         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27063         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27064         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27065         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
27066         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27067         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
27068         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27069         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
27070         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27071         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
27072         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27073         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
27074         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27075         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
27076         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27077         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
27078         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27079         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
27080         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27081         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
27082         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27083         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
27084         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
27086 2014-11-19  Roland McGrath  <roland@hack.frob.com>
27088         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
27089         the sched_priority value here.  It was already checked when the user
27090         called pthread_attr_setschedparam.
27092         * nptl/tst-bad-schedattr.c: New file.
27093         * nptl/Makefile (tests): Add it.
27095 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
27096             Florian Weimer  <fweimer@redhat.com>
27097             Joseph Myers  <joseph@codesourcery.com>
27098             Adam Conrad  <adconrad@0c3.net>
27099             Andreas Schwab  <schwab@suse.de>
27100             Brooks  <bmoses@google.com>
27102         [BZ #17625]
27103         * wordexp-test.c (__dso_handle): Add prototype.
27104         (__register_atfork): Likewise.
27105         (__app_register_atfork): New function.
27106         (registered_forks): New global.
27107         (register_fork): New function.
27108         (test_case): Add 3 new tests for WRDE_CMDSUB.
27109         (main): Call __app_register_atfork.
27110         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
27111         fork count is non-zero fail the test.
27112         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
27113         is set.
27114         (parse_dollars): Remove check for WRDE_NOCMD.
27115         (parse_dquote): Likewise.
27117 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27119         * Makeconfig (built-modules): List non-library modules to be
27120         built.
27121         (module-cppflags): Include libc-modules.h for
27122         everything except shlib-versions.v.i.
27123         (CPPFLAGS): Use it.
27124         (before-compile): Add libc-modules.h.
27125         ($(common-objpfx)libc-modules.h,
27126         $(common-objpfx)libc-modules.stmp): New targets.
27127         (common-generated): Add libc-modules.h and libc-modules.stmp.
27128         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
27129         * include/libc-symbols.h: Don't include libc-modules.h.
27130         * include/libc-modules.h: Remove file.
27131         * scripts/gen-libc-modules.awk: New script to generate
27132         libc-modules.h.
27133         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
27134         Depend on libc-modules.stmp.
27136         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
27138         * Makeconfig (in-module): Get value of libof set for the
27139         translation unit.
27140         (CPPFLAGS): Use $(in-module).
27141         * Makerules: Don't suffix routine names for nonlib.
27142         * include/libc-modules.h: New file.
27143         * include/libc-symbols.h: Include libc-modules.h
27144         (IS_IN): New macro to replace IS_IN_* macros.
27145         * elf/Makefile: Set libof-* for each routine.
27146         * elf/rtld-Rules: Likewise.
27147         * extra-modules.mk: Likewise.
27148         * iconv/Makefile: Likewise.
27149         * iconvdata/Makefile: Likewise.
27150         * locale/Makefile: Likewise.
27151         * malloc/Makefile: Likewise.
27152         * nss/Makefile: Likewise.
27153         * sysdeps/gnu/Makefile: Likewise.
27154         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
27155         * sysdeps/unix/sysv/linux/Makefile: Likewise.
27156         * sysdeps/s390/s390-64/Makefile: Likewise.
27157         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
27158         CPPFLAGS for nscd instead of nonlib.
27160 2014-11-18  Roland McGrath  <roland@hack.frob.com>
27162         * nptl/createthread.c: New file.
27164         * nptl/createthread.c: Moved ...
27165         * sysdeps/unix/sysv/linux/createthread.c: ... here.
27167         * nptl/createthread.c: Add proper top-line comment.
27168         (do_clone): Folded into ...
27169         (create_thread): ... here.  Take new arguments STOPPED_START and
27170         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
27171         increment __nptl_threads, do event-reporting logic, do
27172         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
27173         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
27174         resource cleanup if sched_setaffinity or sched_setscheduler fails,
27175         just send SIGCANCEL.
27176         * nptl/pthread_create.c: Forward-declare create_thread before
27177         including createthread.c.
27178         (start_thread): Use new macro START_THREAD_DEFN to replace defining
27179         declaration, and new macro START_THREAD_SELF to replace argument.
27180         Remove return statement.
27181         (report_thread_creation): New function.
27182         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
27183         synchronization logic, and __nptl_nthreads increment here, around
27184         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
27185         PD->parent_cancelhandling here, before create_thread.  When
27186         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
27187         __deallocate_stack, and ENOMEM translation here.
27189 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
27191         [BZ #17616]
27192         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
27193         (mptwo): Rename to __mptwo.
27194         (__inv): Use __mptwo instead of mptwo.
27195         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
27196         (mptwo): Rename to __mptwo.
27197         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
27198         of mpone and __mptwo instead of mptwo.
27199         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
27200         instead of mpone.
27201         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27202         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
27203         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
27204         of mpone and __mptwo instead of mptwo.
27205         (__mpranred): Use __mpone instead of mpone.
27206         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
27207         variable.
27208         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27209         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27210         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27211         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27212         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27213         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27214         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27215         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27216         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27217         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27218         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27219         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27220         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27221         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27222         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27223         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27224         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27225         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27226         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27228 2014-11-18  Tom de Vries  <tom@codesoucery.com>
27230         * manual/signal.texi (Primitives Interrupted by Signals): In section,
27231         replace BSD Handler xref with BSD Signal Handling.
27233 2014-11-17  Richard Henderson  <rth@redhat.com>
27235         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
27236         (_FP_PACK_RAW_2): Remove.
27237         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
27238         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
27239         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
27240         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
27241         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
27242         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
27243         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
27244         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
27245         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
27246         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
27247         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
27248         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
27249         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
27250         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
27251         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
27252         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
27254 2014-11-14  Roland McGrath  <roland@hack.frob.com>
27256         * signal/signal.h [__USE_MISC]
27257         (struct sigvec): Remove type.
27258         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
27259         (sigvec): Remove declaration.
27260         * sysdeps/posix/sigvec.c: Moved ...
27261         * signal/sigvec.c: ... here, replacing old file.
27262         (struct sigvec): New type, copied from old signal.h definition.
27263         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
27264         (__sigvec): Convert definition to prototype.
27265         (sigvec): Replace weak_alias with compat_symbol.
27266         * signal/Versions (libc: GLIBC_2.21): New version set.
27267         * include/signal.h: Remove __sigvec declaration.
27268         * sysdeps/unix/bsd/sigvec.c: Remove file.
27269         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
27270         * manual/signal.texi (BSD Handler): Remove subsection.
27271         Move siginterrupt up to ...
27272         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
27273         (Blocking in BSD): Fold subsection into its parent.
27274         * NEWS: Mention sigvec removal.
27276 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27278         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
27279         (DLA_FMS): Make definition conditional only on [__FMA4__].
27280         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
27281         definition.
27283         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
27284         Make definition conditional only on [PROF].
27285         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
27286         definition.
27287         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
27288         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
27290         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
27291         !__GNUC__].
27292         * include/signal.h (__sigpause): Move declaration above call to
27293         libc_hidden_proto.
27294         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
27295         variable.
27296         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27297         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27299 2014-11-14  David S. Miller  <davem@davemloft.net>
27301         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
27302         Define before including <string/memcpy.c> and <string/mempcpy.c>.
27304 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
27306         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
27307         * configure: Regenerated.
27308         * manual/install.texi (Tools for Compilation): Document a
27309         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
27310         compiler verified to work.
27311         * INSTALL: Regenerated.
27313         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
27314         redeclare with asm name.
27315         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
27316         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
27317         including <string.h>.
27318         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27319         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
27320         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27321         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
27322         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27323         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
27324         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
27326 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
27328         * stdlib/strtol.c (__strtol): Use prototype definition.
27330         [BZ #17594]
27331         * stdlib/strtol.c (SYM__): New macro.
27332         (SYM__1): Likewise.
27333         (__strtol): Likewise.
27334         (strtol): Rename to __strtol and define as weak alias of
27335         __strtol.  Use libc_hidden_weak.
27337 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27339         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
27340         Use numbered labels in inline assembly.
27342 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27344         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
27345         Add setjmp LIBC_PROBE.
27346         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
27347         Likewise.
27348         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
27349         Add longjmp, longjmp_target LIBC_PROBE.
27350         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
27351         Likewise.
27353 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27355         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
27356         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
27357         to get rid of unused variable warning.
27359 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
27361         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
27362         Check for unwind_backtrace ==  NULL only in SHARED case.
27363         (__backchain_backtrace): Compile only in SHARED case.
27364         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
27365         Likewise.
27366         (__backchain_backtrace): Declare as static.
27368 2014-11-12  Roland McGrath  <roland@hack.frob.com>
27370         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
27371         (__libc_multiple_threads_ptr): Variable moved ...
27372         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
27374 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
27376         * conform/GlibcConform.pm: New file.
27377         * conform/conformtest.pl: Use GlibcConform module.
27378         * conform/linknamespace.pl: New file.
27379         * conform/list-header-symbols.pl: Likewise.
27380         * conform/Makefile (linknamespace-symlists-base): New variable.
27381         (linknamespace-symlists-tests): Likewise.
27382         (linknamespace-header-base): Likewise.
27383         (linknamespace-header-tests): Likewise.
27384         (tests-special): Add new tests.
27385         ($(linknamespace-symlists-tests)): New rule.
27386         (linknamespace-libs): New variable.
27387         ($(objpfx)symlist-stdlibs): New rule.
27388         ($(linknamespace-header-tests)): Likewise.
27389         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
27390         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
27391         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
27392         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
27393         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
27394         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
27395         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
27396         (test-xfail-ISO/math.h/linknamespace): Likewise.
27397         (test-xfail-ISO/signal.h/linknamespace): Likewise.
27398         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
27399         (test-xfail-ISO/time.h/linknamespace): Likewise.
27400         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
27401         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
27402         (test-xfail-ISO99/math.h/linknamespace): Likewise.
27403         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
27404         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
27405         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
27406         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
27407         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
27408         (test-xfail-ISO11/math.h/linknamespace): Likewise.
27409         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
27410         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
27411         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
27412         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
27413         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
27414         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
27415         (test-xfail-XPG3/math.h/linknamespace): Likewise.
27416         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
27417         (test-xfail-XPG3/search.h/linknamespace): Likewise.
27418         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
27419         (test-xfail-XPG3/time.h/linknamespace): Likewise.
27420         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
27421         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
27422         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
27423         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
27424         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
27425         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
27426         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
27427         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
27428         (test-xfail-XPG4/math.h/linknamespace): Likewise.
27429         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
27430         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
27431         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
27432         (test-xfail-XPG4/search.h/linknamespace): Likewise.
27433         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
27434         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
27435         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
27436         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
27437         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
27438         (test-xfail-XPG4/time.h/linknamespace): Likewise.
27439         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
27440         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
27441         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
27442         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
27443         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
27444         (test-xfail-POSIX/math.h/linknamespace): Likewise.
27445         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
27446         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
27447         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
27448         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
27449         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
27450         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
27451         (test-xfail-POSIX/time.h/linknamespace): Likewise.
27452         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
27453         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
27454         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
27455         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
27456         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
27457         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
27458         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
27459         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
27460         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
27461         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
27462         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
27463         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
27464         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
27465         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
27466         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
27467         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
27468         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
27469         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
27470         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
27471         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
27472         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
27473         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
27474         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
27475         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
27476         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
27477         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
27478         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
27479         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
27480         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
27481         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
27482         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
27483         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
27484         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
27485         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
27486         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
27487         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
27488         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
27489         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
27490         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
27491         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
27492         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
27493         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27494         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
27495         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
27496         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
27497         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
27498         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
27499         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
27500         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
27501         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
27502         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
27503         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
27504         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
27505         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
27506         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
27507         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
27508         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
27509         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
27510         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
27511         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
27512         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
27513         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
27514         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
27515         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
27516         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
27517         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
27518         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
27519         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27520         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
27521         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
27522         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
27523         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
27524         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
27525         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
27526         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
27527         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
27528         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
27529         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
27530         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
27531         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
27532         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
27533         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
27534         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
27535         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
27536         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
27537         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
27538         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
27539         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
27540         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27541         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
27542         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
27543         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
27544         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
27545         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
27546         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
27547         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
27548         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
27549         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27551         [BZ #17589]
27552         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
27553         of fgets_unlocked.
27555         [BZ #17585]
27556         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
27557         (memmem): Rename to __memmem and define as weak alias of
27558         __memmem.  Use libc_hidden_weak.
27559         (__memmem): Use libc_hidden_def.
27560         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
27561         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
27562         memmem.
27564         [BZ #17582]
27565         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
27566         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
27567         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
27568         and define as weak alias of __fgets_unlocked.  Use
27569         libc_hidden_weak.
27570         (__fgets_unlocked): Use libc_hidden_def.
27571         * include/stdio.h (__fgets_unlocked): Declare.  Use
27572         libc_hidden_proto.
27573         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
27574         __fgets_unlocked instead of fgets_unlocked.
27575         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
27576         (GET_NPROCS_CONF_PARSER): Likewise.
27577         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
27578         (GET_NPROCS_CONF_PARSER): Likewise.
27580         [BZ #17574]
27581         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
27582         weak alias of __wmemset.  Use libc_hidden_weak.
27583         (__wmemset): Use libc_hidden_def.
27584         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
27585         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
27586         of wmemset.
27588         [BZ #17573]
27589         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
27590         with asm name __mempcpy.
27591         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
27593         [BZ #17572]
27594         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
27595         and define as weak alias of __rawmemchr.
27596         (__rawmemchr): Do not define as strong alias of rawmemchr.
27598         [BZ #17571]
27599         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
27600         alias of __qsort_r.
27601         (qsort): Call __qsort_r instead of qsort_r.
27602         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
27603         (__qsort_r): Declare.  Call libc_hidden_proto.
27604         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
27605         instead of qsort_r.
27606         * nscd/gai.c (__qsort_r): Define to qsort_r.
27607         * posix/tst-rfc3484.c (__qsort_r): Likewise.
27608         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
27609         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
27611         [BZ #17570]
27612         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
27613         define as weak alias of __malloc_info.
27615         [BZ #17584]
27616         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
27617         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27618         (__rewinddir): Use libc_hidden_def.
27619         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
27620         as weak alias of __rewinddir.  Don't use libc_hidden_def.
27621         (__rewinddir): Use libc_hidden_def.
27622         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
27623         weak alias of __rewinddir.  Don't use libc_hidden_def.
27624         (__rewinddir): Use libc_hidden_def.
27625         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
27626         (__rewinddir): Use libc_hidden_proto.
27627         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
27628         rewinddir.
27629         (__getcwd): Use __rewinddir instead of rewinddir.
27631         [BZ #17583]
27632         * libio/fileno.c (fileno): Rename to __fileno and define as weak
27633         alias of __fileno.  Use libc_hidden_weak.
27634         (__fileno): Use libc_hidden_def.
27635         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
27636         * libio/ftello.c (ftello): Rename to __ftello and define as weak
27637         alias of __ftello.
27638         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
27639         __ftello.
27640         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
27641         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
27642         libc_hidden_def.
27643         (fread_unlocked): Don't use libc_hidden_ver.
27644         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
27645         and define as weak alias of __fread_unlocked.  Don't use
27646         libc_hidden_def.
27647         (__fread_unlocked): Use libc_hidden_def.
27648         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
27649         (ftello): Don't use libc_hidden_proto.
27650         (__ftello): Declare.  Use libc_hidden_proto.
27651         (fread_unlocked): Don't use libc_hidden_proto.
27652         (__fread_unlocked): Declare.  Use libc_hidden_proto.
27653         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
27654         and __ftello instead of fileno, fread_unlocked and ftello.
27656 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
27658         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
27659         GOT12.
27660         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
27661         Likewise.
27662         (_dl_start_user): Likewise.
27663         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
27665 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
27666             Siddhesh Poyarekar  <siddhesh@redhat.com>
27668         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
27669         Move argv and envp down instead of moving argc up.
27670         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
27672 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
27674         [BZ #17506]
27675         * test-skeleton.c (main): Return successful if one of
27676         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
27677         * string/tst-strcoll-overflow.c: Define expected status.
27679 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
27681         [BZ #17475]
27682         * locale/iso-639.def: Define Bhili and Tulu language codes.
27684 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
27686         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
27688 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
27690         [BZ #17555]
27691         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
27693 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
27695         * configure.ac: Updated check of minimal required version to
27696         2.22.
27697         * manual/install.texi (Tools for Compilation): Updated version
27698         number.
27699         * configure: Regenerated.
27700         * INSTALL: Likewise.
27702 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
27704         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
27705         __tls_get_addr.
27707 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
27709         * include/sys/wait.h (__libc_waitpid): Remove declaration.
27710         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
27711         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27712         libc_hidden_weak.
27713         (waitpid): Define as alias of __waitpid.
27714         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
27715         __waitpid.
27716         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27717         libc_hidden_weak.
27718         (waitpid): Define as alias of __waitpid.
27719         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
27720         __libc_waitpid alias.
27721         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
27722         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
27723         Likewise.
27724         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
27725         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
27726         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
27727         alias.
27728         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
27729         __waitpid.
27730         (__waitpid): Don't define as alias.  Use libc_hidden_def not
27731         libc_hidden_weak.
27732         (waitpid): Define as alias of __waitpid.
27734 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
27736         * manual/llio.texi: Add comment that write safety has been
27737         fixed in Linux.
27739         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
27740         (localplt-build-dso): Add elf/ld.so.
27741         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
27742         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
27743         and free for ld.so.
27744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
27745         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
27746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
27747         Likewise.
27748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
27749         Likewise.
27750         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
27751         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
27752         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
27753         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
27754         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
27755         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
27756         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
27757         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
27758         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
27759         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
27760         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27762 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
27764         [BZ #14132]
27765         * include/libc-symbols.h (INTUSE): Remove macro.
27766         (INTDEF): Likewise.
27767         (INTVARDEF): Likewise.
27768         (_INTVARDEF): Likewise.
27769         (INTDEF2): Likewise.
27770         (INTVARDEF2): Likewise.
27771         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
27772         rtld_hidden_def instead of INTVARDEF.
27773         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
27774         (_dl_starting_up_internal): Remove declaration.
27775         (_dl_starting_up): Use rtld_hidden_proto.
27776         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
27777         declaration.
27778         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
27779         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
27780         _dl_starting_up.
27781         * elf/dl-writev.h (_dl_writev): Likewise.
27782         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
27783         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
27784         _dl_starting_up_internal.
27786 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27788         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
27789         test-skeleton.c.
27791 2014-11-05  Will Newton  <will.newton@linaro.org>
27793         * benchtests/Makefile: (bench-malloc): Add malloc thread
27794         scalability benchmark.
27795         * benchtests/bench-malloc-threads.c: New file.
27797 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
27799         * sysdeps/aarch64/strchrnul.S: New file.
27801 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27803         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
27804         definition.
27805         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
27806         Likwise.
27807         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
27808         Likewise.
27809         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
27810         Likewise.
27811         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
27812         Likewise.
27813         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
27814         Likewise.
27816 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
27818         * catgets/test-gencat.c: Use test-skeleton.c.
27819         * catgets/tst-catgets.c: Likewise.
27820         * csu/tst-empty.c: Likewise.
27821         * elf/tst-audit2.c: Likewise.
27822         * elf/tst-global1.c: Likewise.
27823         * elf/tst-pathopt.c: Likewise.
27824         * elf/tst-piemod1.c: Likewise.
27825         * elf/tst-tls10.c: Likewise.
27826         * elf/tst-tls11.c: Likewise.
27827         * elf/tst-tls12.c: Likewise.
27828         * gnulib/tst-gcc.c: Likewise.
27829         * iconvdata/tst-e2big.c: Likewise.
27830         * iconvdata/tst-loading.c: Likewise.
27831         * iconv/tst-iconv1.c: Likewise.
27832         * iconv/tst-iconv2.c: Likewise.
27833         * inet/test-inet6_opt.c: Likewise.
27834         * inet/tst-gethnm.c: Likewise.
27835         * inet/tst-network.c: Likewise.
27836         * inet/tst-ntoa.c: Likewise.
27837         * intl/tst-codeset.c: Likewise.
27838         * intl/tst-gettext2.c: Likewise.
27839         * intl/tst-gettext3.c: Likewise.
27840         * intl/tst-ngettext.c: Likewise.
27841         * intl/tst-translit.c: Likewise.
27842         * io/test-stat.c: Likewise.
27843         * libio/test-fmemopen.c: Likewise.
27844         * libio/tst-freopen.c: Likewise.
27845         * libio/tst-sscanf.c: Likewise.
27846         * libio/tst-ungetwc1.c: Likewise.
27847         * libio/tst-ungetwc2.c: Likewise.
27848         * libio/tst-widetext.c: Likewise.
27849         * localedata/tst-ctype.c: Likewise.
27850         * localedata/tst-digits.c: Likewise.
27851         * localedata/tst-leaks.c: Likewise.
27852         * localedata/tst-mbswcs1.c: Likewise.
27853         * localedata/tst-mbswcs2.c: Likewise.
27854         * localedata/tst-mbswcs3.c: Likewise.
27855         * localedata/tst-mbswcs4.c: Likewise.
27856         * localedata/tst-mbswcs5.c: Likewise.
27857         * localedata/tst-setlocale.c: Likewise.
27858         * localedata/tst-trans.c: Likewise.
27859         * localedata/tst-wctype.c: Likewise.
27860         * localedata/tst-xlocale1.c: Likewise.
27861         * login/tst-grantpt.c: Likewise.
27862         * malloc/tst-calloc.c: Likewise.
27863         * malloc/tst-malloc.c: Likewise.
27864         * malloc/tst-mallocstate.c: Likewise.
27865         * malloc/tst-mcheck.c: Likewise.
27866         * malloc/tst-mtrace.c: Likewise.
27867         * malloc/tst-obstack.c: Likewise.
27868         * math/atest-exp2.c: Likewise.
27869         * math/atest-exp.c: Likewise.
27870         * math/atest-sincos.c: Likewise.
27871         * math/test-matherr.c: Likewise.
27872         * math/test-misc.c: Likewise.
27873         * math/test-powl.c: Likewise.
27874         * math/tst-definitions.c: Likewise.
27875         * misc/tst-dirname.c: Likewise.
27876         * misc/tst-efgcvt.c: Likewise.
27877         * misc/tst-fdset.c: Likewise.
27878         * misc/tst-hsearch.c: Likewise.
27879         * misc/tst-mntent2.c: Likewise.
27880         * nptl/tst-sem7.c: Likewise.
27881         * nptl/tst-sem8.c: Likewise.
27882         * nptl/tst-sem9.c: Likewise.
27883         * nss/test-netdb.c: Likewise.
27884         * posix/tst-fnmatch.c: Likewise.
27885         * posix/tst-getlogin.c: Likewise.
27886         * posix/tst-gnuglob.c: Likewise.
27887         * posix/tst-mmap.c: Likewise.
27888         * pwd/tst-getpw.c: Likewise.
27889         * resolv/tst-inet_ntop.c: Likewise.
27890         * rt/tst-timer.c: Likewise.
27891         * stdio-common/test-fseek.c: Likewise.
27892         * stdio-common/test-popen.c: Likewise.
27893         * stdio-common/test-vfprintf.c: Likewise.
27894         * stdio-common/tst-cookie.c: Likewise.
27895         * stdio-common/tst-fileno.c: Likewise.
27896         * stdio-common/tst-gets.c: Likewise.
27897         * stdio-common/tst-obprintf.c: Likewise.
27898         * stdio-common/tst-perror.c: Likewise.
27899         * stdio-common/tst-sprintf2.c: Likewise.
27900         * stdio-common/tst-sprintf3.c: Likewise.
27901         * stdio-common/tst-sprintf.c: Likewise.
27902         * stdio-common/tst-swprintf.c: Likewise.
27903         * stdio-common/tst-tmpnam.c: Likewise.
27904         * stdio-common/tst-unbputc.c: Likewise.
27905         * stdio-common/tst-wc-printf.c: Likewise.
27906         * stdlib/tst-environ.c: Likewise.
27907         * stdlib/tst-fmtmsg.c: Likewise.
27908         * stdlib/tst-limits.c: Likewise.
27909         * stdlib/tst-rand48-2.c: Likewise.
27910         * stdlib/tst-rand48.c: Likewise.
27911         * stdlib/tst-random2.c: Likewise.
27912         * stdlib/tst-random.c: Likewise.
27913         * stdlib/tst-strtol.c: Likewise.
27914         * stdlib/tst-strtoll.c: Likewise.
27915         * stdlib/tst-tls-atexit.c: Likewise.
27916         * stdlib/tst-xpg-basename.c: Likewise.
27917         * string/test-ffs.c: Likewise.
27918         * string/tst-bswap.c: Likewise.
27919         * string/tst-inlcall.c: Likewise.
27920         * string/tst-strtok.c: Likewise.
27921         * string/tst-strxfrm.c: Likewise.
27922         * sysdeps/x86_64/tst-audit10.c: Likewise.
27923         * sysdeps/x86_64/tst-audit3.c: Likewise.
27924         * sysdeps/x86_64/tst-audit4.c: Likewise.
27925         * sysdeps/x86_64/tst-audit5.c: Likewise.
27926         * time/tst-ftime_l.c: Likewise.
27927         * time/tst-getdate.c: Likewise.
27928         * time/tst-mktime3.c: Likewise.
27929         * time/tst-mktime.c: Likewise.
27930         * time/tst-posixtz.c: Likewise.
27931         * time/tst-strptime2.c: Likewise.
27932         * time/tst-strptime3.c: Likewise.
27933         * wcsmbs/tst-btowc.c: Likewise.
27934         * wcsmbs/tst-mbrtowc.c: Likewise.
27935         * wcsmbs/tst-mbsrtowcs.c: Likewise.
27936         * wcsmbs/tst-wchar-h.c: Likewise.
27937         * wcsmbs/tst-wcpncpy.c: Likewise.
27938         * wcsmbs/tst-wcrtomb.c: Likewise.
27939         * wcsmbs/tst-wcsnlen.c: Likewise.
27940         * wcsmbs/tst-wcstof.c: Likewise.
27942 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
27944         [BZ #14132]
27945         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
27946         INTDEF.
27947         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
27948         declaration.
27949         (_dl_mcount): Use rtld_hidden_proto.
27950         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
27951         _dl_mcount.
27952         * elf/rtld.c (_rtld_global_ro): Likewise.
27954         [BZ #14132]
27955         * elf/dl-init.c (_dl_init): Don't use INTDEF.
27956         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
27957         of _dl_init_internal.
27958         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
27959         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
27960         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
27961         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
27962         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
27963         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
27964         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
27965         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
27966         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
27967         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
27968         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
27969         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
27970         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
27971         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
27972         * sysdeps/tile/dl-start.S (_start): Likewise.
27973         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
27974         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
27976         [BZ #14132]
27977         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
27978         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
27979         (rtld_progname): Make macro definition unconditional.
27980         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
27981         INTDEF.
27982         (dlmopen_doit): Do not use INTUSE with _dl_argv.
27983         (dl_main): Likewise.
27984         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
27985         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
27986         instead of _dl_argv_internal.
27987         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
27988         __GI__dl_argv instead of INTUSE(_dl_argv).
27989         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
27990         __GI__dl_argv instead of _dl_argv_internal.
27992         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
27993         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
27994         macro.
27995         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
27996         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
27997         New macro.
27998         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
27999         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
28000         macro.
28001         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
28002         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
28004 2014-11-04  Andreas Schwab  <schwab@suse.de>
28006         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
28008 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28010         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
28011         mtvsrd instruction in binary form.
28013 2014-11-03  Andreas Schwab  <schwab@suse.de>
28015         [BZ #17522]
28016         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
28017         for less than MB_LEN_MAX use a local buffer of that size.
28018         * libio/tst-fputws.c: New file.
28019         * libio/Makefile (tests): Add tst-fputws.
28021 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
28023         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
28024         the size of the fpu_fr.fpu_dregs[] array.
28026 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
28028         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
28029         (__nanosleep): Do not define as alias.
28030         (nanosleep): Define as alias of __nanosleep.
28031         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
28032         __libc_nanosleep name.
28034 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28036         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
28037         install.texi in comment.
28039 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28041         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
28042         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
28043         ... add here and use lwsync or sync ...
28044         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
28045         ... and add here using lwsync.
28047 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
28049         * elf/dl-machine-reject-phdr.h: New file.
28050         * elf/dl-load.c: #include that.
28051         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
28052         if that returned true.
28054 2014-10-31  Roland McGrath  <roland@hack.frob.com>
28056         [BZ #17496]
28057         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
28058         gen-as-const-headers chunk.  Add a big scare comment after the last
28059         safe place to touch before-compile.
28061 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
28063         * manual/install.texi (Tools for Compilation): Update autoconf
28064         version requirements.
28065         * INSTALL: Regenerated.
28067         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
28068         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
28069         (__libc_pselect): Likewise.
28071         [BZ #14138]
28072         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
28073         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
28074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
28075         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
28077 2014-10-31  Torvald Riegel  <triegel@redhat.com>
28079         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
28080         correct barrier instruction.
28081         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
28082         Likewise.
28083         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
28084         Likewise.
28086 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28088         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
28089         after defining inlines.  Instead, just use parens to defeat macro
28090         expansion of __isctype in its declaration.
28092 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28094         * include/sys/uio.h (__libc_readv): Remove declaration.
28095         (__libc_writev): Likewise.
28096         * misc/readv.c (__libc_readv): Rename to __readv.
28097         (__readv): Do not define as alias.
28098         (readv): Define as alias of __readv.
28099         * misc/writev.c (__libc_writev): Rename to __writev.
28100         (__writev): Do not define as alias.
28101         (writev): Define as alias of __writev.
28102         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
28103         (__readv): Do not define as alias.
28104         (readv): Define unconditionally as alias of __readv.
28105         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
28106         (__writev): Do not define as alias.
28107         (writev): Define unconditionally as alias of __writev.
28108         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
28109         name.
28110         (writev): Do not define __libc_writev name.
28112 2014-10-30  Roland McGrath  <roland@hack.frob.com>
28114         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
28115         (convert_charseq): New function, broken out of ...
28116         (use_from_charmap): ... here.  Call it.
28117         (use_to_charmap): Use convert_charseq and free instead of duplicating
28118         its code with a variable-length stack struct.
28120 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
28122         * include/fcntl.h (__libc_creat): Remove declaration.
28123         * io/creat.c (__libc_creat): Rename to creat.
28124         (creat): Do not define as alias.
28125         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
28126         of creat instead of __libc_creat.
28127         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
28128         to creat.
28129         (creat): Do not define as alias.
28130         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
28131         __libc_creat.
28132         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
28133         __libc_creat name.
28134         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
28135         Likewise.
28137 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
28139         * manual/llio.texi: Add comments discussing why write() may be
28140         considered MT-unsafe on Linux.
28142 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
28144         * dl-load.c (local_strdup): Remove.
28145         (expand_dynamic_string_token): Use __strdup.
28146         (decompose_rpath): Likewise.
28147         (_dl_map_object): Likewise.
28149 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
28151         [BZ #14132]
28152         * sysdeps/generic/unwind-dw2-fde.c
28153         (__register_frame_info_bases_internal): Do not declare.
28154         (__register_frame_info_table_bases_internal): Likewise.
28155         (__deregister_frame_info_bases_internal): Likewise.
28156         (__register_frame_info_bases): Declare and use hidden_proto before
28157         definition.  Use hidden_def instead of INTDEF.
28158         (__register_frame_info_table_bases): Likewise.
28159         (__deregister_frame_info_bases): Likewise.
28160         (__register_frame_info): Do not use INTUSE.
28161         (__register_frame): Likewise.
28162         (__register_frame_info_table): Likewise.
28163         (__register_frame_table): Likewise.
28164         (__deregister_frame_info): Likewise.
28165         (__deregister_frame): Likewise.
28167 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
28169         * sysdeps/unix/sysv/linux/arm/kernel-features.h
28170         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
28171         not undefine.
28172         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
28173         Likewise.
28174         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
28175         Likewise.
28177 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
28179         [BZ #14138]
28180         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
28181         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
28182         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
28183         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
28184         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
28185         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
28186         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
28187         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
28188         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
28189         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
28190         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
28191         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
28192         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
28193         syscall.
28194         (setfsuid): Likewise.
28195         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
28196         (setfsuid): Likewise.
28197         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
28198         (setfsuid): Likewise.
28199         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
28200         Likewise.
28201         (setfsuid): Likewise.
28202         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
28203         (setfsuid): Likewise.
28204         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
28205         Likewise.
28206         (setfsuid): Likewise.
28208 2014-10-27  Andreas Schwab  <schwab@suse.de>
28210         [BZ #17501]
28211         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
28212         check for Slow_SSE4_2 feature bit.
28213         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
28214         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
28215         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
28216         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
28218 2014-10-24  Roland McGrath  <roland@hack.frob.com>
28220         * configure.ac: Validate compiler version with a empirical test of
28221         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
28222         $CC -v output.
28223         * configure: Regenerated.
28225         * inet/htons.c (htons): Prototypify.
28226         * inet/htonl.c (htonl): Likewise.
28228 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28230         * string/strncat.c (strncat): Improve performance by using strlen.
28232 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28234         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
28236 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28238         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
28239         Call libc_fetestexcept_aarch64.
28241 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28243         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
28244         Call libc_feholdexcept_aarch64.
28246 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28248         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
28249         Call get_rounding_mode.
28251 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28253         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
28254         Simplify logic.
28256 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
28258         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
28259         Simplify logic.
28261 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
28263         [BZ #14138]
28264         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
28265         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
28266         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
28267         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
28268         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
28269         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
28270         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
28271         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
28272         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
28273         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
28274         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
28275         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
28276         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
28277         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
28278         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
28279         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
28280         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
28281         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
28282         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
28283         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
28284         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
28285         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
28286         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
28287         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
28288         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
28289         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
28290         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
28291         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
28292         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
28293         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
28294         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
28295         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
28296         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
28297         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
28298         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
28299         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
28300         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
28301         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
28302         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
28303         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
28304         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
28305         syscall.
28306         (geteuid): Likewise.
28307         (getgid): Likewise.
28308         (getuid): Likewise.
28309         (getresgid): Likewise.
28310         (getresuid): Likewise.
28311         (getgroups): Likewise.
28312         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
28313         (geteuid): Likewise.
28314         (getgid): Likewise.
28315         (getuid): Likewise.
28316         (getresgid): Likewise.
28317         (getresuid): Likewise.
28318         (getgroups): Likewise.
28319         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
28320         (geteuid): Likewise.
28321         (getgid): Likewise.
28322         (getuid): Likewise.
28323         (getresgid): Likewise.
28324         (getresuid): Likewise.
28325         (getgroups): Likewise.
28326         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
28327         Likewise.
28328         (geteuid): Likewise.
28329         (getgid): Likewise.
28330         (getuid): Likewise.
28331         (getresgid): Likewise.
28332         (getresuid): Likewise.
28333         (getgroups): Likewise.
28334         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
28335         (geteuid): Likewise.
28336         (getgid): Likewise.
28337         (getuid): Likewise.
28338         (getresgid): Likewise.
28339         (getresuid): Likewise.
28340         (getgroups): Likewise.
28341         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
28342         Likewise.
28343         (geteuid): Likewise.
28344         (getgid): Likewise.
28345         (getuid): Likewise.
28346         (getgroups): Likewise.
28348         [BZ #14138]
28349         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
28350         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
28351         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
28352         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
28353         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
28354         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
28355         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
28356         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
28357         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
28358         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
28359         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
28360         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
28361         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
28362         __chown.
28363         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
28364         (lchown): Likewise.
28365         (fchown): Likewise.
28366         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
28367         Likewise.
28368         (lchown): Likewise.
28369         (fchown): Likewise.
28370         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
28371         (lchown): Likewise.
28372         (fchown): Likewise.
28373         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
28374         Likewise.
28375         (lchown): Likewise.
28376         (fchown): Likewise.
28378 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28380         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
28381         Simplify logic.
28383 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28385         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28386         Cleanup logic.
28388 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28390         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
28391         Remove unused include.
28393 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
28395         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
28396         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
28397         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
28398         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
28400 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
28401             Helge Deller <deller@gmx.de>
28403         [BZ #17508]
28404         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
28405         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
28406         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
28408 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
28410         [BZ #14132]
28411         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
28412         Remove macro definition.
28413         (__ashrdi3_v_glibc20): Likewise.
28414         (__lshrdi3_v_glibc20): Likewise.
28415         (__cmpdi2_v_glibc20): Likewise.
28416         (__ucmpdi2_v_glibc20): Likewise.
28417         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
28418         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
28419         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
28420         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
28421         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
28422         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
28424 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28426         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
28427         old GNU extension [0] syntax.
28428         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
28429         alloca rather than an array member with variable length.
28430         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
28431         * nscd/nscd.c (invalidate_db): New function, broken out of ...
28432         (parse_opt): ... here.  Likewise use alloca there.
28433         Validate the -i argument before checking for rootness.
28434         (send_shutdown): New function, broken out of ...
28435         (parse_opt): ... here.
28437 2014-10-22  Roland McGrath  <roland@hack.frob.com>
28439         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
28440         macro to get at the _rt_local_ro field.
28441         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
28442         ([PIC] case) or _dl_hwcap ([!PIC] case).
28443         * sysdeps/arm/setjmp.S: Likewise.
28445         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
28446         * sysdeps/arm/configure.ac: New check to define it.
28447         * sysdeps/arm/configure: Regenerated.
28448         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
28449         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
28450         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
28451         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
28452         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
28453         Use move/movt pair instead of a load.
28454         (LDST_GLOBAL): Macro removed.
28455         (LDR_GLOBAL): New macro replaces it.
28456         (LDR_HIDDEN): New macro.
28457         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
28458         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
28460         * setjmp/tst-setjmp-static.c: New file.
28461         * setjmp/Makefile (tests): Add it.
28462         (tests-static): New variable.
28464 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
28466         [BZ #17485]
28467         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
28469 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
28471         [BZ #14132]
28472         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
28474 2014-10-21  Roland McGrath  <roland@hack.frob.com>
28476         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
28478 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28480         * io/fts.c (dirent_not_directory): New function.
28481         (fts_build): Call it.
28483 2014-10-20  Roland McGrath  <roland@hack.frob.com>
28485         * nptl/version.c (__nptl_main): Use normal __write rather than
28486         INTERNAL_SYSCALL.
28487         (banner): Update copyright years.
28489         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
28490         gettimeofday.
28491         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
28492         * nptl/pthread_cond_timedwait.c: Likewise.
28493         * nptl/pthread_mutex_timedlock.c: Likewise.
28494         * nptl/sem_timedwait.c: Likewise.
28496         * sysdeps/nptl/bits/libc-lock.h
28497         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
28498         (__libc_lock_init_recursive): Return void, not 0.
28499         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
28500         (__libc_rwlock_init): Likewise.
28501         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
28503 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28505         [BZ #15215]
28506         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
28507         (__pthread_once_slow): ... here.
28508         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
28509         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
28511 2014-10-20  Torvald Riegel  <triegel@redhat.com>
28513         [BZ #15215]
28514         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
28515         __PTHREAD_ONCE_FORK_GEN_INCR): New.
28516         * sysdeps/nptl/fork.c (__libc_fork): Use them.
28517         * nptl/pthread_once.c (__pthread_once): Likewise.
28518         Update comments.
28520 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
28522         [BZ #14138]
28523         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
28524         name.
28525         (writev): Use __libc_writev as strong name.
28526         * sysdeps/unix/sysv/linux/readv.c: Remove file.
28527         * sysdeps/unix/sysv/linux/writev.c: Likewise.
28529 2014-10-17  Roland McGrath  <roland@hack.frob.com>
28531         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
28533         * sysdeps/i386/nptl/tls.h
28534         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
28535         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
28536         New macros.
28537         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
28538         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
28539         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
28540         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
28541         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
28542         Call CHECK_THREAD_SYSINFO instead of doing an assert.
28544         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
28545         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
28546         on [__NR_futex].
28547         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
28548         broken out of ...
28549         (__pthread_mutex_init): ... here.  Call it.
28550         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
28551         Conditionalize PI cases on [__NR_futex].
28552         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
28553         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
28554         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
28556         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
28557         conditional on [SIGSETXID].
28558         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
28559         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
28560         is defined.  Likewise for SIGSETXID.
28561         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
28562         Conditionalize definitions on [SIGSETXID].
28563         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
28564         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
28565         unblocking on [SIGCANCEL].
28567         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
28568         [__NR_set_robust_list].
28570 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
28572         * string/strcoll_l.c (get_next_seq): Fix up formatting.
28573         (do_compare): Likewise.
28575 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
28577         [BZ #15884]
28578         * string/strcoll_l.c: Don't include stdio.h.
28579         (coll_seq): Remove members idxarr and rulearr.
28580         (get_next_seq_cached): Remove function.
28581         (get_next_seq): Likewise.
28582         (get_next_seq_nocache): Rename to get_next_seq.
28583         (do_compare): Remove function.
28584         (do_compare_nocache): Rename to do_compare.
28585         (STRCOLL): Remove weight and rules cache.
28587 2014-10-16  Roland McGrath  <roland@hack.frob.com>
28589         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
28590         * sysdeps/arm/sfp-machine.h: ... to here.
28591         * sysdeps/arm/Implies: Remove arm/soft-fp.
28593 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
28595         * conform/data/sys/utsname.h-data (*_t): Allow.
28596         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
28597         [POSIX] (WEXITED): Do not expect constant.
28598         [POSIX] (WSTOPPED): Likewise.
28599         [POSIX] (WNOHANG): Likewise.
28600         [POSIX] (WNOWAIT): Likewise.
28601         [POSIX] (siginfo_t): Do not expect type or elements.
28602         [POSIX] (pid_t): Do not expect type.
28603         [POSIX] (signal.h): Do not allow header.
28604         [POSIX] (sys/resource.h): Likewise.
28605         [POSIX] (si_*): Do not allow pattern.
28606         [POSIX] (W*): Likewise.
28607         [POSIX] (P_*): Likewise.
28608         [POSIX] (BUS_*): Likewise.
28609         [POSIX] (CLD_*): Likewise.
28610         [POSIX] (FPE_*): Likewise.
28611         [POSIX] (ILL_*): Likewise.
28612         [POSIX] (POLL_*): Likewise.
28613         [POSIX] (SEGV_*): Likewise.
28614         [POSIX] (SI_*): Likewise.
28615         [POSIX] (TRAP_*): Likewise.
28616         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
28617         variable.
28619 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
28621         [BZ #12926]
28622         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
28623         infinite loop when __recvmsg returns 0.
28625 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
28627         * CANCEL-FCT-WAIVE: Remove file.
28628         * CANCEL-FILE-WAIVE: Likewise.
28630         [BZ #14132]
28631         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
28632         instead of INTVARDEF.
28633         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28634         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
28635         rtld_hidden_data_def instead of INTVARDEF.
28636         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
28637         * elf/dl-deps.c (expand_dst): Likewise.
28638         * elf/dl-load.c (_dl_dst_count): Likewise.
28639         (_dl_dst_substitute): Likewise.
28640         (decompose_rpath): Likewise.
28641         (_dl_init_paths): Likewise.
28642         (open_path): Likewise.
28643         (_dl_map_object): Likewise.
28644         * elf/rtld.c (dl_main): Likewise.
28645         (process_dl_audit): Likewise.
28646         (process_envvars): Likewise.
28647         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
28648         Remove declaration.
28649         (__libc_enable_secure): Use rtld_hidden_proto.
28651 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28653         * elf/dl-load.c
28654         (add_path): New function broken out of _dl_rtld_di_serinfo.
28655         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
28657 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28659         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
28660         parentheses around macro arguments.
28661         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
28662         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
28663         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
28664         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
28665         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
28666         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28667         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28668         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
28669         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
28670         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
28671         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
28672         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
28673         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
28674         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
28675         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
28676         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
28677         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
28678         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
28679         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
28680         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
28681         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
28682         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
28683         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
28684         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
28685         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
28686         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
28687         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
28688         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
28689         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
28690         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
28691         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
28692         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
28693         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
28694         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
28695         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
28696         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
28697         Likewise.
28698         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
28699         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28700         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28701         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
28702         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
28703         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
28704         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
28705         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
28706         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
28707         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
28708         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
28709         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
28710         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
28711         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
28712         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
28713         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
28714         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
28715         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
28716         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
28717         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
28718         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
28719         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
28720         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
28721         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
28722         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
28723         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
28724         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
28725         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
28726         (_FP_FRAC_SRS_1): Likewise.
28727         (_FP_FRAC_CLZ_1): Likewise.
28728         (_FP_MUL_MEAT_1_imm): Likewise.
28729         (_FP_MUL_MEAT_1_wide): Likewise.
28730         (_FP_MUL_MEAT_1_hard): Likewise.
28731         (_FP_SQRT_MEAT_1): Likewise.
28732         (_FP_FRAC_ASSEMBLE_1): Likewise.
28733         (_FP_FRAC_DISASSEMBLE_1): Likewise.
28734         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
28735         (__FP_CLZ_2): Likewise.
28736         (_FP_MUL_MEAT_2_wide): Likewise.
28737         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
28738         (_FP_MUL_MEAT_2_gmp): Likewise.
28739         (_FP_MUL_MEAT_2_120_240_double): Likewise.
28740         (_FP_SQRT_MEAT_2): Likewise.
28741         (_FP_FRAC_ASSEMBLE_2): Likewise.
28742         (_FP_FRAC_DISASSEMBLE_2): Likewise.
28743         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
28744         (_FP_FRAC_CLZ_4): Likewise.
28745         (_FP_MUL_MEAT_4_wide): Likewise.
28746         (_FP_MUL_MEAT_4_gmp): Likewise.
28747         (_FP_SQRT_MEAT_4): Likewise.
28748         (_FP_FRAC_ASSEMBLE_4): Likewise.
28749         (_FP_FRAC_DISASSEMBLE_4): Likewise.
28750         * soft-fp/op-common.h (_FP_CMP): Likewise.
28751         (_FP_CMP_EQ): Likewise.
28752         (_FP_CMP_UNORD): Likewise.
28753         (_FP_TO_INT): Likewise.
28754         (_FP_FROM_INT): Likewise.
28755         [!__FP_CLZ] (__FP_CLZ): Likewise.
28756         (_FP_DIV_HELP_imm): Likewise.
28757         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
28758         Likewise.
28759         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
28760         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
28761         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
28762         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
28763         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
28764         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28765         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28766         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
28767         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
28768         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
28769         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
28770         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
28771         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
28772         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
28773         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
28774         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
28775         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
28776         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
28777         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
28778         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
28779         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
28780         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
28781         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
28782         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
28783         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
28784         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
28785         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
28786         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
28787         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
28788         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
28789         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
28790         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
28791         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
28792         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
28793         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
28794         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
28795         (FP_UNPACK_RAW_SP): Likewise.
28796         (FP_PACK_RAW_S): Likewise.
28797         (FP_PACK_RAW_SP): Likewise.
28798         (FP_UNPACK_S): Likewise.
28799         (FP_UNPACK_SP): Likewise.
28800         (FP_UNPACK_SEMIRAW_S): Likewise.
28801         (FP_UNPACK_SEMIRAW_SP): Likewise.
28802         (FP_PACK_S): Likewise.
28803         (FP_PACK_SP): Likewise.
28804         (FP_PACK_SEMIRAW_S): Likewise.
28805         (FP_PACK_SEMIRAW_SP): Likewise.
28806         (_FP_SQRT_MEAT_S): Likewise.
28807         (FP_CMP_S): Likewise.
28808         (FP_CMP_EQ_S): Likewise.
28809         (FP_CMP_UNORD_S): Likewise.
28810         (FP_TO_INT_S): Likewise.
28811         (FP_FROM_INT_S): Likewise.
28813         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
28815         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
28816         (FP_EX_INVALID_IMZ): Likewise.
28817         (FP_EX_INVALID_IMZ_FMA): Likewise.
28818         (FP_EX_INVALID_ISI): Likewise.
28819         (FP_EX_INVALID_ZDZ): Likewise.
28820         (FP_EX_INVALID_IDI): Likewise.
28821         (FP_EX_INVALID_SQRT): Likewise.
28822         (FP_EX_INVALID_CVI): Likewise.
28823         (FP_EX_INVALID_VC): Likewise.
28824         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
28825         "invalid" exceptions.
28826         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
28827         (_FP_ADD_INTERNAL): Likewise.
28828         (_FP_MUL): Likewise.
28829         (_FP_FMA): Likewise.
28830         (_FP_DIV): Likewise.
28831         (_FP_CMP_CHECK_NAN): Likewise.
28832         (_FP_SQRT): Likewise.
28833         (_FP_TO_INT): Likewise.
28834         (FP_EXTEND): Likewise.
28836 2014-10-09  Allan McRae  <allan@archlinux.org>
28838         * po/fr.po: Update French translation from translation project.
28840 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
28842         [BZ #14132]
28843         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
28844         of INTDEF.
28845         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
28846         (__cxa_atexit): Use libc_hidden_proto.
28847         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
28849         [BZ #14132]
28850         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
28851         declaration.
28852         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
28853         [!_ISOMAC] (__iswspace_l_internal): Likewise.
28854         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
28855         [!_ISOMAC] (__iswctype_internal): Likewise.
28856         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
28857         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
28858         alias.
28859         (fcntl): Remove __fcntl_internal alias.
28860         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
28861         __connect_internal alias.
28862         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
28863         Likewise.
28865         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
28866         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
28867         FP_DENORM_ZERO.
28868         (_FP_CHECK_FLUSH_ZERO): New macro.
28869         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
28870         (_FP_CMP): Likewise.
28871         (_FP_CMP_EQ): Likewise.
28872         (_FP_TO_INT): Do not set inexact for subnormal arguments if
28873         FP_DENORM_ZERO.
28874         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
28875         (FP_TRUNC): Likewise.
28877         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
28878         treated as invalid conversion, not as normal exponent.
28880         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
28881         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
28882         (_FP_CMP_EQ): Likewise.
28883         (_FP_CMP_UNORD): Likewise.
28884         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
28885         (FP_CMP_EQ_D): Likewise.
28886         (FP_CMP_UNORD_D): Likewise.
28887         * soft-fp/extended.h (FP_CMP_E): Likewise.
28888         (FP_CMP_EQ_E): Likewise.
28889         (FP_CMP_UNORD_E): Likewise.
28890         * soft-fp/quad.h (FP_CMP_Q): Likewise.
28891         (FP_CMP_EQ_Q): Likewise.
28892         (FP_CMP_UNORD_Q): Likewise.
28893         * soft-fp/single.h (FP_CMP_S): Likewise.
28894         (FP_CMP_EQ_S): Likewise.
28895         (FP_CMP_UNORD_S): Likewise.
28896         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
28897         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
28898         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
28899         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
28900         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
28901         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
28902         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
28903         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
28904         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
28905         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
28906         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
28907         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
28908         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
28909         to FP_CMP_Q.
28910         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
28911         FP_CMP_Q.
28912         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
28913         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
28914         FP_CMP_EQ_Q.
28915         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
28916         FP_CMP_Q.
28917         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
28918         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
28919         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
28920         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
28921         FP_CMP_EQ_Q.
28922         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
28923         FP_CMP_Q.
28924         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
28925         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
28926         FP_CMP_EQ_Q.
28927         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
28928         FP_CMP_Q.
28929         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
28930         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
28931         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
28932         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
28933         FP_CMP_EQ_Q.
28935         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
28936         a subnormal result, set the underflow exception if trapping on
28937         underflow is enabled.
28938         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
28939         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
28940         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
28941         redefine to 0.
28942         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
28943         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28944         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
28945         * soft-fp/extendxftf2.c (__extendxftf2): Use
28946         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
28948         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
28949         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
28950         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28951         FP_HANDLE_EXCEPTIONS.
28952         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
28953         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28954         FP_HANDLE_EXCEPTIONS.
28955         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
28956         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28957         FP_HANDLE_EXCEPTIONS.
28958         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
28959         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
28960         FP_HANDLE_EXCEPTIONS.
28962 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
28964         [BZ #14132]
28965         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
28966         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
28967         use INTUSE.
28968         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
28969         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
28970         Remove alias.
28971         (__adjtimex): Define using libc_hidden_ver.
28972         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
28973         Remove declaration.
28974         (ntp_gettime): Call __adjtimex directly.
28975         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
28976         Remove declaration.
28977         (ntp_gettimex): Call __adjtimex directly.
28978         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
28979         __adjtimex_internal alias.
28981 2014-10-08  Roland McGrath  <roland@hack.frob.com>
28983         [BZ #17460]
28984         * nscd/nscd.c (more_help): Rewrite list of tables collection
28985         using xstrdup and asprintf.
28987         * nscd/nscd_conf.c: Remove local xstrdup declaration.
28989 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
28990             Roland McGrath  <roland@hack.frob.com>
28992         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
28993         (do_lookup_unique): ... local function 'enter' here; update callers.
28995 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
28997         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
28998         compat_symbol calls on [SHARED].
28999         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
29000         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
29001         Remove.
29002         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29003         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
29004         (oldsetrlimit): Remove.
29005         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29006         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29007         (lchown): New syscall entry.
29008         (oldsetrlimit): Remove.
29009         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29010         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
29011         (oldsetrlimit): Remove.
29012         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
29014         [BZ #14138]
29015         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
29016         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
29017         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
29018         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
29019         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
29020         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
29021         (fchown): Likewise.
29022         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
29023         (fchown): Likewise.
29024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
29025         Likewise.
29027 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29029         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
29030         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
29031         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
29032         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
29033         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
29034         Likewise.
29035         (__old_sem_post): Likewise.
29037 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
29039         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
29040         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
29041         HAVE_CLOCK_GETTIME_VSYSCALL macros.
29042         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
29043         Use INLINE_VSYSCALL macro.
29044         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
29045         __vdso_clock_gettime.
29046         * sysdeps/unix/sysv/linux/tile/init-first.c
29047         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
29048         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
29049         __vdso_clock_gettime.
29051         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
29052         to set up frame more cleanly.
29054         * sysdeps/tile/memcmp.c: New file.
29056         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
29058         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
29059         * sysdeps/tile/tilegx/strcasestr.c: New file.
29060         * sysdeps/tile/tilegx/strnlen.c: New file.
29061         * sysdeps/tile/tilegx/strstr.c: New file.
29063         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
29065 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
29067         * nptl/tst-setuid3.c: Write errors to stdout.
29069 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29071         * elf/dl-deps.c
29072         (preload): New functions broken out of _dl_map_object_deps.
29073         (_dl_map_object_deps):  Remove a nested function. Update call sites.
29075 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
29077         [BZ #14138]
29078         * sysdeps/unix/sysv/linux/execve.c: Remove file.
29079         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
29081 2014-10-01  Steve Ellcey  <sellcey@mips.com>
29083         * sysdeps/mips/strcmp.S: New.
29085 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
29087         [BZ #14138]
29088         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
29089         (linkat): Likewise.
29090         (mkdirat): Likewise.
29091         (readlinkat): Likewise.
29092         (renameat): Likewise.
29093         (symlinkat): Likewise.
29094         (unlinkat): Likewise.
29095         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
29096         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
29097         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
29098         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
29099         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
29100         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
29101         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
29103 2014-09-30  Will Newton  <will.newton@linaro.org>
29105         * math/math.h: Define long double math functions if
29106         _LIBC_TEST is defined.
29107         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
29109         * localedata/Makefile: Move assignment to tests-special
29110         into an ifdef testing run-built-tests.
29111         * timezone/Makefile: Likewise.
29113 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
29115         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
29116         with $(BASH) not $(SHELL).
29118 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
29119             Matthew LeGendre  <legendre1@llnl.gov>
29121         [BZ #17411]
29122         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
29123         l_reloc_result.
29125 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29127         * stdio-common/printf_fp.c
29128         (hack_digit): New function, broken out of ...
29129         (__printf_fp): ... local function here.  Update call sites.
29130         hack_digit now takes an additional parameter that is a pointer
29131         to a struct of the referenced locals.  Those locals moved inside
29132         the struct and references updated.
29134 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
29136         * aclocal.m4: Require autoconf 2.69.
29137         * configure: Regenerated.
29138         * sysdeps/aarch64/configure: Likewise.
29139         * sysdeps/alpha/configure: Likewise.
29140         * sysdeps/arm/armv7/configure: Likewise.
29141         * sysdeps/arm/configure: Likewise.
29142         * sysdeps/ia64/configure: Likewise.
29143         * sysdeps/mach/configure: Likewise.
29144         * sysdeps/mips/configure: Likewise.
29145         * sysdeps/s390/configure: Likewise.
29146         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
29147         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
29149         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
29150         file.
29151         * sysdeps/ia64/configure.ac: Likewise.
29153 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
29155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
29156         specify symbol version for ld.so.  Do not include entry for
29157         libpthread.
29158         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29159         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29160         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29162         [BZ #14171]
29163         * Makeconfig [$(build-shared) = yes]
29164         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
29165         makefiles.
29166         [$(build-shared) = yes && $(soversions.mk-done) = t]
29167         ($(common-objpfx)gnu/lib-names.h): Remove rule.
29168         [$(build-shared) = yes && $(soversions.mk-done) = t]
29169         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
29170         to Makerules.
29171         [$(build-shared) = yes && $(soversions.mk-done) = t]
29172         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
29173         here.
29174         [$(build-shared) = yes && $(soversions.mk-done) = t]
29175         (common-generated): Don't append gnu/lib-names.h and
29176         gnu/lib-names.stmp here.
29177         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
29178         (lib-names-h-abi): New variable.
29179         [$(build-shared) = yes && $(soversions.mk-done) = t]
29180         (lib-names-stmp-abi): Likewise.
29181         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29182         abi-variants] (before-compile): Append
29183         $(common-objpfx)$(lib-names-h-abi).
29184         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29185         abi-variants] (common-generated): Append gnu/lib-names.h.
29186         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29187         abi-variants] (install-others-nosubdir): Depend on
29188         $(inst_includedir)/$(lib-names-h-abi).
29189         [$(build-shared) = yes && $(soversions.mk-done) = t &&
29190         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
29191         [$(build-shared) = yes && $(soversions.mk-done) = t]
29192         ($(common-objpfx)$(lib-names-h-abi)): New rule.
29193         [$(build-shared) = yes && $(soversions.mk-done) = t]
29194         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
29195         [$(build-shared) = yes && $(soversions.mk-done) = t]
29196         (common-generated): Append $(lib-names-h-abi) and
29197         $(lib-names-stmp-abi).
29198         * scripts/lib-names.awk: Do not handle multi being set.
29199         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
29200         Remove variable.
29201         (abi-lp64_be-ld-soname): Likewise.
29202         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
29203         Likewise.
29204         (abi-hard-ld-soname): Likewise.
29205         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
29206         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
29207         Remove variable.
29208         (abi-o32_hard-ld-soname): Likewise.
29209         (abi-o32_soft_2008-ld-soname): Likewise.
29210         (abi-o32_hard_2008-ld-soname): Likewise.
29211         (abi-n32_soft-ld-soname): Likewise.
29212         (abi-n32_hard-ld-soname): Likewise.
29213         (abi-n32_soft_2008-ld-soname): Likewise.
29214         (abi-n32_hard_2008-ld-soname): Likewise.
29215         (abi-n64_soft-ld-soname): Likewise.
29216         (abi-n64_hard-ld-soname): Likewise.
29217         (abi-n64_soft_2008-ld-soname): Likewise.
29218         (abi-n64_hard_2008-ld-soname): Likewise.
29219         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
29220         Likewise.
29221         (abi-64-v2-ld-soname): Likewise.
29222         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
29223         ld.so entries.
29224         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
29225         variable.
29226         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
29227         entry.
29228         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
29229         variable.
29230         (abi-64-ld-soname): Likewise.
29231         (abi-x32-ld-soname): Likewise.
29232         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
29233         entry.
29234         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29236 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
29238         [BZ #14138]
29239         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
29240         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
29241         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
29242         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
29243         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
29244         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
29245         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
29246         syscall entry for GLIBC_2.2 symbol version.
29247         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
29248         Likewise.
29249         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
29250         (setrlimit): Likewise.
29251         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
29252         Likewise.
29254 2014-09-23  Will Newton  <will.newton@linaro.org>
29256         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
29257         _LINUX_ARM_SYSDEP_H include guard too.
29258         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
29259         define.
29261 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
29263         * sysdeps/unix/sysv/linux/eventfd.c:
29264         Make first argument unsigned.
29265         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
29266         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
29268 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
29270         [BZ #16852]
29271         * socket/recvmmsg.c (recvmmsg): Drop const argument.
29272         * socket/sys/socket.h: Likewise.
29273         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
29275 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29277         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
29279 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
29281         * time/tst-ftime.c: New test.
29282         * time/Makefile (tests): Add tst-ftime.
29284 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
29286         * soft-fp/extended.h: Fix comment formatting.
29287         * soft-fp/op-1.h: Likewise.
29288         * soft-fp/op-2.h: Likewise.
29289         * soft-fp/op-4.h: Likewise.
29290         * soft-fp/op-8.h: Likewise.
29291         * soft-fp/op-common.h: Likewise.
29292         * soft-fp/soft-fp.h: Likewise.
29294         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
29296 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
29298         [BZ #6652]
29299         * Makeconfig (soversions-default-setname): Remove variable.
29300         ($(common-objpfx)soversions.i): Don't pass default_setname to
29301         soversions.awk.
29302         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
29303         oldest_abi to abi-versions.awk.
29304         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
29305         * config.make.in (oldest-abi): Remove variable.
29306         * configure.ac (--enable-oldest-abi): Remove configure option.
29307         * configure: Regenerated.
29308         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
29309         text.
29310         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
29311         * scripts/soversions.awk: Do not handle default_setname variable.
29312         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
29313         variable.
29314         * sysdeps/mach/hurd/configure: Regenerated.
29315         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
29316         variable.
29317         * sysdeps/unix/sysv/linux/configure: Regenerated.
29319 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29321         * elf/Makefile (CFLAGS-interp.c): Remove.
29322         ($(elf-objpfx)runtime-linker.h): Generate header with linker
29323         path string.
29324         * elf/interp.c: Include generated runtime-linker.h
29326         * Makerules (lib%.so): Don't include $(+interp) in
29327         prerequisites.
29328         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
29329         * dlfcn/eval.c: Remove file.
29331         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
29332         macros.
29334         [BZ #17266]
29335         * misc/sys/cdefs.h: Define __extern_always_inline for clang
29336         4.2 and newer.
29338         [BZ #17370]
29339         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
29341 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
29342             Jakub Jelinek  <jakub@redhat.com>
29344         [BZ #17266]
29345         * libio/stdio.h: Check definition of __fortify_function
29346         instead of __extern_always_inline to include bits/stdio2.h.
29347         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
29348         check if __extern_always_inline is defined.
29349         [__USE_MISC || __USE_XOPEN]: Likewise.
29350         [__USE_ISOC99] Likewise.
29351         * misc/sys/cdefs.h (__fortify_function): Define only if
29352         __extern_always_inline is defined.
29353         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
29354         __extern_always_inline and __extern_inline only for g++-4.3
29355         and newer or a compatible gcc.
29357 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
29359         [BZ #17371]
29360         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
29361         last change to handle zero prefix length.
29363 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29365         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
29366         _SC_REGEX_VERSION.
29368         * posix/getconf.c (vars): Add _POSIX_IPV6 and
29369         _POSIX_RAW_SOCKETS.
29371 2014-09-13  Allan McRae  <allan@archlinux.org>
29373         * po/ru.po: Update Russian translation from translation project.
29375 2014-09-12  Roland McGrath  <roland@hack.frob.com>
29377         * locale/programs/locale.c (show_locale_vars): Inline local function
29378         into its sole call site.  Clean up some style nits.
29379         (print_item): New function, broken out of ...
29380         (show_info): ... local function here.  Clean up style nits.
29382         * locale/programs/ld-ctype.c (set_one_default): New function, broken
29383         out of ...
29384         (set_class_defaults): ... local function set_default here.
29385         Define set_default as a macro locally to pass constant parameters.
29386         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
29387         rather than a shared local.
29389         * stdlib/rpmatch.c (try): New function, broken out of ...
29390         (rpmatch): ... local function here.  Also, prototypify definition.
29392 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
29394         * scripts/soversions.awk: Do not handle configuration names.
29395         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
29396         vendor and os variables to soversions.awk.
29397         * configure.ac: Do not modify gnu-* host_os.
29398         * configure: Regenerated
29399         * shlib-versions: Remove first column with configuration names.
29400         * nptl/shlib-versions: Likewise.
29401         * nptl_db/shlib-versions: Likewise.
29402         * sysdeps/hppa/shlib-versions: Likewise.
29403         * sysdeps/m68k/shlib-versions: Likewise.
29404         * sysdeps/mach/hurd/shlib-versions: Likewise.
29405         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
29406         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
29407         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
29408         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
29409         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
29410         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
29411         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
29412         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
29413         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29414         Likewise.
29415         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29416         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29417         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29418         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29419         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29420         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
29421         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
29422         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
29424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
29425         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
29426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
29427         Regenerated.
29428         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
29429         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
29430         Condition symbol version definitions on [HAVE_ELFV2_ABI].
29432         * shlib-versions: Remove OS-specific entries.  Moved to files in
29433         sysdeps.
29434         * sysdeps/mach/hurd/shlib-versions: New file.
29435         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
29437         * nptl/shlib-versions: Remove architecture-specific entries.
29438         Moved to files in sysdeps.
29439         * shlib-versions: Likewise.
29440         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
29441         file.
29442         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
29443         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
29444         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
29445         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
29447         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
29448         (UDP_NO_CHECK6_RX): Likewise.
29450 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29452         * sysdeps/posix/sysconf.c (__sysconf): Spell
29453         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
29455 2014-08-12  Florian Weimer  <fweimer@redhat.com>
29457         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
29458         loading.
29459         * iconv/Versions (__gconv_transliterate): Export for use from
29460         gconv modules.
29461         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
29462         (struct __gconv_trans_data, __gconv_trans_fct,
29463         __gconv_trans_context_fct, __gconv_trans_query_fct,
29464         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
29465         definitions.
29466         (struct __gconv_step_data): Remove __trans member.
29467         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
29468         longer hidden.  Remove unused trans_data argument.
29469         * iconv/gconv_int.h (struct trans_struct): Remove definition.
29470         (__gconv_translit_find): Remove declaration.
29471         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
29472         prototype.
29473         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
29474         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
29475         trans_data argument.  Add hidden definition.
29476         (__gconv_translit_find): Remove.
29477         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
29478         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
29479         * iconv/skeleton.c: Remove transliteration initialization.
29480         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
29481         __gconv_step_data initialization.
29482         * libio/iofwide.c (__libio_translit_): Remove.
29483         (_IO_fwide): Adjust struct __gconv_step_data initialization.
29484         * wcsmbs/btowc.c (__btowc): Likewise.
29485         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
29486         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
29487         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
29488         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
29489         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
29490         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
29491         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
29492         * wcsmbs/wctob.c (wctob): Likewise.
29494 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
29496         [BZ #16194]
29497         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
29498         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
29499         register usage.
29500         * sysdeps/x86/Makefile: Adjust.
29502 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
29503             Roland McGrath  <roland@hack.frob.com>
29505         * locale/weight.h: Add include guard.
29506         (findidx): Make static rather than auto; take new parameters
29507         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
29508         * locale/weightwc.h: Likewise.
29509         * posix/fnmatch_loop.c
29510         (FCT): Change type of EXTRA from int32_t to wint_t.
29511         Don't include either header inside the function.
29512         Call FINDIDX rather than findidx, and pass new arguments.
29513         #undef FINDIDX at the end of the file.
29514         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
29515         FINDIDX before including fnmatch_loop.c for the non-wide version.
29516         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
29517         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
29518         for the wide version.
29519         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
29520         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
29521         Pass new arguments to findidx.
29522         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
29523         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
29524         Don't #include it inside the function.  Pass new arguments to findidx.
29525         * posix/regex_internal.h
29526         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
29527         (re_string_elem_size_at): Don't #include it inside the function.
29528         Pass new arguments to findidx.
29529         * string/strcoll_l.c: #include WEIGHT_H at top level.
29530         (get_next_seq): Don't #include it inside the function.
29531         Pass new arguments to findidx.
29532         (get_next_seq_nocache): Likewise.
29533         * string/strxfrm_l.c: #include WEIGHT_H at top level.
29534         (STRXFRM): Don't #include it inside the function.
29535         Pass new arguments to findidx.
29537 2014-09-11  Florian Weimer  <fweimer@redhat.com>
29539         [BZ #17344]
29540         * malloc/malloc.c (unlink): Turn asserts into a call to
29541         malloc_printerr.
29543 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
29545         [BZ #17370]
29546         * libio/wfileops (do_ftell_wide): Free OUT.
29548 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
29550         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
29552 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
29554         [BZ #17363]
29555         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
29556         group if the current group is empty.
29558 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29560         * benchtests/bench-memset.c (test_main): Add more test from size
29561         from 32 to 512 bytes.
29562         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29563         Add POWER8 memset object.
29564         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
29565         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
29566         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
29567         implementation.
29568         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
29569         Likewise.
29570         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
29571         multiarch POWER8 memset optimization.
29572         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
29573         POWER8 memset optimization.
29575         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29576         Remove bzero multiarch objects.
29577         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
29578         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
29579         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
29580         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
29581         Remove define.
29582         [__bzero]: Redefine to specific name.
29583         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
29584         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
29585         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
29586         define.
29587         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
29588         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
29590 2014-09-10  Florian Weimer  <fweimer@redhat.com>
29592         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
29593         warnings into errors.
29595         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
29596         __cxa_thread_atexit_impl prototype.
29598 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29600         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
29601         Fix capitalization of error message.
29603 2014-09-09  Steve Ellcey  <sellcey@mips.com>
29605         * sysdeps/mips/preconfigure: Modify ABI tests.
29607 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
29609         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
29611 2014-09-07  Roland McGrath  <roland@hack.frob.com>
29612             Carlos O'Donell  <carlos@systemhalted.org>
29614         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
29615         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
29616         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
29617         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
29618         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
29619         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
29620         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
29621         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
29622         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
29623         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
29624         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
29625         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
29626         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
29627         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
29628         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
29629         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
29630         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
29631         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
29632         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
29633         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
29634         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
29635         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
29636         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
29637         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
29638         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
29639         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
29640         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
29641         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
29642         Deconditionalize the code that was previously under [RESET_PID].
29643         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
29644         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
29645         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
29646         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
29647         include sysdep.h.
29649 2014-09-08  Allan McRae  <allan@archlinux.org>
29651         * version.h (RELEASE): Set to "development".
29652         (VERSION): Set to "2.20.90"
29654 2014-09-07  Allan McRae  <allan@archlinux.org
29656         * version.h (RELEASE): Set to "stable".
29657         (VERSION): Set to "2.20"
29658         * include/features.h (__GLIBC_MINOR__): Set to 20.
29660         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
29661         Liebler.
29663         * po/ko.po: Update Korean translation from translation project.
29665 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
29667         [BZ #17354]
29668         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
29669         macro for handling signed relocations.
29671 2014-09-03  Florian Weimer  <fweimer@redhat.com>
29673         [BZ #17325]
29674         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
29675         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
29676         assert.
29677         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
29678         * iconvdata/ibm935.c (BODY): Likewise.
29679         * iconvdata/ibm937.c (BODY): Likewise.
29680         * iconvdata/ibm939.c (BODY): Likewise.
29681         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
29682         assert.
29683         * iconvdata/Makefile (iconv-test.out): Pass module list to test
29684         script.
29685         * iconvdata/run-iconv-test.sh: New test loop for checking for
29686         decoder crashers.
29688 2014-09-02  Khem Raj  <raj.khem@gmail.com>
29690         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
29691         libm_hidden_ver.
29693 2014-09-01  Allan McRae  <allan@archlinux.org>
29695         * po/eo.po: Update Esperanto translation from translation project.
29697         * po/ca.po: Update Catalan translation from translation project.
29699 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29701         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
29702         __proc_dostop call.
29704 2014-08-27  Mark Wielaard  <mjw@redhat.com>
29706         [BZ #17319]
29707         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
29708         to call set_thread_area instead of hand written asm.
29709         (__NR_set_thread_area): Removed define.
29710         (TLS_FLAG_WRITABLE): Likewise.
29711         (__ASSUME_SET_THREAD_AREA): Remove check.
29712         (TLS_EBX_ARG): Remove define.
29713         (TLS_LOAD_EBX): Likewise.
29715 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29717         Simplify atomicity of socket creation in bind.
29719         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
29720         looking up the name after linking the file.
29722 2014-08-27  Allan McRae  <allan@archlinux.org>
29724         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
29726 2014-08-26  Florian Weimer  <fweimer@redhat.com>
29728         [BZ #17187]
29729         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
29730         trans_compare, open_translit, __gconv_translit_find):
29731         Remove module loading code.
29733 2014-08-26  Allan McRae  <allan@archlinux.org>
29735         * po/vi.po: Update Vietnamese translation from translation project.
29737         * po/uk.po: Update Ukrainian translation from translation project.
29739         * po/fr.po: Update French translation from translation project.
29741         * po/ru.po: Update Russian translation from translation project.
29743         * po/pl.po: Update Polish translation from translation project.
29745         * po/cs.po: Update Czech translation from translation project.
29747         * po/de.po: Update German translation from translation project.
29749         * po/bg.po: Update Bulgarian translation from translation project.
29751         * po/sv.po: Update Sweedish translation from translation project.
29753         * po/nl.po: Update Dutch translation from translation project.
29755         * po/es.po: Update Spanish translation from translation project.
29757 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
29759         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
29761         * catgets/Makefile (CPPFLAGS-gencat): Remove.
29762         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
29763         (CPPFLAGS-iconvconfig): Likewise.
29764         * timezone/Makefile (CPPFLAGS-zic): Likewise.
29766         * include/libc-symbols.h: Remove unnecessary check for
29767         NOT_IN_libc.
29768         * nptl/pthreadP.h: Likewise.
29769         * sysdeps/aarch64/setjmp.S: Likewise.
29770         * sysdeps/alpha/setjmp.S: Likewise.
29771         * sysdeps/arm/sysdep.h: Likewise.
29772         * sysdeps/i386/setjmp.S: Likewise.
29773         * sysdeps/m68k/setjmp.c: Likewise.
29774         * sysdeps/posix/getcwd.c: Likewise.
29775         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
29776         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
29777         * sysdeps/s390/s390-32/setjmp.S: Likewise.
29778         * sysdeps/s390/s390-64/setjmp.S: Likewise.
29779         * sysdeps/sh/sh3/setjmp.S: Likewise.
29780         * sysdeps/sh/sh4/setjmp.S: Likewise.
29781         * sysdeps/unix/alpha/sysdep.h: Likewise.
29782         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
29783         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
29784         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
29785         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
29786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29788         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
29789         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
29790         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
29791         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
29792         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
29793         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
29794         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
29795         * sysdeps/x86_64/setjmp.S: Likewise.
29797 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
29799         [BZ #17263]
29800         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
29801         <stdint.h>.
29802         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
29803         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
29805 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29807         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
29809         [BZ #17262]
29810         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
29811         and __x86_64__ when disabling x87 inline functions.
29813 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
29815         [BZ #17259]
29816         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
29817         asm statement with __cpuid_count.
29819 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
29821         * configure.ac: Change __ehdr_start code to dereference the struct.
29822         Run readelf on the output to look for relocations.
29823         * configure: Regenerated.
29825 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
29827         [BZ #17261]
29828         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
29829         value to 0.
29830         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
29832 2014-08-12  Roland McGrath  <roland@hack.frob.com>
29834         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
29836 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
29838         [BZ #16892]
29839         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
29840         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
29842 2014-08-12  Sean Anderson  <seanga2@gmail.com>
29844         * malloc/malloc.c: Fix typo in comment.
29846 2014-08-09  Allan McRae  <allan@archlinux.org>
29848         * Regenerate libc.po.
29850 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
29852         * intl/tst-gettext2.sh: Check every lang file for creation.
29854 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29856         * sysdeps/aarch64/fpu/math_private.h
29857         (libc_feholdsetround_noex_aarch64_ctx): New function.
29859 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
29861         * sysdeps/arm/armv6/strcpy.S (strcpy):
29862         Fix performance issue in misaligned cases.
29864 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29866         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
29867         Move definition from termios.h.
29868         (struct termio): Likewise.
29869         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29870         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29871         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29872         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29873         Likewise.
29874         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
29875         Move definition to ioctl-types.h
29876         (struct termio): Likewise.
29877         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
29878         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
29879         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
29880         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
29881         Likewise.
29883 2014-08-05  Richard Henderson  <rth@redhat.com>
29885         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
29886         exceptions.
29887         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
29888         Add fraiseexcpt.
29889         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
29890         Use __feraiseexcept.
29891         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
29892         Protect libm symbols with IS_IN_libm.
29894         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
29896 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
29898         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
29900 2014-08-04  Will Newton  <will.newton@linaro.org>
29902         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
29903         file.
29905 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
29907         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
29908         variants for each function.
29910 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29912         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
29913         appended ...
29914         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
29915         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
29916         appended ...
29917         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
29918         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
29919         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
29920         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
29921         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
29922         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
29923         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
29924         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
29925         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
29926         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
29927         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
29928         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
29929         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
29930         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
29931         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
29932         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
29933         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
29934         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
29935         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
29936         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
29937         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
29938         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
29939         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
29940         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
29941         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
29942         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
29943         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
29944         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
29945         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
29946         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
29947         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
29948         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
29949         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
29950         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
29951         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
29952         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
29953         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
29954         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
29955         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
29956         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
29957         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
29958         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
29959         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
29960         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
29961         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
29962         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
29963         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
29964         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
29965         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
29966         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
29967         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
29968         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
29969         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
29970         Update #include.
29971         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
29972         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
29974 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29976         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
29977         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
29978         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
29979         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
29980         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
29981         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
29983 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29985         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
29986         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
29987         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
29988         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
29990 2014-08-04  Roland McGrath  <roland@hack.frob.com>
29992         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
29993         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
29994         (__libc_vfork): Define function under this name.
29995         (__vfork): Define as an alias.
29996         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
29997         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
29999 2014-08-04  Roland McGrath  <roland@hack.frob.com>
30001         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
30002         that was previously under [RESET_PID].
30003         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
30005 2014-08-04  Andreas Schwab  <schwab@suse.de>
30007         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
30009 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
30011         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
30012         (main): Likewise.
30014 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30016         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
30018 2014-08-01  Richard Henderon  <rth@redhat.com>
30020         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
30021         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
30022         typo in exact zero test.
30023         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
30024         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
30025         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
30027 2014-08-01  Roland McGrath  <roland@hack.frob.com>
30029         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
30030         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
30031         * sysdeps/arm/sysdep.h: ... here.
30032         [!__ASSEMBLER__]: Include <stdint.h>.
30034 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
30036         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
30037         (HAVE_WCTYPE_H): Likewise.
30038         (HAVE_ISWCTYPE): Likewise.
30039         (ENABLE_NLS): Likewise.
30040         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
30041         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
30043         * posix/regex_internal.c: Check if DEBUG is defined and is
30044         set.
30046         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
30047         (HAVE_MBSRTOWCS): Likewise.
30048         * posix/fnmatch.c: Include string.h unconditionally.
30050 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
30052         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
30053         reversal.
30055 2014-07-31  Roland McGrath  <roland@hack.frob.com>
30057         * sysdeps/generic/safe-fatal.h: New file.
30058         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
30059         * nptl/forward.c: Include it.
30060         (__pthread_unwind): Use __safe_fatal as default action, rather
30061         than a bogus use of INTERNAL_SYSCALL that could never work.
30063         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
30064         * configure.ac (libc_cv_builtin_trap): New test.
30065         * configure: Regenerated.
30066         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
30067         (ABORT_INSTRUCTION): Define using __builtin_trap.
30069         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
30070         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
30071         * sysdeps/nptl/nptl-signals.h: New file.
30072         * nptl/pthreadP.h: Include <nptl-signals.h>.
30074 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30076         * sysdeps/s390/s390-64/utf16-utf32-z9.c
30077         (ONE_DIRECTION): Define.
30078         * sysdeps/s390/s390-64/utf8-utf16-z9.c
30079         (ONE_DIRECTION): Define.
30080         * sysdeps/s390/s390-64/utf8-utf32-z9.c
30081         (ONE_DIRECTION): Define.
30083 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
30085         * sysdeps/s390/Makefile: Delete file.
30086         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
30087         * sysdeps/s390/__longjmp.c: Delete file.
30088         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
30089         Remove fields __flags and __reserved.
30090         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
30091         and add versioning.
30092         * sysdeps/s390/rtld-__longjmp.c: Delete file.
30093         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
30094         * sysdeps/s390/rtld-setjmp.S: Likewise.
30095         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
30096         * sysdeps/s390/s390-32/__longjmp.c: ... here.
30097         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
30098         * sysdeps/s390/s390-32/setjmp.S: ... here.
30099         Add versioning.
30100         (__sigsetjmp): Remove setting __flags field.
30101         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
30102         * sysdeps/s390/s390-64/__longjmp.c: ... here.
30103         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
30104         * sysdeps/s390/s390-64/setjmp.S: ... here.
30105         Add versioning.
30106         (__sigsetjmp): Remove setting __flags field.
30107         * sysdeps/s390/setjmp.S: Delete file.
30108         * sysdeps/s390/sigjmp.c: Likewise.
30109         * sysdeps/s390/v1-longjmp.c: Likewise.
30110         * sysdeps/s390/v1-setjmp.h: Likewise.
30111         * sysdeps/s390/v1-sigjmp.c: Likewise.
30112         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
30113         Remove v1-longjmp_chk.
30114         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
30115         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
30116         Include debug/longjmp_chk.c and add versioning.
30117         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
30118         Include nptl/pt-longjmp.c and add versioning.
30119         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
30120         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
30121         Include __longjmp.c.
30122         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
30123         Move to ...
30124         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
30125         (__getcontext): Remove setting __flags field.
30126         Add versioning.
30127         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
30128         Don't restore upper high grps.
30129         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
30130         Likewise.
30131         (__swapcontext): Remove setting uc_flags field.
30132         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
30133         Delete file.
30134         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
30135         Include __longjmp.c.
30136         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
30137         Move to ...
30138         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
30139         (__getcontext): Remove setting __flags field.
30140         Add versioning.
30141         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
30142         (__swapcontext): Remove setting uc_flags field.
30143         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
30144         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
30145         Remove fields uc_high_gprs and __reserved.
30146         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
30147         New file with reverted content.
30148         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
30149         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
30150         Regenerated.
30151         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
30152         Regenerated.
30154 2014-07-31  Andreas Schwab  <schwab@suse.de>
30156         * config.h.in (HAVE_IFUNC): Define to 0.
30157         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
30158         definedness.
30160 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
30162         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30163         memmove-avx-unaligned, memcpy-avx-unaligned and
30164         mempcpy-avx-unaligned.
30165         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30166         Add tests for AVX memcpy functions.
30167         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
30168         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
30169         memcpy_chk.
30170         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
30171         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
30172         memmove_chk.
30173         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
30174         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
30175         mempcpy_chk.
30176         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
30177         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
30178         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
30180 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30182         [BZ #17213]
30183         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
30184         powerpc64le.
30186 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
30188         [BZ #16839]
30189         * manual/llio.texi: Add section about open file description locks.
30190         * manual/examples/ofdlocks.c: Example of open file description
30191         lock usage.
30192         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
30193         F_OFD_SETLK, and F_OFD_SETLKW.
30195 2014-07-23  Allan McRae  <allan@archlinux.org>
30197         * po/es.po: Update Spanish translation from translation project.
30199 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
30201         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
30203 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
30205         [BZ #17078]
30206         * sysdeps/arm/dl-machine.h (elf_machine_rela)
30207         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
30208         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
30210 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
30212         [BZ #17088]
30213         * math/fesetenv.c (__fesetenv)
30214         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
30215         * math/feupdateenv.c (__feupdateenv)
30216         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
30218         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
30219         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
30220         (__ASSUME_SOCKETCALL): Do not define.
30222         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
30223         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
30224         (__ASSUME_SOCKETCALL): Do not define.
30225         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
30226         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30227         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30228         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
30229         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30230         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
30231         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30232         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30234         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
30235         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
30236         (__ASSUME_SOCKETCALL): Do not define.
30237         (__ASSUME_IPC64): Define unconditionally.
30238         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30239         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30240         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
30241         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30242         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
30243         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30244         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
30245         Likewise.
30247         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
30248         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
30249         (__ASSUME_SOCKETCALL): Do not define.
30250         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
30251         (__ASSUME_FUTEX_LOCK_PI): Likewise.
30252         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30253         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
30254         (__ASSUME_REQUEUE_PI): Define unconditionally.
30255         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
30256         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
30257         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30258         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
30259         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30260         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30262         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
30263         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
30264         (__ASSUME_SOCKETCALL): Do not define.
30265         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
30266         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30267         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30268         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
30269         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30270         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
30272         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
30273         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
30274         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
30275         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
30276         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
30277         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
30278         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
30279         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
30280         (__ASSUME_GETCPU_SYSCALL): Likewise.
30282         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
30283         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
30284         cases for individual architectures.
30285         * sysdeps/gnu/configure: Regenerated.
30286         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
30287         LIBC_SLIBDIR_RTLDDIR.
30288         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
30289         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
30290         LIBC_SLIBDIR_RTLDDIR.
30291         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
30292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
30293         LIBC_SLIBDIR_RTLDDIR.
30294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
30295         Regenerated.
30296         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
30297         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
30298         file.
30299         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
30300         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
30301         file.
30302         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
30303         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
30304         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
30305         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
30307         * sysdeps/aarch64/shlib-versions: Move to ...
30308         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
30309         * sysdeps/alpha/shlib-versions: Move to ...
30310         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
30311         * sysdeps/arm/shlib-versions: Move to ...
30312         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
30313         * sysdeps/hppa/shlib-versions: Move all contents except for
30314         libgcc_s entry to ...
30315         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
30316         entry from ...
30317         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
30318         * sysdeps/ia64/shlib-versions: Move to ...
30319         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
30320         entry from ...
30321         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
30322         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
30323         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
30324         * sysdeps/microblaze/shlib-versions: Move to ...
30325         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
30326         * sysdeps/mips/shlib-versions: Move to ...
30327         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
30328         entry from ...
30329         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
30330         * sysdeps/tile/shlib-versions: Move to ...
30331         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
30332         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
30333         from ...
30334         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
30335         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
30336         entry from ...
30337         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
30339 2014-07-17  Will Newton  <will.newton@linaro.org>
30341         * sysdeps/arm/bits/atomic.h
30342         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
30343         (__arch_compare_and_exchange_bool_16_int): Likewise.
30344         (__arch_compare_and_exchange_bool_64_int): Likewise.
30346         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
30347         into an #else block.
30349 2014-07-16  Roland McGrath  <roland@hack.frob.com>
30351         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
30352         just Linux configurations.  Test empirically that the compiler sets
30353         __ARM_EABI__, rather than using the tuple to decide.
30354         * sysdeps/arm/preconfigure: Regenerated.
30355         * sysdeps/unix/sysv/linux/arm/configure: File removed.
30356         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
30357         contents appended ...
30358         * sysdeps/arm/configure.ac: ... here.
30359         * sysdeps/arm/configure: Regenerated.
30361 2014-07-15  Roland McGrath  <roland@hack.frob.com>
30363         * nptl/pthread_kill.c: New file.
30364         * nptl/pthread_sigmask.c: New file.
30365         * nptl/pthread_sigqueue.c: New file.
30367         * sysdeps/nptl/lowlevellock.h: New file.
30368         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
30369         * sysdeps/nptl/lowlevellock-futex.h: New file.
30371         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
30372         Remove dead declarations.
30374 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
30376         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
30377         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
30378         config-cflags-avx2.
30379         * sysdeps/x86_64/configure.ac: Likewise.
30380         * sysdeps/i386/configure: Regenerated.
30381         * sysdeps/x86_64/configure: Likewise.
30382         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
30383         memset-avx2 only if config-cflags-avx2 is yes.
30384         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
30385         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
30386         defined.
30387         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
30388         only if HAVE_AVX2_SUPPORT is defined.
30389         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30391 2014-07-14  Alan Modra  <amodra@gmail.com>
30393         [BZ #17153]
30394         * elf/elf.h (DT_PPC64_NUM): Correct value.
30395         * NEWS: Add to fixed bug list.
30397 2014-07-13  Jim Meyering  <meyering@fb.com>
30399         [BZ 17150]
30400         regex: don't deref NULL upon heap allocation failure
30401         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
30402         failure in one more place.
30403         To trigger the segfault, configure grep -with-included-regex,
30404         build it, and run these commands:
30405         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
30407 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
30409         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
30411 2014-07-11  Richard Henderson  <rth@redhat.com>
30413         * sysdeps/aarch64/libm-test-ulps: Update.
30415 2014-07-10  Florian Weimer  <fweimer@redhat.com>
30417         [BZ #17135]
30418         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
30419         * nptl/allocatestack.c (__nptl_setxid_error): New function.
30420         (__nptl_setxid): Initialize error member.  Call
30421         __nptl_setxid_error.
30422         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
30423         * nptl/descr.h (struct xid_command): Add error member.
30424         * nptl/tst-setuid3.c: New file.
30425         * nptl/Makefile (tests): Add it.
30427 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30429         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
30430         New define.
30431         (__lll_trylock): Use __lll_base_trylock.
30432         (__lll_cond_trylock): Likewise.
30434 2014-07-10  Roland McGrath  <roland@hack.frob.com>
30436         * nptl/pthread_create.c (start_thread): Use atomic_or and
30437         lll_futex_wake directly rather than lll_robust_dead.
30438         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30439         (lll_robust_dead): Macro removed.
30440         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
30441         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30442         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30443         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30444         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30445         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30446         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30447         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30448         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30449         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30450         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30451         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30452         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30453         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30454         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30456         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
30457         Use atomic_compare_and_exchange_val_acq directly rather than
30458         lll_robust_trylock.
30459         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
30460         (__lll_robust_trylock, lll_robust_trylock): Removed.
30461         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
30462         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
30463         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
30464         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
30465         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
30466         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
30467         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
30468         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
30469         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
30470         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
30471         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
30472         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
30473         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
30474         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
30476 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30478         * manual/locale.texi (Locale Names): New section documenting
30479         locale name syntax.  Adjust menu and node chaining accordingly.
30480         (Choosing Locale): Reference Locale Names, Locale Categories.
30481         Mention setting LC_ALL=C.  Reflect that name syntax is now
30482         documented.
30483         (Locale Categories): New section title.  Reference Locale Names.
30484         LC_ALL is an environment variable, but not a category.
30485         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
30486         description, now in Locale Name.  Reference that section.  Locale
30487         name syntax is now documented.
30489 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30491         [BZ #17137]
30492         * locale/findlocale.c (name_present, valid_locale_name): New
30493         functions.
30494         (_nl_find_locale): Use the loc_name variable to store name
30495         candidates.  Call name_present and valid_locale_name to check and
30496         validate locale names.  Return an error if the locale is invalid.
30498 2014-07-02  Florian Weimer  <fweimer@redhat.com>
30500         * locale/setlocale.c (setlocale): Use strdup for allocating
30501         composite name copy.
30503 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30505         Sync up with gnulib.
30506         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
30507         [!_LIBC && ENABLE_NLS]: Include gettext.h.
30508         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
30509         and _GL_ARG_NONNULL.
30510         [USE_UNLOCKED_IO]: Include unlocked-io.h.
30511         [!_LIBC]: Include code for Windows and Cygwin.
30512         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
30513         Include prototype for int strerror_r.
30514         [!_LIBC] (is_open): New function.
30515         (flush_stdout): New function.
30516         (print_errno_message): Use it.
30517         (error): Likewise.
30518         (error_at_line): Likewise.
30519         (error_tail) Add function attribute macros.  Use
30520         __builtin_expect.
30522         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
30524         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
30526         * io/ftw.c: Include sys/param.h unconditionally.
30528         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
30530         [BZ #17125]
30531         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
30532         libc_freeres_ptr.
30533         (freecache): New function to free CACHE on exit.
30535         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
30536         initialization.
30538 2014-07-09  David S. Miller  <davem@davemloft.net>
30540         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30542         * sysdeps/sparc/nptl/internaltypes.h: Delete.
30543         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
30544         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
30545         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
30546         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
30547         * sysdeps/sparc/nptl/sem_init.c: Likewise.
30548         * sysdeps/sparc/nptl/sem_post.c: Likewise.
30549         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
30550         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
30551         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
30552         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
30553         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
30554         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
30556 2014-07-09  Andreas Schwab  <schwab@suse.de>
30558         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
30559         output.
30560         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
30561         (do_test): Likewise.
30563         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
30565 2014-07-09  Will Newton  <will.newton@linaro.org>
30567         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
30568         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
30569         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
30570         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
30571         * sysdeps/hppa/start.S (_start): Likewise.
30573 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30575         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
30577         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
30578         defined.
30580 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30582         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
30583         after checking that it is non-NULL.
30585         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
30587 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30589         * sysdeps/powerpc/memmove.c: Remove file.
30590         * sysdeps/powerpc/powerpc32/power4/memcopy.h
30591         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
30592         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
30593         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
30594         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
30595         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
30596         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
30597         string memmove instead of removed powerpc one.
30599         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
30600         [weak_alias]: Fix compiler warning due trailing data.
30601         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
30602         [weak_alias]: Likewise.
30603         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
30604         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
30606         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
30607         (__libc_ifunc_impl_list): Add memmove functions.
30609 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
30611         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
30612         Remove code.
30613         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
30614         Likewise.
30615         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
30616         Likewise.
30617         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
30618         Likewise.
30619         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
30620         Likewise.
30621         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
30622         Likewise.
30623         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
30624         Likewise.
30625         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
30626         Likewise.
30627         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
30628         Likewise.
30629         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
30630         Likewise.
30631         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
30632         Likewise.
30633         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
30634         Likewise.
30635         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
30636         Likewise.
30637         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
30638         Likewise.
30639         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
30640         Likewise.
30641         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
30642         Likewise.
30643         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
30644         Likewise.
30646 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30648         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
30649         to avoid alignment traps in non-cacheable memory.
30650         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
30652         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
30653         multiarch objects.
30654         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
30655         file: multiarch power7 memmove.
30656         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
30657         multiarch default memmove.
30658         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
30659         multiarch memove for powerpc32/power4.
30661         * string/bcopy.c: Use full path to include memmove.c.
30662         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
30663         multiarch objects.
30664         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
30665         bcopy for powerpc64.
30666         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
30667         bcopy for powerpc64.
30668         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
30669         and memmove implementations.
30670         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
30671         optimized multiarch memmove for POWER7/powerpc64.
30672         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
30673         default multiarch memmove for powerpc64.
30674         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
30675         multiarch for powerpc64.
30676         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
30677         for POWER7/powerpc64.
30678         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
30679         memmove for POWER7/powerpc64.
30681         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
30682         glibc default one.
30684         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
30685         __ELF_NATIVE_CLASS equal to 64.
30687 2014-07-07  Roland McGrath  <roland@hack.frob.com>
30689         * sysdeps/nptl/lowlevellock.h: File removed.
30691         * NEWS: NPTL is no longer an add-on!
30692         * nptl/internaltypes.h: Moved ...
30693         * sysdeps/nptl/internaltypes.h: ... here.
30694         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
30695         * sysdeps/nptl/fork.c: Likewise.
30696         * sysdeps/nptl/gai_misc.h: Likewise.
30697         * sysdeps/nptl/librt-cancellation.c: Likewise.
30698         * sysdeps/nptl/jmp-unwind.c: Likewise.
30699         * sysdeps/nptl/setxid.h: Likewise.
30700         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
30701         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
30702         * sysdeps/unix/sysv/linux/arm/Implies: New file.
30703         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
30704         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
30705         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
30706         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
30707         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
30708         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
30709         * sysdeps/unix/sysv/linux/mips/Implies: New file.
30710         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
30711         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
30712         * sysdeps/unix/sysv/linux/sh/Implies: New file.
30713         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
30714         * sysdeps/unix/sysv/linux/tile/Implies: New file.
30715         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
30716         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
30717         * nptl/Makeconfig: Moved ...
30718         * sysdeps/nptl/Makeconfig: ... here.
30719         * nptl/configure: File removed.
30720         * nptl/ANNOUNCE: File removed.
30721         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
30722         * sysdeps/unix/sysv/linux/configure: Regenerated.
30724         * nptl/Makefile (routines): Add libc_pthread_init,
30725         libc_multiple_threads, register-atfork and unregister-atfork.
30726         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
30727         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
30728         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
30729         pthread-pi-defines.sym, structsem.sym.
30730         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
30731         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
30732         [$(subdir) = nptl] (tests): Add tst-setgetname.
30733         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
30734         * sysdeps/unix/sysv/linux/sigaction.c: Just include
30735         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
30736         [!LIBC_SIGACTION]: Remove aliases.
30737         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
30738         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
30739         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
30740         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
30741         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
30742         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
30743         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30744         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30745         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
30746         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
30747         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
30748         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
30749         __libc_allocate_rtsig_private.
30750         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
30751         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
30752         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
30753         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
30754         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
30755         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
30756         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
30757         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
30758         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
30759         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
30760         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
30761         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
30762         * nptl/internaltypes.h: ... here.
30763         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
30764         * sysdeps/nptl/jmp-unwind.c: ... here.
30765         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
30766         * nptl/libc-lowlevellock.c: ... here.
30767         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
30768         * nptl/libc_multiple_threads.c: ... here.
30769         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
30770         * nptl/libc_pthread_init.c: ... here.
30771         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
30772         * nptl/lowlevelbarrier.sym: ... here.
30773         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
30774         * nptl/lowlevelcond.sym: ... here.
30775         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
30776         * nptl/lowlevellock.c: ... here.
30777         * nptl/lowlevellock.h: Moved ...
30778         * sysdeps/nptl/lowlevellock.h: ... here.
30779         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
30780         * nptl/lowlevelrobustlock.c: ... here.
30781         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
30782         * nptl/lowlevelrobustlock.sym: ... here.
30783         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
30784         * nptl/lowlevelrwlock.sym: ... here.
30785         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
30786         * nptl/pt-fork.c: ... here.
30787         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
30788         * nptl/pthread-pi-defines.sym: ... here.
30789         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
30790         * nptl/pthread_attr_getaffinity.c: ... here.
30791         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
30792         * nptl/pthread_attr_setaffinity.c: ... here.
30793         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
30794         * nptl/pthread_mutex_cond_lock.c: ... here.
30795         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
30796         Update #include.
30797         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
30798         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
30799         * nptl/pthread_once.c: ... here, replacing old file.
30800         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
30801         * nptl/pthread_yield.c: ... here.
30802         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
30803         * nptl/register-atfork.c: ... here.
30804         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
30805         * nptl/sem_post.c: ... here.
30806         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
30807         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
30808         * nptl/sem_timedwait.c: ... here.
30809         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
30810         * nptl/sem_trywait.c: ... here.
30811         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
30812         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
30813         * nptl/sem_wait.c: ... here.
30814         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
30815         * nptl/structsem.sym: ... here.
30816         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
30817         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
30818         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
30819         * nptl/unregister-atfork.c: ... here.
30820         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
30821         * nptl/unwindbuf.sym: ... here.
30822         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
30823         * sysdeps/nptl/fork.c: ... here.
30824         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
30825         * sysdeps/nptl/fork.h: ... here.
30826         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
30827         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
30828         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
30829         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
30830         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
30831         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
30832         * sysdeps/unix/sysv/linux/getpid.c: ... here.
30833         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
30834         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
30835         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
30836         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
30837         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
30838         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
30839         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
30840         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
30841         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
30842         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
30843         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
30844         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
30845         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
30846         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
30847         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
30848         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
30849         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
30850         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
30851         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
30852         * sysdeps/unix/sysv/linux/raise.c: ... here.
30853         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
30854         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
30855         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
30856         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
30857         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
30858         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
30859         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
30860         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
30861         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
30862         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
30863         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
30864         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
30865         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
30866         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
30867         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
30869 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
30871         * sysdeps/generic/memcopy.h: Add comment for
30872         MEMCPY_OK_FOR_FWD_MEMMOVE.
30874 2014-07-04  Will Newton  <will.newton@linaro.org>
30876         * string/memchr.c: Merge from gnulib.
30877         [_LIBC]: Remove conditionals.
30878         (__ptr_t): Remove define.
30879         (LONG_MAX_32_BITS): Likewise.
30880         (LONG_MAX): Likewise.
30881         (MEMCHR): Use ANSI prototype and optimize algorithm.
30883         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
30885 2014-07-03  Roland McGrath  <roland@hack.frob.com>
30887         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
30888         (lll_futex_timed_wait_bitset): Fix syscall argument count.
30890         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
30891         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
30892         in a bare environment with no <stdlib.h> installed.
30893         * sysdeps/nptl/configure: Regenerated.
30895         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
30897         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
30898         AC_EGREP_CPP for kernel header checks, so they only succeed if
30899         including <linux/version.h> actually works right.
30900         * sysdeps/unix/sysv/linux/configure: Regenerated.
30902         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
30903         value so it's not diagnosed as unused.
30905         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
30906         thing) with "ifeq ($(subdir),rt)".
30908 2014-07-03  Richard Henderson  <rth@redhat.com>
30910         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
30911         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
30912         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
30914         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
30915         (math_force_eval): New.
30917         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
30918         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
30920         * sysdeps/alpha/fpu/s_round.c: Remove file.
30921         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
30923         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
30924         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
30925         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
30926         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
30927         (_dl_start, print_statistics): Likewise.
30928         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
30929         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
30931         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30932         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30933         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30934         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30935         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30936         (HP_SMALL_TIMING_AVAIL): Define.
30937         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30938         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30939         (HP_SMALL_TIMING_AVAIL): Define.
30940         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30941         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
30943         * sysdeps/aarch64/hp-timing.h: New file.
30945         * sysdeps/generic/hp-timing.h: Remove dead comment.
30946         * sysdeps/generic/hp-timing-common.h: New file.
30947         * sysdeps/alpha/hp-timing.h: Include it.
30948         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
30949         * sysdeps/i386/i686/hp-timing.h: Likewise.
30950         * sysdeps/ia64/hp-timing.h: Likewise.
30951         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
30952         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
30953         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
30954         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
30955         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
30956         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
30957         (hp_timing_t): New.
30959         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
30960         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
30961         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
30962         * elf/rtld.c (_dl_start_final): Likewise.
30963         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
30964         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30965         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30966         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30967         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30968         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30969         (HP_TIMING_DIFF_INIT): Remove.
30970         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30971         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
30972         (HP_TIMING_DIFF_INIT): Remove.
30973         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
30974         * sysdeps/i386/i686/hp-timing.c: Remove file.
30975         * sysdeps/x86_64/hp-timing.c: Remove file.
30976         * sysdeps/ia64/hp-timing.c: Remove file.
30977         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
30978         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
30979         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
30980         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
30982         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
30983         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
30984         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
30985         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30986         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
30987         (HP_TIMING_ACCUM): Remove.
30988         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30989         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
30990         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
30992         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
30993         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
30994         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
30995         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
30996         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
30997         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
30998         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
30999         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
31001         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
31003 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
31005         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
31007 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31009         Sync up with gettext.
31010         * intl/loadmsgcat.c: Define O_BINARY if not defined.
31011         [_MSC_VER]: Include malloc.h
31012         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
31013         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
31014         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
31015         TEMP_FAILURE_RETRY.  Cast return of alloca.
31016         [!_LIBC] Call gl_rwlock_init.
31017         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
31019 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31021         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
31022         before checking its value.
31024 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31026         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
31028         * debug/memcpy_chk.c: Don't include pagecopy.h.
31029         * debug/mempcpy_chk.c: Likewise.
31030         * string/memcpy.c: Likewise.
31031         * string/memmove.c: Likewise.
31032         * sysdeps/powerpc/memmove.c: Likewise.
31033         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
31034         definition of PAGE_COPY_FWD_MAYBE here...
31035         * sysdeps/generic/pagecopy.h: ... from here.
31036         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
31038 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
31039             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31041         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
31042         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
31043         optimizations.
31044         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
31045         (__libc_ifunc_impl_list): Likewise.
31046         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
31047         multiarch strcat for PPC64.
31048         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
31049         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
31051 2014-07-02  Roland McGrath  <roland@hack.frob.com>
31053         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
31055 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31057         * intl/loadmsgcat.c: Remove declaration of
31058         get_sysdep_segment_value.
31059         (get_sysdep_segment_value): Use ISO C style.
31060         (_nl_load_domain): Use ISO C style.  Get rid of redundant
31061         semicolon.  Fix typo and formatting in comment.
31062         (_nl_unload_domain): Use ISO C style.
31064         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
31066 2014-07-02  Will Newton  <will.newton@linaro.org>
31068         * malloc/obstack.c: Merge from gnulib master.
31069         [HAVE_CONFIG_H]: Remove conditional code.
31070         [!_LIBC]: Include config.h.
31071         [!ELIDE_CODE]: Don't include inttypes.h, include
31072         stdint.h unconditionally.
31073         (print_and_abort): Mark as _Noreturn.
31074         (_obstack_allocated_p): Mark as __attribute_pure__.
31075         (obstack_free): Rename to __obstack_free.
31076         [!__attribute__]: Remove conditional code.
31077         * malloc/obstack.h: Merge from gnulib master.
31078         [__cplusplus]: Move conditional down.
31079         [!__attribute_pure__]: Define __attribute_pure__ here
31080         if it is not already defined.
31081         (_obstack_memory_used): Mark as __attribute_pure__.
31082         [!__obstack_free]: Define as obstack_free.
31083         [__GNUC__]: Remove check for ancient NeXT gcc.
31085 2014-07-02  Will Newton  <will.newton@linaro.org>
31086             Paul Eggert  <eggert@cs.ucla.edu>
31088         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
31090 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31092         * resolv/gethnamaddr.c: Add comment warning that the file is
31093         not maintained.
31095 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
31097         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
31098         entries.
31100         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
31101         entry for aio_cancel and aio_cancel64.
31102         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
31103         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
31104         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
31105         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
31106         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
31107         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
31108         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
31109         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
31110         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
31111         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
31112         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
31113         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
31114         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
31116 2014-07-01  Roland McGrath  <roland@hack.frob.com>
31118         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
31119         * nptl/pthread_mutex_lock.c: Likewise.
31120         * nptl/pthread_mutex_timedlock.c: Likewise.
31121         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
31123 2014-07-01  Richard henderson  <rth@redhat.com>
31125         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
31126         (__isnan, __isnanl): Remove.
31127         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
31129         * sysdeps/alpha/fpu/libm-test-ulps: Update.
31131 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
31133         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
31135 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
31137         * resolv/nss_dns/dns-host.c (getanswer_r)
31138         [MULTI_PTRS_ARE_ALIASES]: Remove code.
31140 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
31142         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
31143         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
31144         undefine.
31145         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
31146         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
31148 2014-07-01  Roland McGrath <roland@hack.frob.com>
31150         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
31151         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
31153         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
31154         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
31156         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
31157         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
31158         ... here.
31159         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
31160         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
31162         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
31163         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
31164         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
31165         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
31167         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
31168         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
31169         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
31170         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
31171         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
31172         Moved ...
31173         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
31174         ... here.
31175         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
31176         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
31177         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
31178         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
31179         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
31180         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
31181         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
31182         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
31183         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
31184         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
31185         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
31186         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
31187         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
31188         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
31189         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
31190         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
31191         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
31192         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
31193         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
31194         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
31195         ... here.
31196         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
31197         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
31198         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
31199         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
31200         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
31201         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
31202         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
31203         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
31205 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
31207         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
31208         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
31209         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
31210         Add sysdep.
31212 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31214         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31216 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31218         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31219         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31221         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31223         * sysdeps/arm/libm-test-ulps: Regenerated.
31225 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31226             Roland McGrath <roland@hack.frob.com>
31228         * test-skeleton.c (signal_handler): Kill the whole process group
31229         before killing the child individually.
31230         (main): Report any failure on `setpgid'.
31232 2014-06-30  Roland McGrath  <roland@hack.frob.com>
31234         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
31235         from _TLS_H to _ARM_NPTL_TLS_H.
31236         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
31237         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
31239 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
31241         [BZ #16539]
31242         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
31243         (__expm1l): Return argument unchanged when small but not
31244         subnormal.
31246         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
31247         include macro name.
31248         (_FP_UNPACK_RAW_1_P): Likewise.
31249         (_FP_PACK_RAW_1): Likewise.
31250         (_FP_PACK_RAW_1_P): Likewise.
31251         (_FP_MUL_MEAT_1_wide): Likewise.
31252         (_FP_MUL_MEAT_DW_1_hard): Likewise.
31253         (_FP_MUL_MEAT_1_hard): Likewise.
31254         (_FP_DIV_MEAT_1_imm): Likewise.
31255         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
31256         (_FP_DIV_MEAT_1_udiv): Likewise.
31257         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
31258         (_FP_UNPACK_RAW_2): Likewise.
31259         (_FP_UNPACK_RAW_2_P): Likewise.
31260         (_FP_PACK_RAW_2): Likewise.
31261         (_FP_PACK_RAW_2_P): Likewise.
31262         (_FP_MUL_MEAT_DW_2_wide): Likewise.
31263         (_FP_MUL_MEAT_2_wide): Likewise.
31264         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
31265         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
31266         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
31267         (_FP_MUL_MEAT_2_gmp): Likewise.
31268         (_FP_DIV_MEAT_2_udiv): Likewise.
31269         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
31270         (_FP_FRAC_SRL_4): Likewise.
31271         (_FP_FRAC_SRST_4): Likewise.
31272         (_FP_FRAC_SRS_4): Likewise.
31273         (_FP_UNPACK_RAW_4): Likewise.
31274         (_FP_UNPACK_RAW_4_P): Likewise.
31275         (_FP_PACK_RAW_4): Likewise.
31276         (_FP_PACK_RAW_4_P): Likewise.
31277         (_FP_MUL_MEAT_DW_4_wide): Likewise.
31278         (_FP_MUL_MEAT_4_wide): Likewise.
31279         (_FP_MUL_MEAT_4_gmp): Likewise.
31280         (umul_ppppmnnn): Likewise.
31281         (_FP_DIV_MEAT_4_udiv): Likewise.
31282         (__FP_FRAC_ADD_4): Likewise.
31283         (__FP_FRAC_SUB_3): Likewise.
31284         (__FP_FRAC_SUB_4): Likewise.
31285         (__FP_FRAC_DEC_3): Likewise.
31286         (__FP_FRAC_DEC_4): Likewise.
31287         (__FP_FRAC_ADDI_4): Likewise.
31288         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
31289         (_FP_FRAC_SRL_8): Likewise.
31290         (_FP_FRAC_SRS_8): Likewise.
31292         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
31293         include macro name.
31294         (FP_UNPACK_RAW_EP): Likewise.
31295         (FP_PACK_RAW_E): Likewise.
31296         (FP_PACK_RAW_EP): Likewise.
31297         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
31298         (_FP_ISSIGNAN): Likewise.
31299         (_FP_ADD_INTERNAL): Likewise.
31300         (_FP_FMA): Likewise.
31301         (_FP_CMP): Likewise.
31302         (_FP_SQRT): Likewise.
31303         (_FP_TO_INT): Likewise.
31304         (_FP_FROM_INT): Likewise.
31305         (FP_EXTEND): Likewise.
31306         (_FP_DIV_MEAT_N_loop): Likewise.
31308 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
31310         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
31311         throughout.
31313 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
31315         [BZ #17097]
31316         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
31317         result with correct sign in case of exponents that produce
31318         overflow except for X very close to 1.
31320 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
31322         mktime: merge #if/#ifdef usage from glibc
31323         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
31324         as that works with both Glibc's and Gnulib's style.
31325         See thread starting at Siddhesh Poyarekar's bug report at:
31326         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
31328 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31330         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
31331         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
31332         * sysdeps/tile/tilegx/memmove.c: Remove file.
31334 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31336         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
31337         abi-name definition.
31338         * scripts/soversions.awk: Do not handle or generate ABI lines.
31339         * shlib-versions: Remove ABI entries.
31340         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
31341         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
31343 2014-06-27  Roland McGrath  <roland@hack.frob.com>
31345         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
31346         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
31347         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
31348         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
31349         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
31350         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
31351         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
31352         Moved ...
31353         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
31354         ... here.
31355         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
31356         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
31357         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
31358         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
31359         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
31360         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
31361         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
31362         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
31363         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
31364         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
31365         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
31366         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
31367         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
31368         Moved ...
31369         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
31370         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
31371         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
31372         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
31373         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
31374         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
31375         Moved ...
31376         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
31377         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
31378         Moved ...
31379         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
31380         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
31381         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
31382         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
31383         Moved ...
31384         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
31385         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
31386         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
31387         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
31388         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
31389         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
31390         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
31391         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
31392         Moved ...
31393         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
31394         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
31395         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
31396         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
31397         Moved ...
31398         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
31399         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
31400         Moved ...
31401         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
31402         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
31403         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
31404         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
31405         Moved ...
31406         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
31407         ... here.
31408         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
31409         Identical file removed.
31410         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
31411         Moved ...
31412         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
31413         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
31414         Identical file removed.
31415         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
31416         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
31417         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
31418         Moved ...
31419         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
31420         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
31421         Identical file removed.
31422         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
31423         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
31424         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
31425         Identical file removed.
31426         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
31427         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
31428         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
31429         Identical file removed.
31430         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
31431         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
31432         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
31433         Identical file removed.
31434         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
31435         Moved ...
31436         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
31437         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
31438         Identical file removed.
31439         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
31440         Moved ...
31441         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
31442         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
31443         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
31444         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
31445         Identical file removed.
31446         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
31447         Moved ...
31448         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
31449         ... here.
31450         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
31451         Identical file removed.
31452         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
31453         Moved ...
31454         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
31455         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
31456         Identical file removed.
31457         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
31458         Moved ...
31459         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
31460         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
31461         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
31462         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
31463         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
31464         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
31465         Moved ...
31466         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
31467         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
31468         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
31470         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
31471         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
31472         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
31473         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
31474         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
31476 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
31478         [BZ #17092]
31479         * nscd/nscd.c (monitor_child): Return exit status of child
31480         instead of return value from wait syscall.
31482 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
31484         * configure.ac (libc_commonpagesize): Remove variable.
31485         (libc_relro_required): Likewise.
31486         (libc_cv_z_relro): Remove configure test.
31487         * configure: Regenerated.
31488         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
31489         variable.
31490         (libc_relro_required): Likewise.
31491         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
31492         (libc_relro_required): Likewise.
31493         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
31494         (libc_relro_required): Likewise.
31495         * sysdeps/arm/preconfigure: Regenerated.
31496         * sysdeps/ia64/preconfigure: Remove file.
31497         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
31498         variable.
31499         (libc_relro_required): Likewise.
31501         [BZ #16561]
31502         [BZ #16562]
31503         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
31504         (__ieee754_yn): Set FE_TONEAREST mode internally and then
31505         recompute overflowing results in original rounding mode.
31506         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
31507         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
31508         recompute overflowing results in original rounding mode.
31509         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
31510         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31511         recompute overflowing results in original rounding mode.
31512         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
31513         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31514         recompute overflowing results in original rounding mode.
31515         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
31516         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
31517         recompute overflowing results in original rounding mode.
31518         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
31519         (libc_feholdsetround_ctx): New macro.
31520         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
31521         * sysdeps/i386/fpu/libm-test-ulps: Update.
31522         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
31524 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31526         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
31527         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
31528         corresponding .cpsetup call.
31530 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31532         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
31533         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
31534         * sysdeps/arm/Makefile [$(subdir) = csu]
31535         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
31536         (static-only-routines): Add aeabi_read_tp here.
31537         (shared-only-routines): Add libc-aeabi_read_tp here.
31538         (CFLAGS-libc-start.c): Add -fexceptions here.
31539         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
31540         (sysdep_routines, static-only-routines, shared-only-routines):
31541         Don't add to these here.
31542         (CFLAGS-libc-start.c): Likewise.
31544         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
31545         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
31546         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
31547         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
31548         * sysdeps/arm/Makefile [$(subdir) = rt]
31549         (librt-sysdep_routines, librt-shared-only-routines):
31550         Append rt-aeabi_unwind_cpp_pr1 here.
31551         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
31552         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
31553         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
31554         (libpthread-sysdep_routines, libpthread-shared-only-routines):
31555         Append nptl-aeabi_unwind_cpp_pr1 here.
31556         (tests): Filter out tst-cleanupx4 here.
31557         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
31558         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
31559         Don't do those here.
31561 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31563         * scripts/list-sources.sh: Do not handle ports specially.
31565 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31567         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
31568         * sysdeps/arm/feupdateenv.c: Likewise.
31570         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
31572 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31574         * manual/texinfo.tex: Update to version 2014-05-05.10 with
31575         trailing whitespace removed.
31576         * scripts/config.guess: Update to version 2014-03-23.
31577         * scripts/config.sub: Update to version 2014-05-01
31578         * scripts/install-sh: Update to version 2013-12-25.23.
31579         * scripts/move-if-change: Update from gnulib.
31581 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31583         * debug/memmove_chk.c: Remove pagecopy.h include.
31585 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
31587         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
31588         identical to gnulib mktime.
31590 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
31592         * configure.ac: Do not test for machine being rs6000.  Do not test
31593         for powerpc*-*soft.
31594         * configure: Regenerated.
31596         [BZ #11505]
31597         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
31598         test.
31599         * configure: Regenerated.
31600         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
31601         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
31602         Remove configure test.
31603         * sysdeps/arm/configure: Regenerated.
31604         * sysdeps/nptl/configure.ac: Do not check
31605         libc_cv_asm_cfi_directives.
31606         * sysdeps/nptl/configure: Regenerated.
31607         * sysdeps/x86_64/nptl/configure.ac: Remove file.
31608         * sysdeps/x86_64/nptl/configure: Remove generated file.
31609         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
31610         unconditional.
31611         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
31613 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
31615         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
31616         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
31617         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
31618         it is defined.
31620         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
31621         instead of whether it is defined.
31622         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
31623         * sysdeps/hppa/dl-machine.h: Likewise.
31624         * sysdeps/ia64/dl-machine.h: Likewise.
31625         * sysdeps/m68k/dl-machine.h: Likewise.
31626         * sysdeps/microblaze/dl-machine.h: Likewise.
31627         * sysdeps/mips/dl-machine.: Likewise.
31628         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
31629         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31630         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
31631         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
31632         * sysdeps/sh/dl-machine.h: Likewise.
31633         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
31634         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
31635         * sysdeps/tile/dl-machine.h: Likewise.
31636         * sysdeps/x86_64/dl-machine.h: Likewise.
31638         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
31639         code.
31640         (verify_persistent_db): Likewise.
31642 2014-06-26  Roland McGrath  <roland@hack.frob.com>
31644         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
31645         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
31646         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
31647         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
31648         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
31649         Moved ...
31650         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
31651         ... here.
31652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
31653         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
31654         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
31655         Identical file removed.
31656         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
31657         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
31658         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
31659         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
31660         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
31661         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
31662         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
31663         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
31664         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
31665         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
31666         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
31667         Moved ...
31668         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
31669         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
31670         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
31671         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
31672         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
31673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
31674         Moved ...
31675         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
31676         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
31677         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
31678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
31679         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
31680         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
31681         Identical file removed.
31682         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
31683         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
31684         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
31685         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
31686         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
31687         Moved ...
31688         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
31689         ... here.
31690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
31691         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
31692         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
31693         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
31694         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
31695         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
31696         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
31697         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
31698         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
31699         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
31700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
31701         Moved ...
31702         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
31703         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
31704         Moved ...
31705         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
31706         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
31707         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
31708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
31709         Moved ...
31710         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
31711         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
31712         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
31714         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
31715         folded into ...
31716         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
31717         * sysdeps/unix/sysv/linux/s390/Versions
31718         (libpthread: GLIBC_2.19): New version set.
31719         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
31720         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
31721         (librt: GLIBC_2.3.3): New version set.
31722         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
31723         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
31724         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
31725         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
31726         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
31727         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
31728         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
31729         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
31730         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
31731         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
31732         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
31733         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
31734         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
31735         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
31736         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
31737         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
31738         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
31739         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
31740         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
31741         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
31742         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
31743         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
31744         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
31745         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
31746         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
31747         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
31748         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
31749         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
31750         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
31751         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
31752         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
31753         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
31754         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
31755         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
31756         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
31757         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
31758         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
31759         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
31760         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
31761         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
31762         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
31763         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
31764         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
31765         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
31766         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
31768         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
31769         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
31770         (__libc_vfork): Define the function under this name.
31771         [!NOT_IN_libc] (__vfork): Make this an alias.
31772         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31773         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
31774         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
31775         (__libc_vfork): Define the function under this name.
31776         [!NOT_IN_libc] (__vfork): Make this an alias.
31777         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
31778         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
31779         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
31780         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
31781         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
31782         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
31784         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
31785         code that was previously under [RESET_PID].
31786         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
31787         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
31788         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
31790         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
31791         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
31792         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
31793         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
31794         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
31795         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
31796         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
31797         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
31798         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
31799         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
31800         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
31801         Moved ...
31802         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
31803         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
31804         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
31805         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
31806         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
31807         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
31808         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
31809         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
31810         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
31811         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
31812         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
31813         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
31814         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
31815         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
31816         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
31817         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
31818         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
31819         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
31820         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
31821         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
31822         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
31823         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
31824         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
31825         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
31826         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
31827         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
31828         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
31829         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
31830         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
31832 2014-06-25  Roland McGrath  <roland@hack.frob.com>
31834         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
31835         that was previously under [RESET_PID].
31836         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
31838 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
31840         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
31841         not undefine and redefine.
31842         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
31843         [O_CLOEXEC]: Make code unconditional.
31844         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
31845         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
31846         <kernel-features.h>.
31847         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
31848         conditional variable definition.
31849         (shm_open) [O_CLOEXEC]: Make code unconditional.
31850         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
31851         code.
31853         * configure.ac (USE_REGPARMS): Don't define here.
31854         * configure: Regenerated.
31855         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
31856         * sysdeps/i386/configure: Regenerated.
31858         * nptl/createthread.c: Don't include kernel-features.h.
31859         * nptl/pthread_cancel.c: Likewise.
31860         * nptl/pthread_condattr_setclock.c: Likewise.
31861         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
31862         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
31863         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
31864         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
31865         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
31866         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
31867         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
31868         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
31869         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
31870         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
31871         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
31872         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
31873         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
31874         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
31875         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
31876         * nscd/gai.c: Likewise.
31877         * nss/nss_db/db-open.c: Likewise.
31878         * sysdeps/generic/ldsodefs.h: Likewise.
31879         * sysdeps/sh/nptl/tls.h: Likewise.
31880         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
31881         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
31882         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
31883         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
31884         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
31885         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
31886         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
31887         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
31888         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
31889         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
31890         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
31891         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
31892         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
31893         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
31894         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
31895         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
31896         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
31897         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
31898         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
31899         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
31900         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
31901         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
31902         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
31903         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
31904         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
31905         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
31906         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
31907         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
31908         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
31909         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
31910         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
31911         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
31912         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
31913         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
31914         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
31915         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
31916         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
31917         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
31918         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
31919         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
31920         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
31921         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
31922         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
31923         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
31924         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
31925         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
31926         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
31927         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
31928         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
31929         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
31930         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
31931         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
31932         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
31933         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
31934         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
31935         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
31936         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
31937         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
31938         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
31939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
31940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
31941         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
31942         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
31943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
31944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
31945         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
31946         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
31947         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
31948         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
31949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
31950         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
31951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
31952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
31953         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
31954         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
31955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
31956         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
31957         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
31958         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
31959         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
31960         * sysdeps/unix/sysv/linux/pread.c: Likewise.
31961         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
31962         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
31963         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
31964         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
31965         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
31966         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
31967         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
31968         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
31969         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
31970         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
31971         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
31972         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
31973         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
31974         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
31975         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
31976         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
31977         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
31978         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
31979         * sysdeps/unix/sysv/linux/system.c: Likewise.
31980         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
31981         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
31982         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
31983         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
31984         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
31985         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
31986         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31988         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
31989         * configure: Regenerated.
31990         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
31992         * configure.ac (base_machine): Do not set specially for particular
31993         machines here.
31994         * configure: Regenerated.
31995         * sysdeps/powerpc/preconfigure: Move machine and base_machine
31996         settings from configure.ac.
31997         * sysdeps/i386/preconfigure: New file.
31998         * sysdeps/s390/preconfigure: Likewise.
31999         * sysdeps/sh/preconfigure: Likewise.
32000         * sysdeps/sparc/preconfigure: Likewise.
32002 2014-06-25  Roland McGrath  <roland@hack.frob.com>
32004         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
32005         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
32006         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
32007         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
32008         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
32009         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
32010         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
32011         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
32012         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
32013         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
32014         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
32015         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
32016         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
32017         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
32018         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
32019         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
32020         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
32021         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
32022         * sysdeps/sparc/sparc64/Makefile: ... appended here.
32024         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
32025         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
32026         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
32027         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
32028         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
32029         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
32030         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
32031         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
32032         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
32033         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
32034         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
32035         * sysdeps/sparc/sparc32/sem_post.c: ... here.
32036         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
32037         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
32038         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
32039         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
32040         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
32041         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
32042         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
32043         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
32044         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
32045         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
32046         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
32047         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
32048         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
32049         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
32050         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
32051         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
32052         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
32053         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
32054         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
32055         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
32056         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
32057         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
32058         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
32059         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
32060         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
32061         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
32063         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
32064         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
32065         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
32066         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
32067         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32068         Moved ...
32069         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
32070         ... here.
32071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
32072         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
32073         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
32074         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
32075         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
32076         Moved ...
32077         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
32078         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
32079         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
32080         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
32081         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
32082         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
32083         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
32084         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32085         Moved ...
32086         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
32087         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32088         Moved ...
32089         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
32090         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
32091         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
32092         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32093         Moved ...
32094         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
32095         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
32096         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
32097         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
32098         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
32099         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
32100         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
32101         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
32102         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
32103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32104         Moved ...
32105         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
32106         ... here.
32107         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
32108         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
32109         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
32110         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
32111         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
32112         Moved ...
32113         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
32114         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
32115         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
32116         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
32117         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
32118         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
32119         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
32120         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32121         Moved ...
32122         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
32123         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32124         Moved ...
32125         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
32126         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
32127         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
32128         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32129         Moved ...
32130         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
32131         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
32132         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
32133         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
32134         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
32136 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32138         * timezone/checktab.awk: Update from tzcode 2014e.
32139         * timezone/private.h: Likewise.
32140         * timezone/tzfile.h: Likewise.
32141         * timezone/zdump.c: Likewise.
32142         * timezone/zic.c: Likewise.
32144         * sysdeps/unix/sysv/linux/kernel-features.h
32145         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
32146         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
32147         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
32148         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
32149         Remove conditional code.
32151 2014-06-25  Will Newton  <will.newton@linaro.org>
32153         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
32154         (_dl_arm_cap_flags): Add HWCAP2 values.
32155         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
32156         (_DL_HWCAP_COUNT): Increase to 37.
32157         (_DL_HWCAP_LAST): New define.
32158         (_DL_HWCAP2_LAST): New define.
32159         (_dl_procinfo): Add support for printing
32160         AT_HWCAP2 entries.
32161         (_dl_string_hwcap): Use _dl_hwcap_string.
32163 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32165         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
32167 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
32169         * README: Do not mention ports directory.
32171         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
32172         Remove macro.
32173         * sysdeps/unix/sysv/linux/futimes.c: Do not include
32174         <kernel-features.h>.
32175         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
32176         conditional variable definition.
32177         (__futimes): Update comment.
32178         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
32179         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
32181         [BZ #16560]
32182         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
32183         arguments close to 0.
32184         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
32185         Likewise.
32186         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
32187         Likewise.
32188         * math/auto-libm-test-in: Add more tests of exp10.
32189         * math/auto-libm-test-out: Regenerated.
32190         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32192         * sysdeps/unix/sysv/linux/kernel-features.h
32193         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
32194         * sysdeps/unix/sysv/linux/readv.c: Do not include
32195         <kernel-features.h>.
32196         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32197         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32198         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32199         unconditional.
32200         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32201         conditional code.
32202         * sysdeps/unix/sysv/linux/writev.c: Do not include
32203         <kernel-features.h>.
32204         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
32205         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
32206         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
32207         unconditional.
32208         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
32209         conditional code.
32211 2014-06-25  Will Newton  <will.newton@linaro.org>
32213         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
32214         comment changes throughout the file.  Remove checks
32215         for HAVE_*_H definitions that are not required.
32216         (__gen_tempname): Call abort if an unknown kind value is
32217         passed.
32219 2014-06-25  Andreas Schwab  <schwab@suse.de>
32221         [BZ #17086]
32222         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
32223         scalbln, scalblnf, scalblnl in libc.
32225 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32227         [BZ #17086]
32228         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
32229         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
32230         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
32232 2014-06-24  Roland McGrath  <roland@hack.frob.com>
32234         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
32235         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
32236         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
32237         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
32238         Update #include.
32239         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
32240         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
32241         Update #include.
32242         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
32243         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
32244         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
32245         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
32246         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
32247         * sysdeps/x86/bits/pthreadtypes.h: ... here.
32248         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
32249         * sysdeps/x86/bits/semaphore.h: ... here.
32250         * sysdeps/x86/nptl/elide.h: Moved ...
32251         * sysdeps/x86/elide.h: ... here.
32252         * sysdeps/x86_64/nptl/Implies: File removed.
32253         * sysdeps/i386/nptl/Implies: File removed.
32255 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
32257         [BZ #16539]
32258         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
32259         return the argument for normal arguments with exponent below -64.
32260         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32261         Likewise.
32262         * math/auto-libm-test-in: Add another test of expm1.
32263         * math/auto-libm-test-out: Regenerated.
32265         [BZ #16287]
32266         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
32267         calling __erfcl for arguments at least 16.
32268         * math/auto-libm-test-in: Add more tests of erf.
32269         * math/auto-libm-test-out: Regenerated.
32271         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
32272         individual architectures.
32273         * sysdeps/unix/sysv/linux/configure: Regenerated.
32274         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
32275         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
32276         * sysdeps/unix/sysv/linux/powerpc/configure.ac
32277         (ldd_rewrite_script): Define variable.
32278         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
32279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
32280         file.
32281         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
32282         generated file.
32283         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
32284         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
32285         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
32286         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
32287         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
32288         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
32289         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
32290         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
32292 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32294         [BZ #17084]
32295         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
32296         Rename member __data.d to __data.__elision_data.
32298 2014-06-24  Wilco  <wdijkstr@arm.com>
32300         * NEWS: Add 16918 to fixed bug list.
32302 2014-06-24  Wilco  <wdijkstr@arm.com>
32304         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
32306 2014-06-24  Wilco  <wdijkstr@arm.com>
32308         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
32309         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
32310         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
32311         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
32312         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
32313         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
32314         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
32315         Use _FPU_MASK_RM.
32317 2014-06-24  Wilco  <wdijkstr@arm.com>
32319         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
32321 2014-06-24  Wilco  <wdijkstr@arm.com>
32323         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
32324         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
32325         * sysdeps/arm/fesetround.c (fesetround): Remove space.
32326         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
32328 2014-06-24  Wilco  <wdijkstr@arm.com>
32330         [BZ #16918]
32331         * sysdeps/arm/feupdateenv.c (feupdateenv):
32332         Rewrite to reduce FPSCR accesses and fix return value.
32334 2014-06-24  Wilco  <wdijkstr@arm.com>
32336         * sysdeps/arm/fclrexcpt.c (feclearexcept):
32337         Optimize to avoid unnecessary FPSCR writes.
32338         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
32339         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
32340         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
32341         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
32343 2014-06-24  Wilco  <wdijkstr@arm.com>
32345         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
32346         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
32347         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
32348         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
32349         Call libc_fetestexcept_vfp.
32350         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
32351         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
32352         __SOFTFP__ ifdef so that they can be built for softfp.
32354 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
32356         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
32357         argument type signed char.
32359         * Makerules (check-abi): Dump diff of symlist if the test
32360         fails.
32362 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32364         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
32365         using abort.
32367         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
32368         Remove unused variable ST.
32370 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32372         [BZ #16354]
32373         [BZ #17061]
32374         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
32375         small arguments before calling __expm1.
32376         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
32377         small arguments before calling __expm1f.
32378         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
32379         small arguments before calling __expm1l.
32380         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
32381         Likewise.
32382         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
32383         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
32384         spurious underflow for some cosh tests.
32385         * math/auto-libm-test-out: Regenerated.
32386         * sysdeps/i386/fpu/libm-test-ulps: Update.
32388         [BZ #17050]
32389         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
32390         (__ieee754_y1): Set errno if return value overflows.
32391         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
32392         (__ieee754_y1f): Set errno if return value overflows.
32393         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
32394         (__ieee754_y1l): Set errno if return value overflows.
32395         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
32396         (__ieee754_y1l): Set errno if return value overflows.
32397         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
32398         * math/auto-libm-test-out: Regenerated.
32400         * math/gen-auto-libm-tests.c: Document use of
32401         ignore-zero-inf-sign.
32402         (input_flag_type): Add value flag_ignore_zero_inf_sign.
32403         (input_flags): Add ignore-zero-inf-sign.
32404         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
32405         * math/gen-libm-test.pl (generate_testfile): Handle
32406         ignore-zero-inf-sign.
32407         * math/auto-libm-test-in: Mark some cpow tests with
32408         ignore-zero-inf-sign and some with xfail-rounding.
32409         * math/auto-libm-test-out: Regenerated.
32410         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
32411         * sysdeps/i386/fpu/libm-test-ulps: Update.
32412         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32414         [BZ #16315]
32415         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
32416         overflowing or underflowing operations take place with sign of
32417         result.
32418         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
32419         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
32420         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
32421         (__ieee754_pow): Recompute overflowing and underflowing results in
32422         original rounding mode.
32423         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
32424         (__powl_helper): Allow negative argument X and scale negated value
32425         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
32426         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
32427         overflowing or underflowing operations take place with sign of
32428         result.
32429         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
32430         Include <math.h>.
32431         * math/auto-libm-test-in: Add more tests of pow.
32432         * math/auto-libm-test-out: Regenerated.
32433         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
32434         (pow_tonearest_test_data): Remove.
32435         (pow_test_tonearest): Likewise.
32436         (pow_towardzero_test_data): Likewise.
32437         (pow_test_towardzero): Likewise.
32438         (pow_downward_test_data): Likewise.
32439         (pow_test_downward): Likewise.
32440         (pow_upward_test_data): Likewise.
32441         (pow_test_upward): Likewise.
32442         (main): Don't call removed functions.
32443         * sysdeps/i386/fpu/libm-test-ulps: Update.
32444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32446 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
32449         Moved ...
32450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
32451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32452         Moved ...
32453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
32454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32455         Moved ...
32456         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
32457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
32458         Moved ...
32459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
32460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
32461         File removed.
32462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32463         File removed.
32464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
32465         File removed.
32466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
32467         File removed.
32468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
32469         File removed.
32470         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
32471         File removed.
32472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
32473         File removed.
32474         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32475         File removed.
32476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
32477         File removed.
32478         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32479         File removed.
32480         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
32481         File removed.
32482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
32483         File removed.
32484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
32485         Moved ...
32486         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
32487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
32488         Moved ...
32489         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
32490         ... here.
32491         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
32492         Moved ...
32493         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
32494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
32495         Moved ...
32496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
32497         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
32498         Moved ...
32499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
32500         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
32501         Moved ...
32502         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
32503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
32504         Moved ...
32505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
32506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
32507         Moved ...
32508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
32509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
32510         Moved ...
32511         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
32512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
32513         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
32514         ... here.
32515         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
32516         Moved ...
32517         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
32518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
32519         Moved ...
32520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
32521         ... here.
32522         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
32523         Moved ...
32524         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
32525         ... here.
32526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
32527         Moved ...
32528         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
32529         ... here.
32530         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
32531         Moved ...
32532         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
32533         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
32534         Moved ...
32535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
32536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
32537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
32538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
32539         Moved ...
32540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
32541         ... here.
32542         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32543         Moved ...
32544         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
32545         ... here.
32546         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
32547         Moved ...
32548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
32549         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32550         Moved ...
32551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
32552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
32553         Moved ...
32554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
32555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32556         Moved ...
32557         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
32558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
32559         Moved ...
32560         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
32561         ... here.
32562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32563         Moved ...
32564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
32565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
32566         Moved ...
32567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
32568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32569         Moved ...
32570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
32571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
32572         Moved ...
32573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
32574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
32575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
32576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
32577         Moved ...
32578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
32579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32580         Moved ...
32581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
32582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
32583         Moved ...
32584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
32585         ... here.
32586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32587         Moved ...
32588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
32589         ... here.
32590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
32591         Moved ...
32592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
32593         ... here.
32594         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32595         Moved ...
32596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
32597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
32598         Moved ...
32599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
32600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32601         Moved ...
32602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
32603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
32604         Moved ...
32605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
32606         ... here.
32607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32608         Moved ...
32609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
32610         ... here.
32611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
32612         Moved ...
32613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
32614         ... here.
32615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32616         Moved ...
32617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
32618         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
32619         Moved ...
32620         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
32622 2014-06-23  Will Newton  <will.newton@linaro.org>
32623             Wilco  <wdijkstr@arm.com>
32625         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
32626         implementation.  Include get-rounding-mode.h.
32627         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
32628         [!libc_feholdsetround_noex_ctx]: Define
32629         libc_feholdsetround_noex_ctx.
32630         [!libc_feholdsetround_noexf_ctx]: Define
32631         libc_feholdsetround_noexf_ctx.
32632         [!libc_feholdsetround_noexl_ctx]: Define
32633         libc_feholdsetround_noexl_ctx.
32634         (libc_feholdsetround_ctx): New function.
32635         (libc_feresetround_ctx): New function.
32636         (libc_feholdsetround_noex_ctx): New function.
32637         (libc_feresetround_noex_ctx): New function.
32639 2014-06-23  Roland McGrath  <roland@hack.frob.com>
32641         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
32642         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
32643         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
32644         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
32645         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
32646         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
32648         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
32649         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
32650         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
32651         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
32652         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
32653         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
32654         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
32655         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
32656         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
32657         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
32658         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
32659         Moved ...
32660         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
32661         ... here.
32662         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
32663         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
32664         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
32665         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
32666         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
32667         Moved ...
32668         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
32669         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
32670         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
32671         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
32672         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
32673         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
32674         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
32675         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
32676         Moved ...
32677         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
32678         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
32679         Moved ...
32680         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
32681         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
32682         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
32683         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
32684         Moved ...
32685         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
32686         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
32687         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
32688         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
32689         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
32690         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
32691         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
32692         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
32693         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
32694         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
32695         Moved ...
32696         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
32697         ... here.
32698         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
32699         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
32700         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
32701         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
32702         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
32703         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
32704         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
32705         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
32706         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
32707         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
32708         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
32709         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
32710         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
32711         Moved ...
32712         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
32713         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
32714         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
32715         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
32716         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
32717         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
32718         Moved ...
32719         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
32720         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
32721         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
32722         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
32723         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
32725         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
32726         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
32727         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
32728         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
32729         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
32730         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
32731         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
32732         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
32733         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
32734         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
32735         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
32736         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
32737         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
32738         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
32739         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
32740         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
32741         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
32742         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
32743         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
32744         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
32745         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
32746         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
32747         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
32748         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
32749         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
32750         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
32751         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
32752         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
32754 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
32756         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
32757         (FALLOC_FL_COLLAPSE_RANGE): New macro.
32758         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
32759         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
32760         (IPV6_PMTUDISC_INTERFACE): Likewise.
32761         (IPV6_PMTUDISC_OMIT): Likewise.
32763 2014-06-23  Andreas Schwab  <schwab@suse.de>
32765         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
32766         Remove unused errout label.
32768 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32770         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
32771         macro: hardware supports Vector Crypto instructions.
32773 2014-06-23  Will Newton  <will.newton@linaro.org>
32775         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
32776         rather than __builtin_expect.
32778         * elf/dl-lookup.c (undefined_msg): Remove variable.
32779         (_dl_lookup_symbol_x): Replace undefined_msg with string
32780         literal.
32782         * elf/dl-lookup.c (do_lookup_unique): New function.
32783         (do_lookup_x): Move STB_GNU_UNIQUE handling code
32784         to a separate function.
32786 2014-06-23  Andreas Schwab  <schwab@suse.de>
32788         [BZ #17079]
32789         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
32790         before reading the next line.
32792 2014-06-23  Will Newton  <will.newton@linaro.org>
32794         * test-skeleton.c (signal_handler): Use printf and %m
32795         rather than perror.  Use printf rather than fprintf to
32796         stderr.  Use puts rather than fputs to stderr.
32797         (main): Likewise.
32799 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
32801         * nscd/nscd.c (thread_info_t): Remove typedef.
32802         (thread_info): Remove variable.
32804 2014-06-21  Allan McRae  <allan@archlinux.org>
32806         * NEWS: Mention CVE-2014-4043.
32808 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32810         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
32811         * nptl/smp.h: ... here.
32813         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
32815         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
32816         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
32817         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
32818         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
32820         * nptl/allocatestack.c: Include <stack-aliasing.h>.
32821         * nptl/stack-aliasing.h: New file.
32822         * sysdeps/i386/i686/stack-aliasing.h: New file.
32823         * sysdeps/i386/i686/nptl/Makefile: File removed.
32824         * sysdeps/x86_64/stack-aliasing.h: New file.
32825         * sysdeps/x86_64/nptl/Makefile
32826         (CFLAGS-pthread_create.c): Variable removed.
32828         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
32829         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
32830         old file.
32831         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
32832         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
32833         old file.
32835 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
32837         * sysdeps/unix/sysv/linux/arm/kernel-features.h
32838         (__ASSUME_SIGFRAME_V2): Remove macro.
32839         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
32840         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
32841         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
32842         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
32843         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
32844         Declare as function.  Remove conditional macro definitions.
32845         (__default_rt_sa_restorer): Likewise.
32846         (__default_sa_restorer_v1): Remove declaration.
32847         (__default_sa_restorer_v2): Likewise.
32848         (__default_rt_sa_restorer_v1): Likewise.
32849         (__default_rt_sa_restorer_v2): Likewise.
32850         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
32851         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
32852         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
32854 2014-06-20  Roland McGrath  <roland@hack.frob.com>
32856         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
32857         (libpthread-routines): Add sysdep.
32858         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
32859         * sysdeps/unix/sysv/linux/sparc/Versions
32860         (libpthread: GLIBC_2.3.3): New version set.
32861         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
32862         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
32863         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
32864         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
32865         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
32866         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
32867         Moved ...
32868         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
32869         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
32870         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
32871         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
32872         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
32873         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
32874         * sysdeps/sparc/nptl/sem_init.c: ... here.
32875         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
32876         * sysdeps/sparc/nptl/sem_post.c: ... here.
32877         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
32878         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
32879         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
32880         * sysdeps/sparc/nptl/sem_wait.c: ... here.
32881         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
32882         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
32883         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
32884         (libpthread-routines): Add cpu_relax.
32885         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
32886         File removed.
32887         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
32888         (librt: GLIBC_2.3.3): New version set.
32889         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
32890         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
32891         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
32892         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
32893         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
32894         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
32895         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
32896         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
32897         Moved ...
32898         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
32899         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
32900         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
32901         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
32902         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
32903         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
32904         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
32905         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
32906         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
32907         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
32908         Moved ...
32909         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
32910         Update #include.
32911         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
32912         Moved ...
32913         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
32914         Update #include.
32915         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
32916         Moved ...
32917         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
32918         Update #include.
32919         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
32920         Moved ...
32921         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
32922         Update #include.
32923         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
32924         Moved ...
32925         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
32926         Update #include.
32927         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
32928         Moved ...
32929         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
32930         Update #include.
32931         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
32932         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
32933         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
32934         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
32935         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
32936         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
32937         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
32938         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
32939         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
32940         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
32941         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
32942         Moved ...
32943         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
32944         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
32945         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
32946         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
32947         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
32949 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32951         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
32952         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
32953         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
32954         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
32955         * nscd/nscd.c: Likewise.
32956         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
32957         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
32958         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
32959         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
32961         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
32962         <kernel-features.h>.
32963         (init_mq_netlink): Remove conditional have_sock_cloexec
32964         definitions.  Remove code conditional on have_sock_cloexec < 0.
32965         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
32966         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
32967         * sysdeps/unix/sysv/linux/opensock.c: Do not include
32968         <kernel-features.h>.
32969         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
32970         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
32972 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
32974         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
32975         Add tests for memset_chk and memset.
32977         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
32978         with AVX2_Usable.
32980 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
32982         [BZ #16046]
32983         * elf/tst-dl-iter-static.c: New file.
32984         * elf/Makefile (tests-static): Add tst-dl-iter-static.
32986         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
32987         error.
32989 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
32991         * sysdeps/unix/sysv/linux/kernel-features.h
32992         (__ASSUME_F_GETOWN_EX): Remove macro.
32993         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
32994         <kernel-features.h>.
32995         (miss_F_GETOWN_EX): Remove variable or macro.
32996         (do_fcntl): Do not check miss_F_GETOWN_EX.
32997         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
32999         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
33000         Remove macro.
33001         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
33002         [!__ASSUME_AT_RANDOM]: Remove conditional code.
33003         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
33005         * sysdeps/unix/sysv/linux/kernel-features.h
33006         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
33007         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
33008         [ADJ_OFFSET_SS_READ]: Make code unconditional.
33009         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
33011 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
33013         [BZ #17075]
33014         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
33015         Fix calculation of the symbol's value.
33016         * sysdeps/arm/tst-armtlsdescloc.c: New file.
33017         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
33018         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
33019         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
33020         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
33021         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
33022         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
33023         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
33024         (modules-names): Add `tst-armtlsdescmod',
33025         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
33026         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
33027         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33028         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
33029         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
33030         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
33031         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
33032         ($(objpfx)tst-armtlsdescloc): New dependency.
33033         ($(objpfx)tst-armtlsdescextnow): Likewise.
33034         ($(objpfx)tst-armtlsdescextlazy): Likewise.
33035         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
33036         TLS scheme support.
33037         * sysdeps/arm/configure: Regenerate.
33039 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
33041         * include/fcntl.h (__atfct_seterrno): Remove prototype.
33042         (__atfct_seterrno_2): Likewise.
33043         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
33044         <kernel-features.h>.
33045         (__ASSUME_ATFCTS): Do not undefine and redefine.
33046         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
33047         (__have_atfcts): Remove conditional definition.
33048         (__fxstatat([__NR_fstatat64]: Make code unconditional.
33049         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
33050         unreachable if [__ASSUME_ATFCTS].
33051         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
33052         not undefine and redefine.
33053         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
33054         <kernel-features.h>.
33055         (faccessat) [__NR_faccessat]: Make code unconditional.
33056         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
33057         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
33058         <kernel-features.h>.
33059         (fchmodat) [__NR_fchmodat]: Make code unconditional.
33060         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33061         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
33062         <kernel-features.h>.
33063         (fchownat) [__NR_fchownat]: Make code unconditional.
33064         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
33065         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
33066         <kernel-features.h>.
33067         (futimesat) [__NR_futimesat]: Make code unconditional.
33068         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
33069         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
33070         <kernel-features.h>.
33071         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33072         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33073         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
33074         <kernel-features.h>.
33075         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
33076         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33077         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
33078         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
33079         <kernel-features.h>.
33080         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
33081         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33082         * sysdeps/unix/sysv/linux/linkat.c: Do not include
33083         <kernel-features.h>.
33084         (linkat) [__NR_linkat]: Make code unconditional.
33085         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33086         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
33087         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
33088         <kernel-features.h>.
33089         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
33090         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
33091         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
33092         <kernel-features.h>.
33093         (mkdirat) [__NR_mkdirat]: Make code unconditional.
33094         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
33095         * sysdeps/unix/sysv/linux/openat.c: Do not include
33096         <kernel-features.h>.
33097         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
33098         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
33099         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
33100         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
33101         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
33102         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
33103         <kernel-features.h>.
33104         (readlinkat) [__NR_readlinkat]: Make code unconditional.
33105         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
33106         result of INLINE_SYSCALL directly, not via int variable.
33107         * sysdeps/unix/sysv/linux/renameat.c: Do not include
33108         <kernel-features.h>.
33109         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
33110         (renameat) [__NR_renameat]: Make code unconditional.
33111         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
33112         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
33113         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
33114         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
33115         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
33116         (__ASSUME_ATFCTS): Do not undefine and redefine.
33117         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
33118         <kernel-features.h>.
33119         (symlinkat) [__NR_symlinkat]: Make code unconditional.
33120         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33121         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
33122         <kernel-features.h>.
33123         (unlinkat) [__NR_unlinkat]: Make code unconditional.
33124         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
33125         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
33126         (__ASSUME_ATFCTS): Do not undefine and redefine.
33127         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
33128         <kernel-features.h>.
33129         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
33130         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
33131         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
33132         <kernel-features.h>.
33133         (__xmknodat) [__NR_mknodat]: Make code unconditional.
33134         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
33136 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
33138         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
33140 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
33142         [BZ #17069]
33143         * posix/regcomp.c (parse_reg_exp): Deallocate partially
33144         constructed tree before returning error.
33145         * posix/bug-regexp36.c: Expand test case.
33147 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
33149         [BZ #6803]
33150         * math/libm-test.inc (scalbln_test_date):
33151         Add errno expectations.
33152         * math/w_scalblnf.c: New File.
33153         Add wrapper which checks for setting errno to ERANGE.
33154         Add weak_alias for corresponding scalbln function.
33155         * math/w_scalbln.c: Likewise.
33156         * math/w_scalblnl.c: Likewise.
33157         * math/Makefile (libm-calls): Add w_scalbln.
33158         * sysdeps/ieee754/flt-32/s_scalblnf.c:
33159         Remove weak_alias for corresponding scalbln function.
33160         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
33161         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
33162         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
33163         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
33164         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
33165         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
33166         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
33167         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
33168         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
33169         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
33170         Remove long_double_symbol for scalblnl function in libm, libc.
33171         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
33172         Add wrapper which checks for setting errno to ERANGE.
33173         Add long_double_symbol for scalblnl function in libm, libc.
33174         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
33175         Remove long_double_symbol for scalblnl in libm.
33176         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
33177         Add wrapper which checks for setting errno to ERANGE.
33178         Add long_double_symbol for scalblnl function in libm.
33179         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
33180         Do not use wrapper because of own implementation.
33182 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
33184         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
33185         3 bytes for __pad1 for x32.
33186         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
33188 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
33189             H.J. Lu  <hongjiu.lu@intel.com>
33191         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
33192         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
33193         * sysdeps/x86_64/multiarch/memset.S: Likewise.
33194         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33195         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
33197 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
33199         [BZ #17069]
33200         * posix/regcomp.c (parse_expression): Deallocate partially
33201         constructed tree before returning error.
33202         * posix/Makefile.c (tests): Add bug-regex36.
33203         (generated): Add bug-regex36.mtrace.
33204         (tests-special): Add $(objpfx)bug-regex36-mem.out
33205         (bug-regex36-ENV): New variable.
33206         ($(objpfx)bug-regex36-mem.out): New rule.
33207         * posix/bug-regex36.c: New file.
33209 2014-06-19  Will Newton  <will.newton@linaro.org>
33211         * malloc/malloc.c (systrim): If extra is zero then return
33212         early.
33214 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
33216         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
33218 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
33220         * sysdeps/aarch64/strchr.S: New file.
33222 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33224         [BZ #17022]
33225         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
33226         from arguments -2 or below.
33227         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
33228         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
33230 2014-06-18  Andreas Schwab  <schwab@suse.de>
33232         [BZ #17062]
33233         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
33234         of a bracket expr not to run off the end of the string.
33235         * posix/Makefile (tests): Add tst-fnmatch3.
33236         * posix/tst-fnmatch3.c: New file.
33238 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
33240         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
33241         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
33242         [$(cross-compiling) = no]: Likewise.
33243         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
33244         [$(cross-compiling) = no]: Likewise.
33246 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
33248         [BZ #17031]
33249         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
33250         double, adjusted for any remainder from the high double.
33251         * math/libm-test.inc (nearbyint): Add tests.
33252         (rint): Likewise.
33254 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33256         * nptl/sysdeps/powerpc/Makefile: Moved ...
33257         * sysdeps/powerpc/nptl/Makefile: ... here.
33258         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
33259         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
33260         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
33261         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
33262         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
33263         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
33264         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
33265         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
33266         * nptl/sysdeps/powerpc/tls.h: Moved ...
33267         * sysdeps/powerpc/nptl/tls.h: ... here.
33269 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
33271         [BZ #16681]
33272         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
33273         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
33274         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
33275         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
33276         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
33277         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
33278         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
33279         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
33280         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
33282 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
33284         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
33286 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
33288         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
33289         defined operator.
33291         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
33292         $TIMEOUTFACTOR.
33294 2014-06-16  Florian Weimer  <fweimer@redhat.com>
33296         [BZ #17058]
33297         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
33298         non-executed part of the test.
33300 2014-06-16  Andreas Schwab  <schwab@suse.de>
33302         * string/bits/string2.h (strdup, strndup): Update feature guard.
33304 2014-06-14  David S. Miller  <davem@davemloft.net>
33306         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33308 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
33310         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
33311         that was previously under [RESET_PID].
33312         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
33314         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
33315         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
33316         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
33317         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
33318         (__libc_vfork): New strong alias.
33319         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
33321 2014-06-14 Andi Kleen  <ak@linux.intel.com>
33323         * sysdeps/generic/elide.h: New file.
33325 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
33327         * Makefile (installed-headers): Adjust path of pthread.h header.
33329 2014-06-13  Roland McGrath  <roland@hack.frob.com>
33331         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
33332         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
33333         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
33334         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
33336         * nptl/sysdeps/s390/Makefile: Moved ...
33337         * sysdeps/s390/nptl/Makefile: ... here.
33338         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
33339         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
33340         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
33341         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
33342         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
33343         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
33344         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
33345         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
33346         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
33347         * sysdeps/s390/nptl/pthreaddef.h: ... here.
33348         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
33349         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
33350         * nptl/sysdeps/s390/tls.h: Moved ...
33351         * sysdeps/s390/nptl/tls.h: ... here.
33353         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
33354         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
33356 2014-06-13  David S. Miller  <davem@davemloft.net>
33358         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
33359         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
33360         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
33361         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
33362         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
33363         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
33364         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
33365         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
33366         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
33367         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
33368         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
33369         Remove RESET_PID cpp guards.
33370         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
33371         Remove RESET_PID cpp guards.
33372         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
33374 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
33376         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
33377         __sp to uintptr_t.
33379 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33381         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
33382         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
33383         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
33384         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
33385         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
33386         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
33387         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
33388         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
33389         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
33390         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
33391         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
33392         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
33393         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
33394         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
33395         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
33396         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
33397         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
33398         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
33399         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
33400         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
33402         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
33403         (pthread_rwlock_rdlock): Add elision.
33404         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
33405         (pthread_rwlock_wrlock): Add elision.
33406         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
33407         (pthread_rwlock_trywrlock): Add elision.
33408         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
33409         (pthread_rwlock_tryrdlock): Add elision.
33410         * nptl/pthread_rwlock_unlock.c: Include elide.h.
33411         (pthread_rwlock_tryrdlock): Add elision unlock.
33412         * nptl/sysdeps/pthread/pthread.h:
33413         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
33414         (PTHREAD_RWLOCK_INITIALIZER,
33415         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
33416         Handle new elision field.
33417         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
33418         * sysdeps/arm/nptl/bits/pthreadtypes.h
33419         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33420         * sysdeps/sh/nptl/bits/pthreadtypes.h
33421         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33422         * sysdeps/tile/nptl/bits/pthreadtypes.h
33423         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33424         * sysdeps/a/nptl/bits/pthreadtypes.h
33425         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33426         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
33427         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33428         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
33429         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33430         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
33431         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33432         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
33433         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33434         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
33435         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33436         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
33437         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33438         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
33439         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33440         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
33441         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33442         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
33443         (elision_init): Set try_xbegin to zero when no RTM.
33444         * sysdeps/x86/nptl/bits/pthreadtypes.h
33445         (pthread_rwlock_t): Change __pad1 to __rwelision.
33446         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
33448 2014-06-13  Andi Kleen  <ak@linux.intel.com>
33450         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
33451         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
33452         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
33453         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
33455 2014-06-13  Meador Inge  <meadori@codesourcery.com>
33457         [BZ #16996]
33458         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
33459         that the cached result has been set before returning it.
33461 2014-06-12  Roland McGrath  <roland@hack.frob.com>
33463         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
33464         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
33465         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
33466         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
33467         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
33468         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
33470         * nptl/sysdeps/sparc/Makefile: Moved ...
33471         * sysdeps/sparc/nptl/Makefile: ... here.
33472         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
33473         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
33474         * nptl/sysdeps/sparc/tls.h: Moved ...
33475         * sysdeps/sparc/nptl/tls.h: ... here.
33476         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
33477         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
33478         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
33479         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
33480         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
33481         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
33482         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
33483         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
33484         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
33485         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
33486         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
33487         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
33488         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
33489         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
33490         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
33491         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
33492         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
33493         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
33494         Update #include.
33495         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
33496         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
33497         Update #include.
33498         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
33499         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
33500         Update #include.
33501         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
33502         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
33503         Update #include.
33505         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33507         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
33508         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
33510         * sysdeps/pthread/posix-timer.h: Include <list.h>.
33511         (struct list_links): Type removed.
33512         (struct thread_node, struct timer_node): Replace struct list_links
33513         with struct list_head.
33514         (list_unlink_ip): Likewise.
33515         * sysdeps/pthread/timer_routines.c
33516         (timer_free_list, thread_free_list, thread_active_list): Likewise.
33517         (list_append, list_insbefore): Likewise.
33518         (list_init): Function removed.
33519         (thread_init, init_module): Use INIT_LIST_HEAD instead.
33520         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
33521         * sysdeps/pthread/Makefile: ... here, new file.
33523         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
33524         * sysdeps/nptl/Implies: ... here.
33525         * sysdeps/unix/sysv/linux/Implies: Add nptl.
33526         * nptl/sysdeps/pthread/list.h: Moved ...
33527         * include/list.h: ... here.
33528         * nptl/sysdeps/pthread/createthread.c: Moved ...
33529         * nptl/createthread.c: ... here.
33530         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
33531         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
33532         * nptl/pt-longjmp.c: ... here.
33533         * nptl/sysdeps/pthread/Makefile: Moved ...
33534         * sysdeps/nptl/Makefile: ... here.
33535         * nptl/sysdeps/pthread/Subdirs: Moved ...
33536         * sysdeps/nptl/Subdirs: ... here.
33537         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
33538         * sysdeps/nptl/aio_misc.h: ... here.
33539         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
33540         * sysdeps/nptl/bits/libc-lock.h: ... here.
33541         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
33542         * sysdeps/nptl/bits/libc-lockP.h: ... here.
33543         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
33544         * sysdeps/nptl/bits/stdio-lock.h: ... here.
33545         * nptl/sysdeps/pthread/configure: Moved ...
33546         * sysdeps/nptl/configure: ... here.
33547         * nptl/sysdeps/pthread/configure.ac: Moved ...
33548         * sysdeps/nptl/configure.ac: ... here.
33549         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
33550         * sysdeps/nptl/gai_misc.h: ... here.
33551         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
33552         * sysdeps/nptl/librt-cancellation.c: ... here.
33553         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
33554         * sysdeps/nptl/malloc-machine.h: ... here.
33555         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
33556         * sysdeps/nptl/pthread-functions.h: ... here.
33557         * nptl/sysdeps/pthread/pthread.h: Moved ...
33558         * sysdeps/nptl/pthread.h: ... here.
33559         * nptl/sysdeps/pthread/setxid.h: Moved ...
33560         * sysdeps/nptl/setxid.h: ... here.
33561         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
33562         * sysdeps/nptl/sigfillset.c: ... here.
33563         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
33564         * sysdeps/nptl/tcb-offsets.h: ... here.
33565         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
33566         * sysdeps/nptl/tst-mqueue8x.c: ... here.
33567         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
33568         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
33569         * nptl/sysdeps/pthread/allocalim.h: Moved ...
33570         * sysdeps/pthread/allocalim.h: ... here.
33571         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
33572         * sysdeps/pthread/bits/sigthread.h: ... here.
33573         * nptl/sysdeps/pthread/flockfile.c: Moved ...
33574         * sysdeps/pthread/flockfile.c: ... here.
33575         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
33576         * sysdeps/pthread/ftrylockfile.c: ... here.
33577         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
33578         * sysdeps/pthread/funlockfile.c: ... here.
33579         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
33580         * sysdeps/pthread/posix-timer.h: ... here.
33581         * nptl/sysdeps/pthread/timer_create.c: Moved ...
33582         * sysdeps/pthread/timer_create.c: ... here.
33583         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
33584         * sysdeps/pthread/timer_delete.c: ... here.
33585         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
33586         * sysdeps/pthread/timer_getoverr.c: ... here.
33587         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
33588         * sysdeps/pthread/timer_gettime.c: ... here.
33589         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
33590         * sysdeps/pthread/timer_routines.c: ... here.
33591         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
33592         * sysdeps/pthread/timer_settime.c: ... here.
33593         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
33594         * sysdeps/pthread/tst-timer.c: ... here.
33595         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
33596         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
33598         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
33599         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
33601         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
33602         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
33603         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
33604         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
33605         Update #include target.
33606         * nptl/sysdeps/i386/i686/Makefile: Moved ...
33607         * sysdeps/i386/i686/nptl/Makefile: ... here.
33608         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
33609         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
33610         Update #include target.
33611         * nptl/sysdeps/i386/i686/tls.h: Moved ...
33612         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
33613         * nptl/sysdeps/i386/Makefile: Moved ...
33614         * sysdeps/i386/nptl/Makefile: ... here.
33615         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
33616         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
33617         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
33618         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
33619         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
33620         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
33621         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
33622         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
33623         * sysdeps/i386/nptl/pthreaddef.h: ... here.
33624         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
33625         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
33626         * nptl/sysdeps/i386/tls.h: Moved ...
33627         * sysdeps/i386/nptl/tls.h: ... here.
33629         * sysdeps/sh/Makefile [$(subdir) = csu]
33630         (gen-as-const-headers): Add tcb-offsets.sym.
33631         * nptl/sysdeps/sh/Makefile: File removed.
33632         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
33633         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
33634         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
33635         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
33636         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
33637         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
33638         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
33639         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
33640         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
33641         * sysdeps/sh/nptl/pthreaddef.h: ... here.
33642         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
33643         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
33644         * nptl/sysdeps/sh/tls.h: Moved ...
33645         * sysdeps/sh/nptl/tls.h: ... here.
33646         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
33647         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
33648         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
33649         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
33650         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
33651         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
33652         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
33653         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
33654         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
33655         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
33656         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
33657         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
33658         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
33659         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
33660         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
33661         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
33662         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
33663         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
33664         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
33665         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
33666         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
33667         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
33668         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
33669         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
33670         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
33671         Moved ...
33672         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
33673         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
33674         Moved ...
33675         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
33676         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
33677         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
33678         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
33679         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
33680         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
33681         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
33682         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
33683         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
33684         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
33685         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
33686         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
33687         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
33688         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
33689         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
33690         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
33691         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
33692         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
33693         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
33695 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
33697         * posix/spawn_faction_addopen.c: Include string.h.
33699 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33701         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
33702         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
33703         * nptl/sysdeps/x86_64/Makefile: Moved ...
33704         * sysdeps/x86_64/nptl/Makefile: ... here.
33705         * nptl/sysdeps/x86_64/configure: Moved ...
33706         * sysdeps/x86_64/nptl/configure: ... here.
33707         * nptl/sysdeps/x86_64/configure.ac: Moved ...
33708         * sysdeps/x86_64/nptl/configure.ac: ... here.
33709         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
33710         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
33711         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
33712         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
33713         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
33714         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
33715         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
33716         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
33717         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
33718         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
33719         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
33720         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
33721         * nptl/sysdeps/x86_64/tls.h: Moved ...
33722         * sysdeps/x86_64/nptl/tls.h: ... here.
33723         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
33724         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
33725         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
33726         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
33728         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
33730 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33732         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33734 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
33736         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
33737         type.
33738         [POSIX] (off_t): Likewise.
33739         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
33740         [POSIX] (S_ISBLK): Require macro.
33741         [POSIX] (S_ISCHR): Likewise.
33742         [POSIX] (S_ISDIR): Likewise.
33743         [POSIX] (S_ISFIFO): Likewise.
33744         [POSIX] (S_ISREG): Likewise.
33745         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
33746         optional-macro.
33747         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
33748         type.
33749         [POSIX] (time_t): Likewise.
33750         [POSIX] (timer_t): Likewise.
33752 2014-06-11  Florian Weimer  <fweimer@redhat.com>
33754         [BZ #17048]
33755         * posix/spawn_int.h (struct __spawn_action): Make the path string
33756         non-const to support deallocation.
33757         * posix/spawn_faction_addopen.c
33758         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
33759         * posix/spawn_faction_destroy.c
33760         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
33761         path in all spawn_do_open actions.
33762         * posix/tst-spawn.c (do_test): Exercise the copy operation in
33763         posix_spawn_file_actions_addopen.
33765 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
33767         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
33768         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
33769         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
33770         conditional code always true.
33771         (__libc_vfork): New alias.
33773 2014-06-11  Roland McGrath  <roland@hack.frob.com>
33775         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33776         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
33778         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
33780         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33781         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
33783         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
33784         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
33786         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
33787         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
33789 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
33791         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
33792         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
33793         multiarch strcmp for PPC64.
33794         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
33795         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
33796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
33797         multiarch optimizations.
33798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
33799         (__libc_ifunc_impl_list): Likewise.
33801 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
33803         * benchtests/scripts/validate_benchout.py: New script.
33804         * benchtests/Makefile (bench-func): Call it.
33805         * benchtests/scripts/benchout.schema.json: New file.
33807 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
33809         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
33810         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
33811         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
33812         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
33813         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
33814         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
33815         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
33816         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
33817         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
33818         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
33819         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
33820         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
33821         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
33822         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
33823         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
33824         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
33825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
33826         Moved ...
33827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
33828         ... here.
33829         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
33830         Moved ...
33831         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
33832         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
33833         Moved ...
33834         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
33835         ... here.
33836         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
33837         Moved ...
33838         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
33839         ... here.
33840         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
33841         Moved ...
33842         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
33843         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
33844         Moved ...
33845         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
33846         ... here.
33847         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
33848         Moved ...
33849         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
33850         ... here.
33851         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
33852         Moved ...
33853         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
33854         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
33855         Moved ...
33856         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
33857         ... here.
33858         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
33859         Moved ...
33860         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
33861         ... here.
33862         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
33863         Moved ...
33864         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
33865         ... here.
33866         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
33867         Moved ...
33868         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
33869         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
33870         Moved ...
33871         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
33872         ... here.
33873         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
33874         Moved ...
33875         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
33876         ... here.
33877         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
33878         Moved ...
33879         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
33880         ... here.
33881         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
33882         Moved ...
33883         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
33884         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
33885         Moved ...
33886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
33887         ... here.
33888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
33889         Moved ...
33890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
33891         ... here.
33892         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
33893         Moved ...
33894         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
33895         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
33896         Moved ...
33897         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
33898         ... here.
33899         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
33900         Moved ...
33901         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
33902         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
33903         Moved ...
33904         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
33905         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
33906         Moved ...
33907         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
33908         ... here.
33909         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
33910         Moved ...
33911         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
33912         ... here.
33913         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
33914         Moved ...
33915         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
33916         ... here.
33917         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
33918         Moved ...
33919         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
33920         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
33921         Moved ...
33922         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
33923         ... here.
33924         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
33925         Moved ...
33926         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
33927         ... here.
33928         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
33929         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
33930         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
33931         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
33932         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
33933         Moved ...
33934         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
33935         ... here.
33936         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
33937         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
33938         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
33939         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
33940         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
33941         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
33942         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
33943         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
33944         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
33945         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
33946         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
33947         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
33948         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
33949         Moved ...
33950         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
33951         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
33952         Moved ...
33953         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
33954         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
33955         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
33956         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
33957         Moved ...
33958         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
33959         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
33960         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
33961         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
33962         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
33963         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
33964         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
33966 2014-06-10  Wilco  <wdijkstr@arm.com>
33968         * math/test-fenv-return.c: New file.
33969         * math/Makefile: Add new test test-fenv-return.
33971 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
33973         [BZ #17042]
33974         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
33975         when x - 1 is zero.
33976         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
33977         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
33978         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
33979         0.0L for an argument of 1.0L.
33980         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
33981         Likewise.
33982         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
33983         value when x - 1 is zero.
33984         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
33985         * sysdeps/i386/fpu/libm-test-ulps: Update.
33986         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33988 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
33990         [BZ #15119]
33991         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
33993 2014-06-09  Roland McGrath  <roland@hack.frob.com>
33995         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
33996         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
33998 2014-06-09  Roland McGrath  <roland@hack.frob.com>
34000         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34001         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
34003         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34004         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
34006         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34007         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
34009         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
34010         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
34012         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
34013         if not already defined.
34014         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
34015         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
34016         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
34017         (TLS_INIT_TP): Use it.
34018         (TLS_DEFINE_INIT_TP): New macro.
34019         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
34021 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
34023         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
34024         constant.
34025         [POSIX] (IXANY): Likewise.
34026         [POSIX] (OLCUC): Likewise.
34027         [POSIX || POSIX2008] (CBAUD): Do not allow.
34028         [POSIX || POSIX2008] (DEFECHO): Likewise.
34029         [POSIX || POSIX2008] (ECHOCTL): Likewise.
34030         [POSIX || POSIX2008] (ECHOKE): Likewise.
34031         [POSIX || POSIX2008] (ECHOPRT): Likewise.
34032         [POSIX || POSIX2008] (EXTA): Likewise.
34033         [POSIX || POSIX2008] (EXTB): Likewise.
34034         [POSIX || POSIX2008] (FLUSHO): Likewise.
34035         [POSIX || POSIX2008] (LOBLK): Likewise.
34036         [POSIX || POSIX2008] (PENDIN): Likewise.
34037         [POSIX || POSIX2008] (SWTCH): Likewise.
34038         [POSIX || POSIX2008] (VDISCARD): Likewise.
34039         [POSIX || POSIX2008] (VDSUSP): Likewise.
34040         [POSIX || POSIX2008] (VLNEXT): Likewise.
34041         [POSIX || POSIX2008] (VREPRINT): Likewise.
34042         [POSIX || POSIX2008] (VSTATUS): Likewise.
34043         [POSIX || POSIX2008] (VWERASE): Likewise.
34044         (B*): Change to B[0123456789]*.
34045         * conform/data/time.h-data [POSIX || UNIX98]
34046         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
34047         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
34048         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
34049         [POSIX] (tm_*): Do not allow.
34051 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
34053         * Makefile (install): Don't set LANGUAGE.
34054         * Makefile.in (install): Likewise.
34055         * assert/Makefile (test-assert-ENV): Remove variable.
34056         (test-assert-perr-ENV): Likewise.
34057         * elf/Makefile (neededtest4-ENV): Likewise.
34058         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34059         [$(cross-compiling) = no]: Don't set LANGUAGE.
34060         * io/ftwtest-sh (LANG): Remove variable.
34061         * libio/Makefile (tst-widetext-ENV): Likewise.
34062         * manual/install.texi (Running make install): Don't refer to
34063         environment settings for make install.
34064         * INSTALL: Regenerated.
34065         * nptl/tst-tls6.sh: Don't set LANG.
34066         * posix/globtest.sh (LANG): Remove variable.
34067         * string/Makefile (tester-ENV): Likewise.
34068         (inl-tester-ENV): Likewise.
34069         (noinl-tester-ENV): Likewise.
34070         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34071         [$(cross-compiling) = no]: Don't set LANGUAGE.
34072         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
34073         without explicit environment settings.
34075 2014-06-06  Roland McGrath  <roland@hack.frob.com>
34077         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
34078         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
34079         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
34080         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
34082 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
34084         * crypt/crypt-private.h [DOS]: Add some includes taken from the
34085         other files in the crypt directory.
34086         * crypt/crypt.c: Remove duplicate includes.
34087         * crypt/crypt-entry.c: Likewise.
34088         * crypt/crypt_util.c: Likewise.
34090 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
34092         * Makeconfig (run-program-env): New variable.
34093         (run-program-prefix-before-env): Likewise.
34094         (run-program-prefix-after-env): Likewise.
34095         (run-program-prefix): Define in terms of new variables.
34096         (built-program-cmd-before-env): New variable.
34097         (built-program-cmd-after-env): Likewise.
34098         (built-program-cmd): Define in terms of new variables.
34099         (test-program-prefix-before-env): New variable.
34100         (test-program-prefix-after-env): Likewise.
34101         (test-program-prefix): Define in terms of new variables.
34102         (test-program-cmd-before-env): New variable.
34103         (test-program-cmd-after-env): Likewise.
34104         (test-program-cmd): Define in terms of new variables.
34105         * Rules (make-test-out): Use $(run-program-env).
34106         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
34107         (help): Do not mention environment variables.  Mention
34108         --timeoutfactor option.
34109         (timeoutfactor): New variable.
34110         (blacklist_exports): Remove function.
34111         (exports): Remove variable.
34112         (command): Do not include ${exports}.
34113         * manual/install.texi (Configuring and compiling): Do not mention
34114         test wrappers preserving environment variables.  Mention that last
34115         assignment to a variable must take precedence.
34116         * INSTALL: Regenerated.
34117         * benchtests/Makefile (run-bench): Use $(run-program-env).
34118         * catgets/Makefile ($(objpfx)test1.cat): Use
34119         $(built-program-cmd-before-env), $(run-program-env) and
34120         $(built-program-cmd-after-env).
34121         ($(objpfx)test2.cat): Do not specify environment variables
34122         explicitly.
34123         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
34124         $(run-program-env) and $(built-program-cmd-after-env).
34125         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
34126         $(run-program-env) and $(test-program-cmd-after-env).
34127         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
34128         explicitly.
34129         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
34130         run_program_env and test_program_cmd_after_env arguments.
34131         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
34132         * elf/tst-pathopt.sh: Use run_program_env argument.
34133         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
34134         $(test-wrapper-env) and $(run-program-env).
34135         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
34136         run_program_env arguments.
34137         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
34138         * intl/Makefile ($(objpfx)tst-gettext.out): Use
34139         $(test-program-prefix-before-env), $(run-program-env) and
34140         $(test-program-prefix-after-env).
34141         ($(objpfx)tst-gettext2.out): Likewise.
34142         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
34143         run_program_env and test_program_prefix_after_env arguments.
34144         * intl/tst-gettext2.sh: Likewise.
34145         * intl/tst-gettext4.sh: Do not set environment variables
34146         explicitly.
34147         * intl/tst-gettext6.sh: Likewise.
34148         * intl/tst-translit.sh: Likewise.
34149         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
34150         $(test-program-prefix-before-env), $(run-program-env) and
34151         $(test-program-prefix-after-env).
34152         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
34153         run_program_env and test_program_prefix_after_env arguments.
34154         * math/Makefile (run-regen-ulps): Use $(run-program-env).
34155         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
34156         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
34157         explicitly with each use of ${test_wrapper_env}.
34158         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
34159         $(test-program-prefix-before-env), $(run-program-env) and
34160         $(test-program-prefix-after-env).
34161         * posix/tst-getconf.sh: Do not set environment variables
34162         explicitly.
34163         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
34164         run_program_env and test_program_prefix_after_env arguments.
34165         * stdio-common/tst-printf.sh: Do not set environment variables
34166         explicitly.
34167         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
34168         $(test-program-prefix-before-env), $(run-program-env) and
34169         $(test-program-prefix-after-env).
34170         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
34171         run_program_env and test_program_prefix_after_env arguments.
34172         Split $test calls into $test_pre and $test.
34173         * timezone/Makefile (build-testdata): Use
34174         $(built-program-cmd-before-env), $(run-program-env) and
34175         $(built-program-cmd-after-env).
34177 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34179         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
34180         strlen for non SHARED builds.
34182 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
34184         * nptl/allocatestack.c (check_list): Inlined function...
34185         (__reclaim_stacks): ... here.
34187 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34189         [BZ #15698]
34190         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
34191         memory overrun.
34193 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
34195         * Rules (make-test-out): Include
34196         LOCPATH=$(common-objpfx)localedata in default environment.
34197         * debug/Makefile (tst-chk1-ENV): Remove variable.
34198         (tst-chk2-ENV): Likewise.
34199         (tst-chk3-ENV): Likewise.
34200         (tst-chk4-ENV): Likewise.
34201         (tst-chk5-ENV): Likewise.
34202         (tst-chk6-ENV): Likewise.
34203         (tst-lfschk1-ENV): Likewise.
34204         (tst-lfschk2-ENV): Likewise.
34205         (tst-lfschk3-ENV): Likewise.
34206         (tst-lfschk4-ENV): Likewise.
34207         (tst-lfschk5-ENV): Likewise.
34208         (tst-lfschk6-ENV): Likewise.
34209         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
34210         (tst-iconv7-ENV): Likewise.
34211         * intl/Makefile (LOCPATH-ENV): Likewise.
34212         (tst-codeset-ENV): Likewise.
34213         (tst-gettext3-ENV): Likewise.
34214         (tst-gettext5-ENV): Likewise.
34215         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
34216         (tst-fopenloc-ENV): Likewise.
34217         (tst-fgetws-ENV): Remove variable.
34218         (tst-ungetwc1-ENV): Likewise.
34219         (tst-ungetwc2-ENV): Likewise.
34220         (bug-ungetwc2-ENV): Likewise.
34221         (tst-swscanf-ENV): Likewise.
34222         (bug-ftell-ENV): Likewise.
34223         (tst-fgetwc-ENV): Likewise.
34224         (tst-fseek-ENV): Likewise.
34225         (tst-ftell-partial-wide-ENV): Likewise.
34226         (tst-ftell-active-handler-ENV): Likewise.
34227         (tst-ftell-append-ENV): Likewise.
34228         * posix/Makefile (tst-fnmatch-ENV): Likewise.
34229         (tst-regexloc-ENV): Likewise.
34230         (bug-regex1-ENV): Likewise.
34231         (tst-regex-ENV): Likewise.
34232         (tst-regex2-ENV): Likewise.
34233         (bug-regex5-ENV): Likewise.
34234         (bug-regex6-ENV): Likewise.
34235         (bug-regex17-ENV): Likewise.
34236         (bug-regex18-ENV): Likewise.
34237         (bug-regex19-ENV): Likewise.
34238         (bug-regex20-ENV): Likewise.
34239         (bug-regex22-ENV): Likewise.
34240         (bug-regex23-ENV): Likewise.
34241         (bug-regex25-ENV): Likewise.
34242         (bug-regex26-ENV): Likewise.
34243         (bug-regex30-ENV): Likewise.
34244         (bug-regex32-ENV): Likewise.
34245         (bug-regex33-ENV): Likewise.
34246         (bug-regex34-ENV): Likewise.
34247         (bug-regex35-ENV): Likewise.
34248         (tst-rxspencer-ENV): Likewise.
34249         (tst-rxspencer-no-utf8-ENV): Likewise.
34250         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
34251         (tst-sscanf-ENV): Likewise.
34252         (tst-swprintf-ENV): Likewise.
34253         (tst-swscanf-ENV): Likewise.
34254         (test-vfprintf-ENV): Likewise.
34255         (scanf13-ENV): Likewise.
34256         (bug14-ENV): Likewise.
34257         (tst-grouping-ENV): Likewise.
34258         * stdlib/Makefile (tst-strtod-ENV): Likewise.
34259         (tst-strtod3-ENV): Likewise.
34260         (tst-strtod4-ENV): Likewise.
34261         (tst-strtod5-ENV): Likewise.
34262         (testmb2-ENV): Likewise./
34263         * string/Makefile (tst-strxfrm-ENV): Likewise.
34264         (tst-strxfrm2-ENV): Likewise.
34265         (bug-strcoll1-ENV): Likewise.
34266         (test-strcasecmp-ENV): Likewise.
34267         (test-strncasecmp-ENV): Likewise.
34268         * time/Makefile (tst-strptime-ENV): Likewise.
34269         (tst-ftime_l-ENV): Likewise.
34270         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
34271         (tst-mbrtowc-ENV): Likewise.
34272         (tst-wcrtomb-ENV): Likewise.
34273         (tst-mbrtowc2-ENV): Likewise.
34274         (tst-c16c32-1-ENV): Likewise.
34275         (tst-mbsnrtowcs-ENV): Likewise.
34277 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
34279         * manual/resource.texi (How to get information about the memory
34280         subsystem?): Fix typo.
34281         Reported by Peon de la Parra Ivan <peon@keba.com>
34283 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
34285         [BZ #16882]
34286         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
34287         (pthread_spin_lock): Branch out of spin loop to proper location.
34288         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
34289         (pthread_spin_lock): Likewise.
34291         * nptl/tst-spin4.c: New test.
34292         * nptl/Makefile (tests): Add tst-spin4.
34294 2014-06-03  Andreas Schwab  <schwab@suse.de>
34296         [BZ #15946]
34297         * resolv/res_send.c (send_dg): Reload file descriptor after
34298         calling reopen.
34300 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
34302         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
34304 2014-06-03  Richard Henderson  <rth@redhat.com>
34306         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
34307         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
34308         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
34309         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
34310         in the SAVE_PID block.
34311         (__libc_vfork): New alias.
34312         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
34314         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
34315         child in registers, not on the stack.  Remove RESET_PID conditionals.
34316         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
34318 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
34320         * sysdeps/aarch64/libm-test-ulps: Regenerate.
34322 2014-06-03  Wilco  <wdijkstr@arm.com>
34324         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
34325         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
34326         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34327         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
34328         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
34329         Likewise.
34331 2014-06-03  Wilco  <wdijkstr@arm.com>
34333         * sysdeps/aarch64/fpu/math_private.h
34334         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
34335         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
34336         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
34337         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
34338         Fix declarations.
34340 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34342         * crypt/crypt-private.h: Include ufc-crypt.h.
34343         (__b64_from_24bit): Declare extern.
34344         * crypt/crypt_util.c(__b64_from_24bit): New function.
34345         (b64t): New static const variable.
34346         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
34347         (b64t): Remove variable.
34348         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
34349         * crypt/sha256-crypt.c: Include crypt-private.h.
34350         (b64t): Remove variable.
34351         (__sha256_crypt_r): Remove b64_from_24bit and replace
34352         with __b64_from_24bit.
34353         * crypt/sha512-crypt.c: Likewise.
34355 2014-06-02  Roland McGrath  <roland@hack.frob.com>
34357         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
34358         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
34359         Label the code __libc_vfork rather than __vfork.
34360         [!NOT_IN_libc] (vfork): Define as weak alias.
34361         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
34362         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
34363         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
34365 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
34367         * malloc/malloc.c (malloc_info): Fix format specifier for
34368         n_mmaps.
34370 2014-06-02  Wilco  <wdijkstr@arm.com>
34372         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
34373         FPCR write.
34375 2014-06-02  Wilco  <wdijkstr@arm.com>
34377         [BZ #17009]
34378         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
34379         Rewrite to reduce FPCR/FPSR accesses.
34381 2014-06-01  David S. Miller  <davem@davemloft.net>
34383         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34385 2014-05-31  David S. Miller  <davem@davemloft.net>
34387         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
34388         to occur in round to nearest mode when |x| >= 2.0
34390 2014-05-30  Richard Henderson  <rth@twiddle.net>
34392         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
34393         (PSEUDO_RET_NOERRNO): Remove.
34394         (ret): Don't redefine.
34395         (ret_NOERRNO): Define in terms of ret.
34396         (ret_ERRVAL): Likewise.
34398         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
34399         use of PSEUDO_RET; perform the error check directly.
34401 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
34403         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
34404         with __int128_t.
34406 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34408         * malloc/malloc (malloc_info): Fix formatting.
34410 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
34411             Roland McGrath  <roland@hack.frob.com>
34413         * malloc/malloc (malloc_info): Also print mmapped statistics.
34415 2014-05-30  Roland McGrath  <roland@hack.frob.com>
34417         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
34418         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
34420 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
34422         * malloc/malloc.c (malloc_info): Inline mi_arena.
34424 2014-05-29  Richard Henderson  <rth@twiddle.net>
34426         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
34427         Remove comma before expanding ASM_ARGS_##nr.
34428         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
34429         Make _x0 a strict output; make _x8 a strict input; adjust expansion
34430         of ASM_ARGS_##nr.
34431         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
34432         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
34433         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
34434         (ASM_ARGS_1): Add leading comma.
34436         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
34437         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
34438         to __errno_location.
34439         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
34440         Remove the expected plt for __errno_location.
34442         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34443         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
34444         call to __read_tp.
34446         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34447         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
34448         it and break it down.
34449         (DOCARGS_0, DOCARGS_1): Do nothing.
34450         (DOCARGS_2): Update to store into the new stack frame.
34451         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
34452         (UNDOCARGS_1): Update to restore from the new stack frame.
34453         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
34454         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
34456         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34457         (SINGLE_THREAD_P): New parameter for result regno.
34458         (PSEUDO): Update to match; use cbz instead of beq.
34460         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34461         Use ENTRY to define the _nocancel entry point.  Share the syscall
34462         and syscall error check paths with the cancel path.
34463         (PSEUDO_END): New.
34465         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
34466         whitespace; tabs before and after asm mnemonics.
34468 2014-05-29  Eric Wong  <normalperson@yhbt.net>
34470         [BZ #15132]
34471         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
34472         Call fstat64 or stat64 internally, depending on arguments passed.
34473         Replace stat buffer argument with file descriptor argument.
34474         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
34475         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
34476         Pass fd to __internal_statvfs instead of calling fstat64.
34477         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
34478         Pass fd to __internal_statvfs64 instead of calling fstat64.
34479         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
34480         Pass -1 to __internal_statvfs instead of calling stat64.
34481         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
34482         Pass -1 to __internal_statvfs64 instead of calling stat64.
34484 2014-05-28  Roland McGrath  <roland@hack.frob.com>
34486         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
34487         that was previously under [RESET_PID].
34488         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
34490         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
34491         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
34493 2014-05-27  Roland McGrath  <roland@hack.frob.com>
34495         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
34497         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
34498         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
34500 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
34502         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
34504 2014-05-27  Andreas Schwab  <schwab@suse.de>
34506         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
34507         TLS_INIT_TP macro.
34508         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
34509         * elf/rtld.c (init_tls, dl_main): Likewise.
34510         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
34511         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
34512         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
34513         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
34514         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
34515         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
34516         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
34517         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
34518         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
34519         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
34520         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
34521         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
34522         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
34523         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
34524         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
34525         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
34526         * sysdeps/generic/tls.h: Update description.
34528 2014-05-27  Will Newton  <will.newton@linaro.org>
34530         [BZ #16990]
34531         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
34532         and restore r2 rather than just restoring.
34534 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
34536         [BZ #16724]
34537         * libio/tst-ftell-append.c: New test case.
34538         * libio/Makefile (tests): Add test case.
34539         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
34540         append mode.
34541         * libio/wfileops.c (do_ftell_wide): Likewise.
34543 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34545         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34547         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
34548         ...
34549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
34550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
34551         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
34552         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
34553         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
34554         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
34555         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
34556         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
34557         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
34558         Moved ...
34559         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
34560         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
34561         Moved ...
34562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
34563         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
34564         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
34565         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
34566         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
34567         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
34568         ...
34569         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
34570         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
34571         Moved ...
34572         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
34573         here.
34574         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
34575         ...
34576         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
34577         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
34578         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
34580         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
34581         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
34582         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
34583         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
34585         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
34586         merge into ...
34587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
34588         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
34589         ...
34590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
34591         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
34592         ...
34593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
34594         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
34595         Moved ...
34596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
34597         here.
34598         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
34599         Moved ...
34600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
34601         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
34602         Moved ...
34603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
34605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
34606         conditional [RESET_PID].
34607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
34608         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
34609         removed.
34610         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
34611         removed.
34613         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
34614         <tcb-offsets.h>.
34615         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
34616         (__libc_vfork): New strong alias.
34617         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
34618         removed.
34619         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
34620         Removed.
34622         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
34623         <tcb-offsets.h>.
34624         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
34625         (__libc_vfork): New strong alias.
34626         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
34627         removed.
34628         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
34629         removed.
34631 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
34633         * malloc/malloc.c (mi_arena): New function.
34634         (malloc_info): Remove nested function mi_arena. Call non-nosted
34635         function mi_arena.
34637 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34639         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
34640         by insrwi.
34641         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
34642         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
34643         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
34644         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
34645         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
34646         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
34647         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
34649 2014-05-26  Andreas Schwab  <schwab@suse.de>
34651         [BZ #16984]
34652         * locale/programs/repertoire.c (repertoire_read): Add slash
34653         between I18NPATH element and file name.
34654         * locale/programs/locfile.c (locfile_read): Likewise.
34656 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34658         * nptl/pthread_mutexattr_settype.c
34659         (__pthread_mutexattr_settype):
34660         Disable lock elision for PTHREAD_MUTEX_NORMAL.
34662 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
34664         * nptl/tst-mutex5 (do_test):
34665         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
34667 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34669         * benchtests/README: Document 'init' directive.
34670         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
34671         BENCH_INIT.
34672         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
34673         (parse_file): Recognize 'init' directive.
34675 2014-05-26  Kyle McMartin  <kyle@redhat.com>
34677         [BZ #16796]
34678         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
34679         alignment of struct pthread.
34681 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
34683         [BZ #16878]
34684         * nscd/netgroupcache.c (addgetnetgrentX): Look for
34685         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34686         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
34687         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
34689 2014-05-25  Richard Henderson  <rth@twiddle.net>
34691         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34692         (SINGLE_THREAD_P_PIC): Remove.
34693         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
34694         (SINGLE_THREAD_P_PIC): Remove.
34696         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
34697         branch to syscall error ...
34698         (PSEUDO): ... here.
34699         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
34700         from __local_syscall_error to .Lsyscall_error.
34701         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
34702         (SYSCALL_ERROR): Update label name.
34704         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34705         Do not use DOARGS/UNDOARGS.
34706         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
34707         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
34708         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
34709         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
34710         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
34712         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
34713         block comment.
34715         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
34716         define if !NOT_IN_libc.
34717         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
34718         define with non-default symbol versions.
34720 2014-05-23  Richard Henderson  <rth@twiddle.net>
34722         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
34723         (vfork, __vfork): Define via compat_symbol.
34725         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
34726         [!HAVE_IFUNC] (vfork_compat): Remove.
34727         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
34729 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34731         [BZ #16978]
34732         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
34733         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
34734         variable.
34736 2014-05-23  Richard Henderson  <rth@twiddle.net>
34738         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
34739         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
34740         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
34741         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
34743         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
34744         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
34745         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
34746         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
34747         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
34748         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
34749         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
34750         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
34751         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
34752         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
34753         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
34754         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
34755         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
34756         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
34757         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
34758         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
34759         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
34760         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
34761         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
34762         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
34763         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
34764         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
34765         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
34766         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
34767         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
34768         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
34769         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
34770         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
34771         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
34772         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
34773         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
34774         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
34775         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
34776         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
34777         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
34778         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
34779         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
34780         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
34781         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
34782         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
34783         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
34784         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
34785         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
34786         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
34787         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
34788         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
34789         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
34790         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
34791         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
34792         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
34793         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
34794         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
34795         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
34796         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
34797         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
34798         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
34800         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
34801         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
34802         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
34803         before exiting on error.
34804         (__libc_vfork): New strong alias.
34805         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
34806         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
34808         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
34809         that was previously under [RESET_PID].
34810         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
34812         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
34814 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
34816         [BZ #16977]
34817         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
34818         value when x - 1 is zero.
34819         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
34820         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
34821         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
34822         0.0L for an argument of 1.0L.
34823         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
34824         Likewise.
34825         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
34826         value when x - 1 is zero.
34827         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
34828         * sysdeps/i386/fpu/libm-test-ulps: Update.
34829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34831 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
34833         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
34834         alphasort and versionsort.
34836 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34838         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
34839         macro.
34840         [copysignf]: Likewise.
34842 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
34844         * crypt/md5-crypt.c: Fix formatting.
34846 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
34848         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
34849         (b64_from_24bit): New function.
34851 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34853         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
34854         libc_hidden_builtin_def to ifunc.
34855         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
34856         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
34858 2014-05-21  Roland McGrath  <roland@hack.frob.com>
34860         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
34861         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
34863 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
34865         * nscd/Depend (linuxthreads): Remove.
34866         (nptl): Add.
34867         * resolv/Depend (linuxthreads): Remove.
34868         * rt/Depend (linuxthreads): Remove.
34870         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
34871         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
34872         $(common-objpfx)elf/.
34873         (link-libc-before-gnulib): Likewise.
34874         (elfobjdir): Remove variable.
34875         * Makefile (install): Use $(elf-objpfx) instead of
34876         $(common-objpfx)elf/.
34877         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
34878         $(elfobjdir)/.
34879         (link-libc-deps): Likewise.
34880         ($(common-objpfx)libc.so): Likewise.
34881         ($(common-objpfx)linkobj/libc.so): Likewise.
34882         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
34883         instead of $(common-objpfx)elf/.
34884         (symbolic-link-list): Likewise.
34885         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
34886         [$(cross-compiling) = no]: Likewise.
34887         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
34888         $(elfobjdir)/.
34889         (static-gnulib-arch): Likewise.
34890         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
34891         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
34892         $(common-objpfx)elf/.
34894 2014-05-21  Richard Henderson  <rth@redhat.com>
34896         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
34897         (SINGLE_THREAD_P): Use the correct width load.  Fold
34898         into the ldr offset.
34900         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
34901         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
34903 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
34905         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
34906         (libgcc_s_resume): Use __attribute_used__.
34907         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
34908         Likewise.
34910 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34912         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
34913         optimization when used with float constants.
34915         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34917 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
34919         [BZ #16915]
34920         * locale/nl_langinfo_l.c: Make direct reference to every
34921         _nl_current_CATEGORY symbol.
34922         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
34923         (tests-static): Add tst-langinfo-static.
34924         (tests-special): Add tst-langinfo-static.out.
34925         ($(objpfx)tst-langinfo.out): Redirect output.
34926         ($(objpfx)tst-langinfo-static.out): New.
34927         * localedata/tst-langinfo.sh: Send output to stdout.
34928         * localedata/tst-langinfo-static.c: New file.
34930         [BZ #16965]
34931         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
34932         when the shift amount is modulo the limb size.
34934 2014-05-20  Richard Henderson  <rth@redhat.com>
34936         [BZ #16967]
34937         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
34938         Change type of sa_flags from unsigned int to int.
34940         [BZ #16966]
34941         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
34943         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
34945 2014-05-20  Will Newton  <will.newton@linaro.org>
34947         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
34948         Test the return value of the system call in the nocancel case.
34950 2014-05-20  Will Newton  <will.newton@linaro.org>
34951             Yvan Roux  <yvan.roux@linaro.org>
34953         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
34954         #include of asm/ptrace.h.
34955         (PTRACE_GET_THREAD_AREA): Remove #undef.
34956         (PTRACE_GETHBPREGS): Likewise.
34957         (PTRACE_SETHBPREGS): Likewise.
34958         (struct user_regs_struct): New structure.
34959         (struct user_fpsimd_struct): New structure.
34960         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
34961         #include of asm/ptrace.h and second #include of sys/user.h.
34962         (PTRACE_GET_THREAD_AREA): Remove #undef.
34963         (PTRACE_GETHBPREGS): Likewise.
34964         (PTRACE_SETHBPREGS): Likewise.
34965         (ELF_NGREG): Use new struct user_regs_struct.
34966         (elf_fpregset_t): Use new struct user_fpsimd_struct.
34968 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
34970         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
34971         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
34973 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
34975         [BZ #16958]
34976         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
34977         membar to avoid block loads/stores to overlap previous stores.
34979 2014-05-17  Richard Henderson  <rth@redhat.com>
34981         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
34982         Create the __##syscall_name##_nocancel entry point.
34983         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
34984         Remove; let the sysdep-cancel.h code create it.
34986 2014-05-17  David S. Miller  <davem@davemloft.net>
34988         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
34989         Protect with __USE_GNU.
34990         (TIOCSET_TEMPT): Likewise.
34991         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
34992         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
34993         these are already provided in bits/ioctl-types.h
34995 2014-05-16  Roland McGrath  <roland@hack.frob.com>
34997         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
34998         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
35000         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
35001         Use wait4 regardless of [__NR_waitpid].
35003 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
35005         PR libgcc/60166
35006         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
35007         (_FP_NANSIGN_Q): Set the quiet bit.
35009 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
35011         * benchtests/Makefile
35012         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
35013         not $(common-objpfx)math/libm.so.
35014         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
35015         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
35016         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
35017         $(common-objpfx)dlfcn/libdl.so.
35018         ($(objpfx)tst-audit8): Depend on $(libm), not
35019         $(common-objpfx)math/libm.so.
35020         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
35021         not $(common-objpfx)dlfcn/libdl.so.
35022         * math/Makefile
35023         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
35024         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
35025         [$(build-shared) = yes].
35026         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
35027         $(common-objpfx)nptl/libpthread.so.
35028         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
35029         $(common-objpfx)math/libm.so$(libm.so-version) or
35030         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
35031         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
35032         $(common-objpfx)dlfcn/libdl.so.
35033         * setjmp/Makefile (link-libm): Remove variable.
35034         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
35035         * stdio-common/Makefile (link-libm): Remove variable.
35036         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
35037         * stdlib/Makefile (link-libm): Remove variable.
35038         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
35039         ($(objpfx)tst-strtod-round): Likewise.
35040         ($(objpfx)tst-tininess): Likewise.
35041         ($(objpfx)tst-strtod-underflow): Likewise.
35042         ($(objpfx)tst-strtod6): Likewise.
35043         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
35044         $(libdl), not $(common-objpfx)nptl/libpthread.so and
35045         $(common-objpfx)dlfcn/libdl.so.
35047 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35049         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
35050         BSD terminal modes definitions.
35052 2014-05-16  Roland McGrath  <roland@hack.frob.com>
35054         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
35055         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
35057         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
35058         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
35059         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
35060         Don't do #include_next.
35061         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
35062         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
35063         Don't do #include_next.
35064         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
35065         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
35066         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
35067         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
35069 2014-05-16  Allan McRae  <allan@archlinux.org>
35071         * po/sv.po: Update Swedish translation from translation project.
35073         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
35074         in sed expression.
35076 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
35078         [BZ #16917]
35079         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
35080         errno if the TIOCGPTN ioctl fails with an error different than
35081         EINVAL.
35082         * login/tst-ptsname.c: New file.
35083         * login/Makefile (tests): Add tst-ptsname.
35085         [BZ #16943]
35086         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
35087         and prlimit64.
35089 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
35091         [BZ #16849]
35092         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
35093         herrno to return EAI_AGAIN.
35095 2014-05-14  Roland McGrath  <roland@hack.frob.com>
35097         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
35098         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
35099         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
35100         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
35101         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
35102         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
35103         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
35104         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
35105         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
35106         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
35107         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
35108         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
35109         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
35110         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
35111         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
35112         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
35113         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
35114         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
35115         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
35116         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
35117         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
35118         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
35119         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
35120         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
35121         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
35122         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
35123         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
35124         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
35125         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
35126         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
35127         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
35128         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
35129         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
35130         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
35131         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
35132         Moved ...
35133         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
35134         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
35135         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
35136         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
35137         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
35138         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
35139         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
35140         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
35141         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
35142         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
35143         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
35144         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
35145         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
35146         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
35147         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
35148         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
35149         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
35150         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
35151         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
35152         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
35153         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
35154         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
35155         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
35156         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
35157         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
35158         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
35159         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
35160         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
35161         Moved ...
35162         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
35163         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
35164         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
35165         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
35166         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
35167         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
35168         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
35169         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
35170         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
35171         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
35172         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
35173         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
35174         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
35175         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
35176         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
35177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
35178         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
35179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
35180         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
35181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
35182         Moved ...
35183         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
35184         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
35185         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
35187         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
35188         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
35189         (libpthread-sysdep_routines): Add elision-related stuff here instead.
35190         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
35191         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
35192         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
35193         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
35194         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
35195         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
35196         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
35197         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
35198         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
35199         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
35200         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
35201         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
35202         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
35203         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
35204         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
35205         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
35206         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
35207         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
35208         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
35209         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
35210         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
35211         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
35212         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
35213         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
35214         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
35215         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
35216         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
35217         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
35219         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
35220         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
35222         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
35223         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
35224         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
35225         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
35226         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
35227         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
35228         Moved ...
35229         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
35230         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
35231         Moved ...
35232         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
35233         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
35234         Moved ...
35235         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
35236         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
35237         Moved ...
35238         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
35239         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
35240         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
35241         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
35242         Moved ...
35243         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
35244         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
35245         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
35246         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
35247         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
35248         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
35249         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
35250         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
35251         Moved ...
35252         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
35253         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35254         Moved ...
35255         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
35256         ... here.
35257         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
35258         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
35259         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
35260         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
35261         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35262         Moved ...
35263         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
35264         ... here.
35265         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
35266         Moved ...
35267         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
35268         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
35269         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
35270         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
35271         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
35272         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
35273         Moved ...
35274         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
35275         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
35276         Moved ...
35277         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
35278         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
35279         Moved ...
35280         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
35281         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
35282         Moved ...
35283         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
35284         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
35285         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
35286         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
35287         Moved ...
35288         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
35289         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
35290         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
35291         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
35292         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
35293         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
35294         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
35295         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
35296         Moved ...
35297         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
35298         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35299         Moved ...
35300         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
35301         ... here.
35302         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
35303         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
35304         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
35305         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
35306         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35307         Moved ...
35308         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
35309         ... here.
35310         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
35311         Moved ...
35312         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
35313         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
35314         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
35315         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
35316         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
35317         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
35318         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
35319         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
35320         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
35321         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
35322         Moved ...
35323         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
35324         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
35325         Moved ...
35326         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
35327         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
35328         Moved ...
35329         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
35330         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
35331         Moved ...
35332         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
35333         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
35334         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
35335         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
35336         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
35337         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
35338         Moved ...
35339         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
35340         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
35341         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
35342         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
35343         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
35344         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
35345         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
35346         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
35347         Moved ...
35348         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
35349         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35350         Moved ...
35351         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
35352         ... here.
35353         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
35354         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
35355         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
35356         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
35357         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35358         Moved ...
35359         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
35360         ... here.
35361         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
35362         Moved ...
35363         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
35364         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
35365         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
35366         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
35367         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
35368         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
35369         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
35370         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
35371         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
35372         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
35373         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
35375         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
35376         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
35378         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
35379         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
35381         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
35382         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
35383         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
35384         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
35385         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
35386         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
35387         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
35388         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
35389         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
35390         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
35391         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
35392         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
35393         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
35394         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
35395         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
35396         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
35397         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
35398         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
35399         Moved ...
35400         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
35401         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
35402         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
35403         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
35404         Moved ...
35405         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
35406         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
35407         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
35408         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
35409         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
35410         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
35411         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
35412         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
35413         Moved ...
35414         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
35415         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
35416         Moved ...
35417         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
35418         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
35419         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
35420         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
35421         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
35422         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
35423         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
35424         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
35425         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
35426         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
35427         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
35428         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
35429         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
35430         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
35431         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
35432         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
35433         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
35435         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
35436         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
35437         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
35438         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
35439         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
35441         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
35442         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
35443         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
35444         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
35445         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
35446         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
35447         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
35448         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
35449         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
35450         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
35452         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
35453         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
35455         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
35456         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
35457         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
35458         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
35459         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
35460         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
35461         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
35462         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
35463         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
35464         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
35465         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
35466         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
35467         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
35468         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
35469         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
35470         Update #include.
35471         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
35472         Likewise.
35473         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
35474         Likewise.
35475         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
35476         Likewise.
35477         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
35478         Likewise.
35479         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
35480         Likewise.
35481         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
35482         Likewise.
35483         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
35484         Likewise.
35485         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
35486         Likewise.
35487         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
35488         Likewise.
35489         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
35490         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
35491         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
35492         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
35493         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
35494         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
35495         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
35496         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
35497         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
35498         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
35499         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
35500         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
35501         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
35502         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
35503         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
35505         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
35506         that was previously under [RESET_PID].
35507         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
35508         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
35509         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
35511         * sysdeps/i386/nptl/Implies: New file.
35512         * sysdeps/x86_64/nptl/Implies: New file.
35513         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
35514         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
35515         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
35516         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
35518         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
35519         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35520         (__libc_vfork): New strong alias.
35521         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
35522         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
35524         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
35525         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35526         (__libc_vfork): New strong alias.
35527         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
35528         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
35530         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
35531         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
35532         (__libc_vfork): New strong alias.
35533         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
35534         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
35535         * nptl/pt-vfork.c: New file.
35536         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
35537         (libpthread: GLIBC_2.20): New version set (empty).
35539 2014-05-14  Will Newton  <will.newton@linaro.org>
35541         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
35542         rather than #if.
35544 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35546         [BZ #16564]
35547         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
35548         arguments with exponent 65 or above.
35549         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
35550         arguments 0x1p113L or above.
35551         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
35552         to arguments 0x1p107L or above.
35553         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
35554         positive arguments with exponent 65 or above.
35555         * math/auto-libm-test-in: Add more tests of log1p.
35556         * math/auto-libm-test-out: Regenerated.
35558         [BZ #16928]
35559         * math/s_cacos.c (__cacos): Ensure zero real part of result from
35560         non-finite arguments is +0.
35561         * math/s_cacosf.c (__cacosf): Likewise.
35562         * math/s_cacosl.c (__cacosl): Likewise.
35563         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
35564         * sysdeps/i386/fpu/libm-test-ulps: Update.
35565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35567         [BZ #16927]
35568         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
35569         value.
35570         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
35571         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
35572         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
35573         for explicit high bit of mantissa when testing for argument equal
35574         to 1.
35575         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
35576         * sysdeps/i386/fpu/libm-test-ulps: Update.
35577         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35579         [BZ #16516]
35580         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
35581         (__erf): Scale by 16 instead of 8 in potentially underflowing
35582         case.  Ensure exception if result actually underflows.
35583         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
35584         (__erff): Scale by 16 instead of 8 in potentially underflowing
35585         case.  Ensure exception if result actually underflows.
35586         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
35587         (efx8): Remove variable.
35588         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35589         case.  Ensure exception if result actually underflows.
35590         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
35591         (efx8): Remove variable.
35592         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35593         case.  Ensure exception if result actually underflows.
35594         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
35595         (efx8): Remove variable.
35596         (__erfl): Scale by 16 instead of 8 in potentially underflowing
35597         case.  Ensure exception if result actually underflows.
35598         * math/auto-libm-test-in: Add more tests of erf.
35599         * math/auto-libm-test-out: Regenerated.
35601 2014-05-14  Andreas Schwab  <schwab@suse.de>
35603         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
35604         Remove code conditionalized on USE___THREAD.
35606         * config.h.in (HAVE_PT_CHOWN): Define as 0.
35607         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
35608         not definedness.
35610 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
35612         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
35613         Define unconditionally.
35614         (__ASSUME_O_CLOEXEC): Likewise.
35615         (__ASSUME_SOCK_CLOEXEC): Likewise.
35616         (__ASSUME_IN_NONBLOCK): Likewise.
35617         (__ASSUME_PIPE2): Likewise.
35618         (__ASSUME_EVENTFD2): Likewise.
35619         (__ASSUME_SIGNALFD4): Likewise.
35620         (__ASSUME_DUP3): Likewise.
35621         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
35622         (__ASSUME_DUP3): Do not define.
35623         (__ASSUME_EVENTFD2): Likewise.
35624         (__ASSUME_IN_NONBLOCK): Likewise.
35625         (__ASSUME_O_CLOEXEC): Likewise.
35626         (__ASSUME_PIPE2): Likewise.
35627         (__ASSUME_SIGNALFD4): Likewise.
35628         (__ASSUME_SOCK_CLOEXEC): Likewise.
35629         (__ASSUME_UTIMES): Undefine.
35630         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35631         (__ASSUME_UTIMES): Do not define.
35632         (__ASSUME_O_CLOEXEC): Likewise.
35633         (__ASSUME_SOCK_CLOEXEC): Likewise.
35634         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
35635         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
35636         0x020621].
35637         (__ASSUME_PIPE2): Likewise.
35638         (__ASSUME_EVENTFD2): Likewise.
35639         (__ASSUME_SIGNALFD4): Likewise.
35640         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
35641         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
35642         Do not define.
35643         (__ASSUME_EVENTFD2): Likewise.
35644         (__ASSUME_SIGNALFD4): Likewise.
35645         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
35646         (__ASSUME_32BITUIDS): Likewise.
35647         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
35648         (__ASSUME_IPC64): Likewise.
35649         (__ASSUME_ST_INO_64_BIT): Likewise.
35650         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
35651         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
35652         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35653         (__ASSUME_UTIMES): Do not define.
35654         (__ASSUME_PSELECT): Likewise.
35655         (__ASSUME_PPOLL): Likewise.
35656         (__ASSUME_O_CLOEXEC): Likewise.
35657         (__ASSUME_SOCK_CLOEXEC): Likewise.
35658         (__ASSUME_IN_NONBLOCK): Likewise.
35659         (__ASSUME_PIPE2): Likewise.
35660         (__ASSUME_EVENTFD2): Likewise.
35661         (__ASSUME_SIGNALFD4): Likewise.
35662         (__ASSUME_DUP3): Likewise.
35663         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35664         (__ASSUME_UTIMES): Likewise.
35665         (__ASSUME_O_CLOEXEC): Likewise.
35666         (__ASSUME_SOCK_CLOEXEC): Likewise.
35667         (__ASSUME_IN_NONBLOCK): Likewise.
35668         (__ASSUME_PIPE2): Likewise.
35669         (__ASSUME_EVENTFD2): Likewise.
35670         (__ASSUME_SIGNALFD4): Likewise.
35671         (__ASSUME_DUP3): Likewise.
35672         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
35673         (__ASSUME_UTIMES): Likewise.
35674         (__ASSUME_O_CLOEXEC): Likewise.
35675         (__ASSUME_SOCK_CLOEXEC): Likewise.
35676         (__ASSUME_IN_NONBLOCK): Likewise.
35677         (__ASSUME_PIPE2): Likewise.
35678         (__ASSUME_EVENTFD2): Likewise.
35679         (__ASSUME_SIGNALFD4): Likewise.
35680         (__ASSUME_DUP3): Likewise.
35681         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
35682         Likewise.
35683         (__ASSUME_UTIMES): Likewise.
35684         (__ASSUME_EVENTFD2): Likewise.
35685         (__ASSUME_SIGNALFD4): Likewise.
35686         * sysdeps/unix/sysv/linux/tile/kernel-features.h
35687         (__ASSUME_O_CLOEXEC): Likewise.
35688         (__ASSUME_SOCK_CLOEXEC): Likewise.
35689         (__ASSUME_IN_NONBLOCK): Likewise.
35690         (__ASSUME_PIPE2): Likewise.
35691         (__ASSUME_EVENTFD2): Likewise.
35692         (__ASSUME_SIGNALFD4): Likewise.
35693         (__ASSUME_DUP3): Likewise.
35694         (__ASSUME_UTIMES): Undefine.
35696         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
35697         feclearexcept.  Remove symbol versioning code.
35698         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
35699         symbol versioning code.
35700         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
35701         symbol versioning code.
35702         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
35703         feupdateenv.  Remove symbol versioning code.
35704         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
35705         fegetexceptflag.  Remove symbol versioning code.
35706         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
35707         fesetexceptflag.  Remove symbol versioning code.
35708         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
35709         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
35710         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
35711         (__posix_fadvise64_l32): Remove prototype.
35712         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
35713         code.
35715 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35717         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
35718         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
35719         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
35720         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
35722 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
35724         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
35725         current working directory
35727 2014-05-13  Roland McGrath  <roland@hack.frob.com>
35729         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
35730         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
35731         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
35732         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
35733         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
35734         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
35735         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
35736         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
35737         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
35738         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
35739         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
35740         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
35741         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
35742         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
35743         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
35744         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
35745         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
35746         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
35747         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
35748         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
35749         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
35750         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
35751         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
35752         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
35753         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
35754         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
35755         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
35756         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
35757         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
35758         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
35759         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
35760         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
35761         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
35762         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
35763         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
35764         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
35765         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
35766         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
35767         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
35768         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
35769         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
35770         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
35772         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
35773         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
35775         * sysdeps/unix/sysv/linux/arm/Makefile
35776         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
35777         Add rt-aeabi_unwind_cpp_pr1.
35778         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
35779         Add nptl-aeabi_unwind_cpp_pr1.
35780         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
35781         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
35782         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
35783         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
35784         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
35785         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
35787         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
35788         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
35789         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
35790         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
35792         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
35793         Deconditionalize the code that was previously under [RESET_PID].
35794         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
35796         * sysdeps/generic/exit-thread.h: New file.
35797         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
35798         * include/unistd.h (__exit_thread): Remove declaration.
35799         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
35800         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
35801         * csu/libc-start.c: Include <exit-thread.h>.
35802         (LIBC_START_MAIN): Pass no argument to __exit_thread.
35803         * nptl/pthread_create.c: Include <exit-thread.h>.
35804         (start_thread): Call __exit_thread in place of __exit_thread_inline.
35805         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
35806         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
35807         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
35808         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
35809         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
35810         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
35811         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
35812         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
35813         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
35814         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
35815         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
35816         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
35817         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
35818         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
35819         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
35820         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
35822 2014-05-13  Andreas Schwab  <schwab@suse.de>
35824         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
35826 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
35828         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
35829         (__ASSUME_UTIMES): Do not condition on kernel version.
35830         (__ASSUME_PSELECT): Define unconditionally.
35831         (__ASSUME_PPOLL): Likewise.
35832         (__ASSUME_ATFCTS): Likewise.
35833         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
35834         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
35835         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
35836         (__ASSUME_UTIMENSAT): Define unconditionally.
35837         (__ASSUME_PRIVATE_FUTEX): Likewise.
35838         (__ASSUME_FALLOCATE): Likewise.
35839         (__ASSUME_O_CLOEXEC): Likewise.
35840         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
35841         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
35842         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
35843         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
35844         (__ASSUME_IN_NONBLOCK): Likewise.
35845         (__ASSUME_PIPE2): Likewise.
35846         (__ASSUME_EVENTFD2): Likewise.
35847         (__ASSUME_SIGNALFD4): Likewise.
35848         (__ASSUME_DUP3): Likewise.
35849         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35850         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
35851         (__ASSUME_AT_RANDOM): Likewise.
35852         (__ASSUME_PREADV): Likewise.
35853         (__ASSUME_PWRITEV): Likewise.
35854         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
35855         (__ASSUME_F_GETOWN_EX): Define unconditionally.
35856         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
35857         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
35858         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
35859         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
35860         (__ASSUME_O_CLOEXEC): Define unconditionally.
35861         (__ASSUME_PSELECT): Do not undefine conditionally.
35862         (__ASSUME_PPOLL): Likewise.
35863         (__ASSUME_ATFCTS): Likewise.
35864         (__ASSUME_SET_ROBUST_LIST): Likewise.
35865         (__ASSUME_UTIMENSAT): Likewise.
35866         (__ASSUME_FDATASYNC): Define unconditionally.
35867         * sysdeps/unix/sysv/linux/arm/kernel-features.h
35868         (__ASSUME_SIGFRAME_V2): Likewise.
35869         )__ASSUME_EVENTFD2): Likewise.
35870         (__ASSUME_SIGNALFD4): Likewise.
35871         (__ASSUME_PSELECT): Do not undefine conditionally.
35872         (__ASSUME_PPOLL): Likewise.
35873         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
35874         (__ASSUME_PSELECT): Define unconditionally.
35875         (__ASSUME_PPOLL): Likewise.
35876         (__ASSUME_O_CLOEXEC): Likewise.
35877         (__ASSUME_SOCK_CLOEXEC): Likewise.
35878         (__ASSUME_IN_NONBLOCK): Likewise.
35879         (__ASSUME_PIPE2): Likewise.
35880         (__ASSUME_EVENTFD2): Likewise.
35881         (__ASSUME_SIGNALFD4): Likewise.
35882         (__ASSUME_DUP3): Likewise.
35883         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
35884         (__ASSUME_O_CLOEXEC): Likewise.
35885         (__ASSUME_SOCK_CLOEXEC): Likewise.
35886         (__ASSUME_IN_NONBLOCK): Likewise.
35887         (__ASSUME_PIPE2): Likewise.
35888         (__ASSUME_EVENTFD2): Likewise.
35889         (__ASSUME_SIGNALFD4): Likewise.
35890         (__ASSUME_DUP3): Likewise.
35891         * sysdeps/unix/sysv/linux/mips/kernel-features.h
35892         (__ASSUME_EVENTFD2): Likewise.
35893         (__ASSUME_SIGNALFD4): Likewise.
35894         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
35896 2014-05-12  Andreas Schwab  <schwab@suse.de>
35898         [BZ #16932]
35899         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
35900         (_nss_nis_gethostbyname4_r): Return error if item length is larger
35901         than maximum RPC packet size.
35902         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
35903         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
35904         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
35905         (_nss_nis_getservbyport_r): Likewise.
35907 2014-05-12  Will Newton  <will.newton@linaro.org>
35909         * malloc/Makefile (tests): Add tst-mallopt.
35910         * malloc/tst-mallopt.c: New file.
35912 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35914         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
35915         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
35917 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35919         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
35920         (tst-tlsmod6.so): Likewise.
35922 2014-05-09  Roland McGrath  <roland@hack.frob.com>
35924         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
35926 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
35928         [BZ #16064]
35929         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
35930         and <dl-procinfo.h>.
35931         (__fegetenv): Save SSE state in envp->__eip if supported.
35932         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
35933         envp->__eip if supported.
35934         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
35935         and <dl-procinfo.h>.
35936         (__fesetenv): Always set __eip, __cs_selector, __opcode,
35937         __data_offset and __data_selector in environment to 0.  Set SSE
35938         state if supported.
35939         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
35940         test-fenv-sse.
35941         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
35942         -mfpmath=sse.
35943         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
35945 2014-05-09  Will Newton  <will.newton@linaro.org>
35947         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
35948         and libc_relro_required for ARM.
35949         * sysdeps/arm/preconfigure: Regenerate.
35951 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
35952             Stefan Liebler  <stli@linux.vnet.ibm.com>
35954         * config.make.in (enable-lock-elision): New Makefile variable.
35955         * configure.ac: Likewise.
35956         * configure: Regenerate.
35957         * sysdeps/s390/configure.ac:
35958         Add check for gcc transactions support.
35959         * sysdeps/s390/configure: Regenerate.
35960         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
35961         Build elision files if enabled.
35962         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
35963         Add lock elision support for s390.
35964         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
35965         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
35966         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
35967         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
35968         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
35969         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
35970         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
35971         Likewise.
35972         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
35973         Likewise.
35974         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
35975         Likewise.
35976         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
35977         Likewise.
35978         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
35979         (__lll_timedlock_elision, __lll_lock_elision)
35980         (__lll_unlock_elision, __lll_trylock_elision)
35981         (lll_timedlock_elision, lll_lock_elision)
35982         (lll_unlock_elision, lll_trylock_elision): Add.
35983         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
35984         (pthread_mutex_t): Add lock elision support for s390.
35986 2014-05-14  Wilco  <wdijkstr@arm.com>
35988         * sysdeps/arm/fclrexcpt.c: Cleanup.
35989         * sysdeps/arm/fedisblxcpt.c: Cleanup.
35990         * sysdeps/arm/feenablxcpt.c: Cleanup.
35991         * sysdeps/arm/fegetenv.c: Cleanup.
35992         * sysdeps/arm/fegetexcept.c: Cleanup.
35993         * sysdeps/arm/fegetround.c: Cleanup.
35994         * sysdeps/arm/feholdexcpt.c: Cleanup.
35995         * sysdeps/arm/fesetenv.c: Cleanup.
35996         * sysdeps/arm/fesetround.c: Cleanup.
35997         * sysdeps/arm/feupdateenv.c: Cleanup.
35998         * sysdeps/arm/fgetexcptflg.c: Cleanup.
35999         * sysdeps/arm/fraiseexcpt.c: Cleanup.
36000         * sysdeps/arm/fsetexcptflg.c: Cleanup.
36001         * sysdeps/arm/ftestexcept.c: Cleanup.
36002         * sysdeps/arm/get-rounding-mode.h: Cleanup.
36003         * sysdeps/arm/setfpucw.c: Cleanup.
36005 2014-05-09  Will Newton  <will.newton@linaro.org>
36007         * sysdeps/arm/armv7/strcmp.S: New file.
36008         * NEWS: Mention addition of ARMv7 optimized strcmp.
36010 2014-05-08  Roland McGrath  <roland@hack.frob.com>
36012         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
36013         look for %.ac rather than %.in.
36015         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
36016         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
36017         * sysdeps/mach/hurd/configure: Regenerated.
36018         * sysdeps/unix/sysv/linux/configure: Regenerated.
36020         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
36022 2014-05-07  Steve Ellcey  <sellcey@mips.com>
36024         [BZ# 16922]
36025         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
36026         (LONG_SUB): Ditto.
36027         (PTR_SUB): Ditto.
36029 2014-05-07  Andreas Schwab  <schwab@suse.de>
36031         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
36032         when skipping over non-matching result from nscd.
36034 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
36036         [BZ #16876]
36037         * nptl/sockperf.c (client): Check socket return value.
36039         [BZ #16877]
36040         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
36041         nscd security class.
36043 2014-05-06  Roland McGrath  <roland@hack.frob.com>
36045         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
36046         * sysdeps/arm/unwind.h: ... here.
36048 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
36050         [BZ# 16916]
36051         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
36052         Define.
36054 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
36056         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
36057         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
36058         multiarch strncpy for PPC64.
36059         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
36060         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
36061         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
36062         multiarch optimizations.
36063         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
36064         (__libc_ifunc_impl_list): Likewise.
36065         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
36066         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
36067         multiarch stpncpy for PPC64.
36068         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
36069         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
36071 2014-05-06  Andreas Schwab  <schwab@suse.de>
36073         [BZ #16912]
36074         * gmon/mcount.c (_MCOUNT_DECL): Use
36075         atomic_compare_and_exchange_bool_acq instead of
36076         catomic_compare_and_exchange_bool_acq.
36078 2014-05-05  Roland McGrath  <roland@hack.frob.com>
36080         * elf/Makefile (others, install-bin): Remove pldd.
36081         (pldd-modules): Variable removed.
36082         ($(objpfx)pldd): Target removed.
36083         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
36084         (others, install-bin): Append pldd here.
36085         ($(objpfx)pldd): New target.
36087         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
36088         to 0, so the first #if test emitted later doesn't see it undefined.
36089         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
36090         * sysdeps/gnu/errlist.c: Regenerated.
36092 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36094         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
36095         [libc_hidden_builtin_def]: Define to empty value.
36096         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
36097         [libc_hidden_builtin_def]: Likewise.
36098         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
36099         [libc_hidden_builtin_def]: Likewise.
36100         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
36101         [libc_hidden_builtin_def]: Likewise.
36102         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
36103         __redirect_memcpy and define ifunc as default hidden symbol.
36104         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
36105         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
36107 2014-05-04  Adam Conrad  <adconrad@0c3.net>
36109         * locale/iso-4217.def: Reintroduce XDR currency.
36111 2014-05-04  Allan McRae  <allan@archlinux.org>
36113         * po/eo.po: Update Esperanto translation from translation project.
36115 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
36117         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
36118         and FEATURE_INDEX_MAX to 1.
36119         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
36121 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36123         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
36124         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
36125         * iconvdata/big5.c (ONE_DIRECTION): Define.
36126         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
36127         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
36128         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
36129         * iconvdata/cp932.c (ONE_DIRECTION): Define.
36130         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
36131         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
36132         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
36133         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
36134         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
36135         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
36136         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
36137         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
36138         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
36139         * iconvdata/gbk.c (ONE_DIRECTION): Define.
36140         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
36141         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
36142         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
36143         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
36144         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
36145         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
36146         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
36147         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
36148         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
36149         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
36150         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
36151         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
36152         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
36153         * iconvdata/iso646.c (ONE_DIRECTION): Define.
36154         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
36155         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
36156         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
36157         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
36158         * iconvdata/johab.c (ONE_DIRECTION): Define.
36159         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
36160         * iconvdata/sjis.c (ONE_DIRECTION): Define.
36161         * iconvdata/t.61.c (ONE_DIRECTION): Define.
36162         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
36163         * iconvdata/tscii.c (ONE_DIRECTION): Define.
36164         * iconvdata/uhc.c (ONE_DIRECTION): Define.
36165         * iconvdata/unicode.c (ONE_DIRECTION): Define.
36166         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
36167         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
36168         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
36170 2014-05-01  Roland McGrath  <roland@hack.frob.com>
36172         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
36173         (_IO_JUMPS_OFFSET): Define to 0.
36175         * nptl/sysdeps/pthread/bits/libc-lock.h
36176         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
36177         (__libc_lock_define_initialized_recursive): Always define using
36178         initializer.  Modern compilers treat uninitialized (implicit zero) and
36179         explicit zero initializers the same (i.e. put the datum in bss).
36181 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36183         * nscd/nscd-client.h: Include <string.h>.
36185 2014-05-01  David S. Miller  <davem@davemloft.net>
36187         [BZ #16885]
36188         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
36189         multiple zero bytes exist at the end of a string.
36190         Reported by Aurelien Jarno <aurelien@aurel32.net>
36192         * string/test-strcmp.c (check): Add explicit test for situations where
36193         there are multiple zero bytes after the first.
36195 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
36197         [BZ #16890]
36198         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
36199         when compiling wprintf.
36200         * stdio-common/tstdiomisc.c (t3): New function.
36201         (main): Call it.
36203 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36205         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
36206         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
36207         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
36208         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
36210 2014-05-01  Steve Ellcey  <sellcey@mips.com>
36212         * stdlib/longlong.h: Updated from GCC.
36214 2014-05-01  Will Newton  <will.newton@linaro.org>
36215             Bernard Ogden  <bernie.ogden@linaro.org>
36217         * NEWS: Update fixed bug list.
36219         [BZ #15119]
36220         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
36222 2014-04-30  David S. Miller  <davem@davemloft.net>
36224         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
36225         (libc_feholdexcept_setround_sparc_ctx): New function.
36226         (libc_fesetenv_sparc_ctx): Likewise.
36227         (libc_feupdateenv_sparc_ctx): Likewise.
36228         (libc_feholdsetround_sparc_ctx): Likewise.
36229         (libc_feholdexcept_setround_ctx): Define.
36230         (libc_feholdexcept_setroundf_ctx): Likewise.
36231         (libc_feholdexcept_setroundl_ctx): Likewise.
36232         (libc_fesetenv_ctx): Likewise.
36233         (libc_fesetenvf_ctx): Likewise.
36234         (libc_fesetenvl_ctx): Likewise.
36235         (libc_feupdateenv_ctx): Likewise.
36236         (libc_feupdateenvf_ctx): Likewise.
36237         (libc_feupdateenvl_ctx): Likewise.
36238         (libc_feresetround_ctx): Likewise.
36239         (libc_feresetroundf_ctx): Likewise.
36240         (libc_feresetroundl_ctx): Likewise.
36241         (libc_feholdsetround_ctx): Likewise.
36242         (libc_feholdsetroundf_ctx): Likewise.
36243         (libc_feholdsetroundl_ctx): Likewise.
36245         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36246         with __USE_GNU instead of XOPEN cpp guards.
36248         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
36249         0.
36251         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
36252         with XOPEN cpp guards.
36254 2014-04-30  Julian Brown  <julian@codesourcery.com>
36256         [BZ #16888]
36257         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
36258         handling.
36260 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
36262         [BZ #9894]
36263         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
36264         Change to 2.6.32.
36265         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
36266         * sysdeps/unix/sysv/linux/configure: Regenerated.
36267         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
36268         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
36269         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
36270         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
36271         * README: Update reference to required Linux kernel version.
36272         * manual/install.texi (Linux): Update reference to required Linux
36273         kernel headers version.
36274         * INSTALL: Regenerated.
36276         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
36277         header inclusion.
36278         [POSIX] (limits.h): Likewise.
36279         [POSIX] (math.h): Likewise.
36280         [POSIX] (sys/wait.h): Likewise.
36281         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
36282         function.
36283         [POSIX] (stddef.h): Do not allow header inclusion.
36285 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36287         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
36289 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
36291         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
36292         Return immediately after lll_futex_wake.
36294 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36296         [BZ #16791]
36297         * nscd/nscd-client.h (datahead_init_common): Initialize entire
36298         structure.
36299         (datahead_init_pos): Call datahead_init_common early.
36300         (datahead_init_neg): Likewise.
36302         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
36303         datahead_init_neg): New functions.
36304         * nscd/aicache.c (addhstaiX): Use them.
36305         * nscd/grpcache.c (cache_addgr): Likewise.
36306         * nscd/hstcache.c (cache_addhst): Likewise.
36307         * nscd/initgrcache.c (addinitgroupsX): Likewise.
36308         * nscd/netgroupcache.c (do_notfound): Likewise.
36309         (addgetnetgrentX): Likewise.
36310         (addinnetgrX): Likewise.
36311         * nscd/pwdcache.c (cache_addpw): Likewise.
36312         * nscd/servicescache.c (cache_addserv): Likewise.
36314 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
36315             Atsushi Onoe  <atsushi@onoe.org>
36317         [BZ #14308]
36318         [BZ #12994]
36319         [BZ #13651]
36320         * resolv/res_query.c (__libc_res_nsearch): Return if at least
36321         one response is valid.
36322         * resolv/res_send.c (send_dg): Check for validity of other
36323         response if the current response is a referral.
36325 2014-04-29  Steve Ellcey  <sellcey@mips.com>
36327         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
36329 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
36331         [BZ #16823]
36332         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
36333         Always divide by positive zero when computing -Inf result.
36334         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
36335         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
36337 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36339         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
36340         FPSCR if value do not change.
36341         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
36342         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
36343         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
36344         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
36345         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
36346         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
36347         function.
36349 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
36351         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
36352         * sysdeps/unix/sysv/linux/hppa: Move directory from
36353         ports/systeps/unix/sysv/linux/hppa.
36354         * README: Update listing for hppa-*-linux-gnu.
36356 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
36358         [BZ #16754]
36359         * manual/stdio.texi (Hook functions): Fix types of stream hook
36360         functions.
36361         [BZ #16854]
36362         * socket/sys/socket.h: Fix typo in comment.
36364 2014-04-28  Wilco  <wdijkstr@arm.com>
36366         * sysdeps/arm/fenv_private.h: New file.
36367         * sysdeps/arm/math_private.h: New file.
36368         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
36370 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
36372         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
36373         with __int128_t.
36374         (La_x86_64_retval): Likewise.
36376 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
36378         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
36379         fpsr if value didn't change.
36380         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
36381         to fpcr if value didn't change.
36382         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
36383         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
36384         fpsr or fpcr if value didn't change.
36385         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
36386         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
36387         fpcr if value didn't change.
36388         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
36389         to fpsr if value didn't change.
36391 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
36393         * nptl/tst-sem3.c: Use test-skeleton.c
36394         (main): Rename to do_test.  Use return instead of
36395         exit.
36396         * nptl/tst-sem4.c: Use test-skeleton.c
36397         (main): Rename to do_test.
36399 2014-04-22  David S. Miller  <davem@davemloft.net>
36401         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
36402         (struct sigaction): New struct member __glibc_reserved0, change
36403         type of sa_flags to int.
36405 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
36407         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
36408         (COUNT_LEADING_ZEROS_0): Define for AArch64.
36410 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
36412         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
36413         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
36415 2014-04-22  Will Newton  <will.newton@linaro.org>
36416             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
36418         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
36419         (__longjmp): Add longjmp and longjmp_target SystemTap
36420         probes.
36421         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
36422         (__sigsetjmp): Add setjmp SystemTap probe.
36424 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
36426         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
36427         match manual order.
36429 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36431         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
36433         * sysdeps/powerpc/fpu/fenv_private.h
36434         (libc_feholdexcept_setroundl_ctx): Define to
36435         libc_feholdexcept_setround_ppc_ctx.
36436         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
36437         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
36438         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
36439         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
36441 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36443         * sysdeps/aarch64/math-tests.h: New file.
36445 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
36447         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
36448         New.
36449         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36450         Check and set bit_AVX2_Usable.
36451         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
36452         macro.
36453         (bit_AVX2): Likewise.
36454         (index_AVX2_Usable): Likewise.
36455         (CPUID_AVX2): Likewise.
36456         (HAS_AVX2): Likewise.
36458 2014-04-17  Will Newton  <will.newton@linaro.org>
36460         * manual/setjmp.texi (System V contexts): Add note that
36461         calling setcontext on a context created by a call to a
36462         signal handler is undefined.  Update text to note that
36463         setcontext from a signal handler is possible but not
36464         recommended.
36466         [BZ #16629]
36467         * stdlib/tst-setcontext.c: Include signal.h.
36468         (main): Check that the signal stack before and
36469         after swapcontext is the same.
36471         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
36472         Re-implement to restore registers in user code and avoid
36473         rt_sigreturn system call.
36475 2014-04-17  Wilco  <wdijkstr@arm.com>
36477         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
36478         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
36479         * math/test-fenv.c: Skip exception trap tests on targets which only
36480         support non-stop mode.
36482 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
36483             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36485         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
36486         (libc_feholdsetround_aarch64_ctx)
36487         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
36488         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
36489         (libc_feresetround_ctx, libc_feresetroundf_ctx)
36490         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
36491         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
36492         (libc_feresetround_noexl_ctx): Define.
36494 2014-04-16  Richard Henderson  <rth@redhat.com>
36496         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
36498         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
36499         unwind tables.
36501         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
36502         const from the non-libc, non-ldso copy.
36504         * sysdeps/alpha/libm-test-ulps: Regenerate.
36506 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
36507             Wilco Dijkstra  <wilco.dijkstra@arm.com>
36509         * sysdeps/aarch64/fpu/math_private.h: New file.
36511 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
36513         * sysdeps/aarch64/libm-test-ulps: Regenerate.
36515 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
36517         [BZ #16275]
36518         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
36519         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
36520         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
36521         Intel MPX bound registers before _dl_profile_fixup.
36522         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
36523         registers after _dl_profile_fixup.  Save and restore bound
36524         registers bnd0/bnd1 when calling _dl_call_pltexit.
36525         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
36526         (LR_BND_OFFSET): Likewise.
36527         (LRV_BND0_OFFSET): Likewise.
36528         (LRV_BND1_OFFSET): Likewise.
36530 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36532         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
36533         to...
36534         * sysdeps/mach/hurd/i386/tls.h: ... here.
36535         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
36536         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
36537         fields.
36539 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36541         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
36543 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36545         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
36547 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
36549         [BZ #14770]
36550         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
36551         * sysdeps/s390/configure: Regenerate.
36553         [BZ #16824]
36554         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
36555         Set round-to-nearest internally to reduce error accumulation.
36557 2014-04-16  Alan Modra  <amodra@gmail.com>
36559         [BZ #16740]
36560         [BZ #16619]
36561         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
36562         * math/libm-test.inc (frexp_test_data): Add tests.
36563         * NEWS: Update fixed bug list.
36565 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
36567         * benchtests/Makefile: Depend on libraries in build directory.
36568         (bench-math): Separate out math tests.
36569         (bench-pthread): Separate out pthread tests.
36570         (bench): Include math and pthread tests.
36572 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
36574         [BZ #16831]
36575         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
36576         _dl_debug_initialize.
36578         * configure.ac: Remove SELinux header check.
36579         * configure: Regenerate.
36580         * nscd/selinux.c (perms): Array of const char* to permission names.
36581         (nscd_request_avc_has_perm): Call security_deny_unknown to find
36582         default policy. Call string_to_security_class and string_to_av_perm to
36583         translate strings. Enforce default policy and call avs_has_perm with
36584         results of translated strings.
36586 2014-04-13  David S. Miller  <davem@davemloft.net>
36588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36590 2014-04-12  Allan McRae  <allan@archlinux.org>
36592         [BZ #16838]
36593         * manual/string.texi (Collation Functions): Fix qsort argument
36594         order in example.
36595         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
36597 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
36599         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
36600         Make the test a no-op if there are no exceptions defined.
36602 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
36604         * elf/Makefile (tests): make tst-dlopen-aout conditional on
36605         enable-hardcoded-path-in-tests
36607 2014-04-11  Will Newton  <will.newton@linaro.org>
36609         * benchtests/Makefile (extra-objs): Add json-lib.o.
36610         (bench-func): Tidy up JSON output.
36611         * benchtests/bench-skeleton.c: Include json-lib.h.
36612         (main): Use JSON library functions to do output of
36613         benchmark results.
36614         * benchtests/bench-timing-type.c (main): Output the
36615         timing type simply, leaving formatting to the user.
36616         * benchtests/json-lib.c: New file.
36617         * benchtests/json-lib.h: Likewise.
36619 2014-04-11  Torvald Riegel  <triegel@redhat.com>
36621         [BZ #15215]
36622         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
36623         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
36624         memory barriers.  Add comments.
36625         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
36626         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
36627         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
36628         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
36629         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
36630         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
36632 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
36634         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
36635         * sysdeps/s390/s390-64/configure.ac: ... this ...
36636         * sysdeps/s390/configure.ac: ... to here.
36637         * sysdeps/s390/s390-32/configure: Delete file.
36638         * sysdeps/s390/s390-64/configure: Delete file.
36639         * sysdeps/s390/configure: Regenerate.
36641 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
36643         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
36645 2014-04-11  Will Newton  <will.newton@linaro.org>
36647         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
36648         to zero if it is not defined elsewhere.  (mtrim): Test
36649         the value of MALLOC_DEBUG with #if rather than #ifdef.
36651 2014-04-10 Torvald Riegel  <triegel@redhat.com>
36653         * benchtests/pthread_once-inputs: New file.
36654         * benchtests/pthread_once-source.c: New file.
36655         * benchtests/README: Update documentation.
36657 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
36658             H.J. Lu  <hongjiu.lu@intel.com>
36660         [BZ #16275]
36661         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
36662         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
36663         * sysdeps/x86_64/configure: Regenerated.
36664         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
36665         macro.
36666         (REGISTER_SAVE_RAX): Likewise.
36667         (REGISTER_SAVE_RCX): Likewise.
36668         (REGISTER_SAVE_RDX): Likewise.
36669         (REGISTER_SAVE_RSI): Likewise.
36670         (REGISTER_SAVE_RDI): Likewise.
36671         (REGISTER_SAVE_R8): Likewise.
36672         (REGISTER_SAVE_R9): Likewise.
36673         (REGISTER_SAVE_BND0): Likewise.
36674         (REGISTER_SAVE_BND1): Likewise.
36675         (REGISTER_SAVE_BND2): Likewise.
36676         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
36677         bound registers when calling _dl_fixup.
36679 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36681         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
36682         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
36683         of its definition.
36684         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
36685         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
36686         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
36687         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
36688         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
36689         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
36690         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
36692 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
36694         [BZ #15514]
36695         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
36696         pathconf(_PC_NAME_MAX).
36698 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36700         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
36701         Remove macro usage.
36702         (__PTHREAD_SPINS): Move definition to ...
36703         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
36704         (__PTHREAD_SPINS): ... here.
36705         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
36706         (__PTHREAD_SPIN): Likewise.
36707         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
36708         (__PTHREAD_SPIN): Likewise.
36709         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
36710         (__PTHREAD_SPIN): Likewise.
36711         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
36712         (__PTHREAD_SPIN): Likewise.
36713         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
36714         (__PTHREAD_SPIN): Likewise.
36715         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
36716         (__PTHREAD_SPIN): Likewise.
36717         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
36718         (__PTHREAD_SPIN): Likewise.
36719         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
36720         (__PTHREAD_SPIN): Likewise.
36721         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
36722         (__PTHREAD_SPIN): Likewise.
36723         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
36724         (__PTHREAD_SPIN): Likewise.
36725         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
36726         (__PTHREAD_SPIN): Likewise.
36727         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
36728         (__PTHREAD_SPIN): Likewise.
36730         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
36731         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
36732         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
36733         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
36734         imply folder.
36735         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
36736         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
36737         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
36738         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
36739         correct imply path.
36740         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
36741         strlen symbol for non multi-arch builds.
36742         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
36743         missing hidden_def and weak_alias.
36745 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
36747         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
36749 2014-04-07  Will Newton  <will.newton@linaro.org>
36751         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
36752         and contents.  [!_LIBC] Remove #ifndef and contents.
36753         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
36754         * string/memccpy.c (__memccpy): Use ANSI prototype.
36755         * string/memfrob.c (memfrob): Likewise.
36756         * string/strcoll.c (STRCOLL): Likewise.
36757         * string/strlen.c (strlen): Likewise.
36758         * string/strtok.c (STRTOK): Likewise.
36759         * string/strcat.c: Remove unused #include of memcopy.h.
36760         (strcat): Use ANSI prototype.
36761         * string/strchr.c: Remove unused #include of memcopy.h.
36762         (strchr): Use ANSI prototype.
36763         * string/strcmp.c: Remove unused #include of memcopy.h.
36764         (strcmp): Use ANSI prototype.
36765         * string/strcpy.c: Remove unused #include of memcopy.h.
36766         (strcpy): Use ANSI prototype.
36768 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36770         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
36771         * config.make.in (config-extra-cppflags): Set it from
36772         libc_extra_cppflags.
36773         * configure.ac (libc_extra_cflags): Make it accumulate over
36774         configure fragments.
36775         (libc_extra_cppflags): New flag.
36776         * configure. Regenerate.
36777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36778         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
36779         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
36780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
36782         [BZ #16815]
36783         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
36784         result for FE_DOWNWARD rounding mode.
36785         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
36786         Likewise.
36787         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
36789 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
36791         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
36792         in function argument name.
36794 2014-04-03  David Svoboda  <svoboda@cert.org>
36796         [BZ #5666]
36797         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
36798         explicitly.
36800 2014-04-03  Roland McGrath  <roland@hack.frob.com>
36802         * elf/dl-unmap-segments.h: New file.
36803         * sysdeps/generic/ldsodefs.h
36804         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
36805         * elf/dl-close.c: Include <dl-unmap-segments.h>.
36806         * elf/dl-fptr.c: Likewise.
36807         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
36808         * sysdeps/aarch64/tlsdesc.c: Likewise.
36809         * sysdeps/arm/tlsdesc.c: Likewise.
36810         * sysdeps/i386/tlsdesc.c: Likewise.
36811         * sysdeps/tile/dl-runtime.c: Likewise.
36812         * sysdeps/x86_64/tlsdesc.c: Likewise.
36813         * elf/dl-load.h: New file.
36814         * elf/dl-load.c: Include it.
36815         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
36816         Macros moved to dl-load.h.
36817         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
36818         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
36819         Use _dl_unmap_segments in place of __munmap.
36820         Break out segment-mapping loop into ...
36821         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
36823 2014-04-03  Will Newton  <will.newton@linaro.org>
36825         * elf/dl-lookup.c (do_lookup_x): Remove comment
36826         referring to nested function and move variable
36827         declarations down to before first use.
36829 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
36831         [BZ #16799]
36832         [BZ #16800]
36833         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
36834         with 0 numerator.
36835         * math/s_catanf.c (__catanf): Likewise.
36836         * math/s_catanh.c (__catanh): Likewise.
36837         * math/s_catanhf.c (__catanhf): Likewise.
36838         * math/s_catanhl.c (__catanhl): Likewise.
36839         * math/s_catanl.c (__catanl): Likewise.
36840         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
36841         by positive zero when computing -Inf result.
36842         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
36843         (catanh_test): Likewise.
36844         * sysdeps/i386/fpu/libm-test-ulps: Update.
36845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36847         [BZ #16789]
36848         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
36849         instead of using underflowing value in computing result.
36850         * math/s_clog10.c (__clog10): Likewise.
36851         * math/s_clog10f.c (__clog10f): Likewise.
36852         * math/s_clog10l.c (__clog10l): Likewise.
36853         * math/s_clogf.c (__clogf): Likewise.
36854         * math/s_clogl.c (__clogl): Likewise.
36855         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
36856         (clog10_test): Likewise.
36857         * sysdeps/i386/fpu/libm-test-ulps: Update.
36858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36860 2014-04-02  Alan Modra  <amodra@gmail.com>
36862         [BZ #16739]
36863         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
36864         output when value is near a power of two.  Use int64_t for lx and
36865         remove casts.  Use decimal rather than hex exponent constants.
36866         Don't use long double multiplication when double will suffice.
36867         * math/libm-test.inc (nextafter_test_data): Add tests.
36868         * NEWS: Add 16739 and 16786 to bug list.
36870         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
36872         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
36874 2014-04-01  Will Newton  <will.newton@linaro.org>
36876         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
36877         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
36879 2014-04-01  Florian Weimer  <fweimer@redhat.com>
36881         [BZ #13347]
36882         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
36883         * nptl/tst-setuid2.c: New file.
36884         * nptl/Makefile (xtests): Add tst-setuid2.
36886 2014-04-01  Alan Modra  <amodra@gmail.com>
36888         [BZ #16786]
36889         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
36891 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36893         [BZ #6803]
36894         [BZ #6804]
36895         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
36896         set errno as appropriate.
36897         * math/w_scalbf.c (__scalbf): Likewise.
36898         * math/w_scalbl.c (__scalbl): Likewise.
36899         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
36900         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
36901         * math/libm-test.inc (scalb_test_data): Add errno expectations.
36902         Add more NaN tests.
36904         [BZ #16349]
36905         * math/w_atan2.c: Include <errno.h>.
36906         (__atan2): Set errno for result underflowing to zero.
36907         * math/w_atan2f.c: Include <errno.h>.
36908         (__atan2f): Set errno for result underflowing to zero.
36909         * math/w_atan2l.c: Include <errno.h>.
36910         (__atan2l): Set errno for result underflowing to zero.
36911         * math/auto-libm-test-in: Don't allow missing errno for some atan2
36912         tests.
36913         * math/auto-libm-test-out: Regenerated.
36915 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36917         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
36918         Encode instruction correctly in little endian.
36919         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
36920         Likewise.
36921         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
36922         Likewise.
36923         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
36924         Likewise.
36925         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
36926         Likewise.
36928 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
36930         [BZ #9894]
36931         * sysdeps/unix/sysv/linux/kernel-features.h
36932         [__sparc__ && !__arch64__ && !__sparc_v9__]
36933         (__ASSUME_SET_ROBUST_LIST): Do not define.
36934         [__sparc__ && !__arch64__ && !__sparc_v9__]
36935         (__ASSUME_FUTEX_LOCK_PI): Likewise.
36936         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
36937         Likewise.
36938         * sysdeps/unix/sysv/linux/arm/kernel-features.h
36939         (__ASSUME_FUTEX_LOCK_PI): Undefine.
36940         (__ASSUME_REQUEUE_PI): Likewise.
36941         (__ASSUME_SET_ROBUST_LIST): Likewise.
36942         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
36943         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
36944         Undefine.
36945         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36946         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
36947         Likewise.
36948         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
36949         Likewise.
36950         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
36951         Likewise.
36952         * sysdeps/unix/sysv/linux/mips/kernel-features.h
36953         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
36954         Undefine.
36955         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
36956         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
36957         Likewise.
36959         [BZ #16648]
36960         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36961         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
36962         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
36964 2014-03-31  Will Newton  <will.newton@linaro.org>
36966         * benchtests/Makefile (bench): Add ffs and ffsll to list
36967         of tests.
36968         * benchtests/ffs-inputs: New file.
36969         * benchtests/ffsll-inputs: Likewise.
36971 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
36973         [BZ #16770]
36974         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
36975         too large before casting to int.
36976         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
36977         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
36978         * math/libm-test.inc (scalb_test_data): Add more tests.
36980 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
36982         * benchtests/Makefile (DETAILED_OPT): New make option.
36983         (bench-func): Run benchmark program with -d if DETAILED_OPT is
36984         set.
36985         * benchtests/bench-skeleton.c: Include stdbool.h.
36986         (main): Store and print timings per input.
36987         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
36988         member to each argument value.
36989         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
36990         (_print_arg_data): Initialize per-input timing to 0.
36992         * benchtests/Makefile (timing-type): New binary.
36993         (bench-clean): Also remove bench-timing-type.
36994         (bench): New target for timing-type.
36995         (bench-func): Print output in JSON format.
36996         * benchtests/bench-skeleton.c (main): Print output in JSON
36997         format.
36998         * benchtests/bench-timing-type.c: New file.
36999         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
37000         (TIMING_PRINT_STATS): Remove.
37001         * benchtests/scripts/bench.py (_print_arg_data): Store variant
37002         name separately.
37004         * benchtests/bench-modf.c: Remove.
37005         * benchtests/modf-inputs: New inputs file.
37007 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
37009         [BZ #16362]
37010         * math/s_clog10.c (M_PI_LOG10E): New macro.
37011         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
37012         imaginary parts are 0.
37013         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
37014         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
37015         imaginary parts are 0.
37016         * math/s_clog10l.c (M_PI_LOG10El): New macro.
37017         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
37018         imaginary parts are 0.
37019         * math/libm-test.inc (clog10_test_data): Update expected results
37020         for when real and imaginary parts are 0.
37022 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
37024         * elf/dl-load.c: Finish conversion of __builtin_expect into
37025         __glibc_{un}likely.
37027 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
37029         [BZ #16348]
37030         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
37031         1+x for argument with exponent below -67.
37032         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
37033         Likewise.
37034         * math/auto-libm-test-in: Add more tests of exp.
37035         * math/auto-libm-test-out: Regenerated.
37037 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37039         [BZ #16759]
37040         * inet/getnetgrent_r.c (get_nonempty_val): New function.
37041         (nscd_getnetgrent): Use it.
37043         [BZ #16760]
37044         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
37045         of stpcpy.
37047 2014-03-27  Andi Kleen  <ak@linux.intel.com>
37049         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
37050         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37051         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37052         (lll_robust_unlock): Remove out of line section. Use cfi
37053         intrinsics.
37054         (LLL_STUB_UNWIND_INFO*): Remove.
37055         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
37056         (lll_robust_lock, lll_cond_lock, lll_timedlock)
37057         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
37058         (lll_robust_unlock): Remove out of line section. Use cfi
37059         intrinsics.
37060         (LLL_STUB_UNWIND_INFO*): Remove.
37062 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
37064         [BZ #16758]
37065         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
37066         blank values.
37068 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
37070         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
37072 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
37074         [BZ #16198]
37075         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
37076         fnstenv.
37077         * math/test-fenv-preserve.c: New file.
37078         * math/Makefile (tests): Add test-fenv-preserve.
37080 2014-03-26  Will Newton <will.newton@linaro.org>
37082         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
37084 2014-03-25  Roland McGrath  <roland@hack.frob.com>
37086         * scripts/versionlist.awk: Partition the version sets and emit all
37087         GLIBC_* (sorted) before all others (sorted).
37089 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37091         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
37092         GLIBC_2.2.5 version.
37094 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37096         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
37097         calls.
37099         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
37100         previous change.
37102         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37104 2014-03-25  Andreas Schwab  <schwab@suse.de>
37106         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
37107         label to be used after in6ailist is initialized.
37109 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37111         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37112         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37114 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
37116         [BZ #16357]
37117         [BZ #16599]
37118         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
37119         min_plus_half.
37120         (fp_formats): Update initializers.
37121         (init_fp_formats): Initialize new field.
37122         (output_for_one_input_case): Allow underflow for results up to
37123         min_plus_half.
37124         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
37125         * math/auto-libm-test-in: Don't mark some underflows from asin and
37126         atanh as spurious.
37127         * math/auto-libm-test-out: Regenerated.
37128         * sysdeps/i386/fpu/libm-test-ulps: Update.
37129         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37131 2014-03-25  Andreas Schwab  <schwab@suse.de>
37133         * libio/Makefile (tst-ftell-partial-wide-ENV)
37134         (tst-ftell-active-handler-ENV): Define.
37136 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
37138         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
37140 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37142         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
37144 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37146         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
37147         * sysdeps/x86_64/fpu/multiarch/e_exp.c
37148         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
37150 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
37152         [BZ #16634]
37153         * elf/dl-load.c (open_verify): Add mode parameter.
37154         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
37155         (open_path): Change from boolean 'secure' to complete flag 'mode'
37156         (_dl_map_object): Adjust.
37157         * elf/Makefile (tests): Add tst-dlopen-aout.
37158         * elf/tst-dlopen-aout.c: New test.
37160 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
37162         [BZ #16714]
37163         * sysdeps/unix/sysv/linux/s390/bits/stat.h
37164         (struct stat): Rename member pad0 to __glibc_reserved0.
37166         [BZ #16712]
37167         * sysdeps/s390/s390-32/bits/wordsize.h
37168         (__WORDSIZE32_SIZE_ULONG): New define.
37169         * sysdeps/s390/s390-64/bits/wordsize.h
37170         (__WORDSIZE32_SIZE_ULONG): Likewise.
37171         * sysdeps/generic/stdint.h (SIZE_MAX):
37172         Define as UL if __WORDSIZE32_SIZE_ULONG.
37174         [BZ #16713]
37175         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
37176         (__glibc_reserved0): New variable.
37177         (sa_flags): Change type to int.
37179         * posix/Makefile (before-compile): Use += before-compile instead
37180         of a :=.
37182         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
37183         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
37185 2014-03-20  Andreas Schwab  <schwab@suse.de>
37187         [BZ #16743]
37188         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
37189         non-matching result from nscd.
37191 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
37193         * scripts/bench.py: Moved to ...
37194         * benchtests/scripts/bench.py: ... here.
37195         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
37197 2014-03-24  Andreas Schwab  <schwab@suse.de>
37199         [BZ #16002]
37200         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
37201         alloca_account and account alloca use for struct in6ailist.
37203 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
37205         [BZ #16284]
37206         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
37207         rounding mode to recompute results that overflow to infinity or
37208         underflow to zero.
37209         * math/auto-libm-test-in: Don't mark tests as expected to fail for
37210         bug 16284.
37211         * math/auto-libm-test-out: Regenerated.
37212         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
37213         (ccosh_test): Likewise.
37214         (csin_test_data): Use plus_oflow.
37215         (csin_test): Use ALL_RM_TEST.
37216         (csinh_test_data): Use plus_oflow.
37217         (csinh_test): Use ALL_RM_TEST.
37218         * sysdeps/i386/fpu/libm-test-ulps: Update.
37219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37221 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
37223         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
37224         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
37225         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
37227         [BZ #16731]
37228         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
37229         when x - 1 is zero.
37230         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
37231         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
37232         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
37233         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
37234         argument is 1.
37235         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
37236         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
37237         zero.
37238         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
37239         * sysdeps/i386/fpu/libm-test-ulps: Update.
37240         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37242 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
37244         * scripts/bench.pl: Remove file.
37245         * scripts/bench.py: New benchmark script.
37246         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
37247         * benchtests/README: Mention python dependency.
37248         * scripts/pylintrc: New file.
37249         * scripts/pylint: New file.
37251         * bits/mathdef.h: Use #ifdef instead of #if.
37252         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
37253         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37254         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
37255         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37256         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
37257         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
37259 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37260             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37262         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
37263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
37264         and strpbrk-ppc64 objects.
37265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37266         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
37267         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
37268         multiarch strpbrk for POWER7.
37269         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
37270         multiarch strpbrk for PPC64.
37271         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
37272         ifunc selector.
37273         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
37274         strpbrk for POWER7.
37276 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37278         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
37279         (atan_test): Likewise.
37280         (atanh_test_data): Use NO_TEST_INLINE for two tests.
37281         (atanh_test): Use ALL_RM_TEST.
37282         (atan2_test_data): Likewise.
37283         (cabs_test): Likewise.
37284         (cacosh_test): Likewise.
37285         (carg_test): Likewise.
37286         (casin_test): Likewise.
37287         (casinh_test): Likewise.
37288         (cbrt_test): Likewise.
37289         (csqrt_test): Likewise.
37290         (erf_test): Likewise.
37291         (erfc_test): Likewise.
37292         (pow10_test): Likewise.
37293         (exp2_test): Likewise.
37294         (hypot_test): Likewise.
37295         (j0_test): Likewise.
37296         (j1_test): Likewise.
37297         (lgamma_test): Likewise.
37298         (gamma_test): Likewise.
37299         (sincos_test): Likewise.
37300         (tanh_test): Likewise.
37301         (y0_test): Likewise.
37302         (y1_test): Likewise.
37303         * sysdeps/i386/fpu/libm-test-ulps: Update.
37304         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37306 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37308         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
37309         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
37310         and strcspn-ppc64 objects.
37311         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37312         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
37313         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
37314         multiarch strcspn for POWER7.
37315         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
37316         multiarch strcspn for PPC64.
37317         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
37318         ifunc selector.
37319         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
37320         strcspn for POWER7.
37322 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
37324         * math/gen-libm-test.pl (generate_testfile): Expect only function
37325         name as argument to AUTO_TESTS_* and pass results for all rounding
37326         modes to parse_args.
37327         (parse_auto_input): Separate inputs of automatic tests from
37328         outputs before storing in %auto_tests.
37329         * math/libm-test.inc (acos_test_data): Update call to
37330         AUTO_TESTS_f_f.
37331         (acos_test): Use ALL_RM_TEST.
37332         (acos_tonearest_test_data): Remove.
37333         (acos_test_tonearest): Likewise.
37334         (acos_towardzero_test_data): Likewise.
37335         (acos_test_towardzero): Likewise.
37336         (acos_downward_test_data): Likewise.
37337         (acos_test_downward): Likewise.
37338         (acos_upward_test_data): Likewise.
37339         (acos_test_upward): Likewise.
37340         (acosh_test_data): Update call to AUTO_TESTS_f_f.
37341         (asin_test_data): Likewise.
37342         (asin_test): Use ALL_RM_TEST.
37343         (asin_tonearest_test_data): Remove.
37344         (asin_test_tonearest): Likewise.
37345         (asin_towardzero_test_data): Likewise.
37346         (asin_test_towardzero): Likewise.
37347         (asin_downward_test_data): Likewise.
37348         (asin_test_downward): Likewise.
37349         (asin_upward_test_data): Likewise.
37350         (asin_test_upward): Likewise.
37351         (asinh_test_data): Update call to AUTO_TESTS_f_f.
37352         (atan_test_data): Likewise.
37353         (atanh_test_data): Likewise.
37354         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
37355         (cabs_test_data): Update call to AUTO_TESTS_c_f.
37356         (carg_test_data): Likewise.
37357         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
37358         (ccos_test_data): Update call to AUTO_TESTS_c_c.
37359         (ccosh_test_data): Likewise.
37360         (cexp_test_data): Likewise.
37361         (clog_test_data): Likewise.
37362         (clog10_test_data): Likewise.
37363         (cos_test_data): Update call to AUTO_TESTS_f_f.
37364         (cos_test): Use ALL_RM_TEST.
37365         (cos_tonearest_test_data): Remove.
37366         (cos_test_tonearest): Likewise.
37367         (cos_towardzero_test_data): Likewise.
37368         (cos_test_towardzero): Likewise.
37369         (cos_downward_test_data): Likewise.
37370         (cos_test_downward): Likewise.
37371         (cos_upward_test_data): Likewise.
37372         (cos_test_upward): Likewise.
37373         (cosh_test_data): Update call to AUTO_TESTS_f_f.
37374         (cosh_test): Use ALL_RM_TEST.
37375         (cosh_tonearest_test_data): Remove.
37376         (cosh_test_tonearest): Likewise.
37377         (cosh_towardzero_test_data): Likewise.
37378         (cosh_test_towardzero): Likewise.
37379         (cosh_downward_test_data): Likewise.
37380         (cosh_test_downward): Likewise.
37381         (cosh_upward_test_data): Likewise.
37382         (cosh_test_upward): Likewise.
37383         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
37384         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
37385         (ctan_test_data): Likewise.
37386         (ctan_test): Use ALL_RM_TEST.
37387         (ctan_tonearest_test_data): Remove.
37388         (ctan_test_tonearest): Likewise.
37389         (ctan_towardzero_test_data): Likewise.
37390         (ctan_test_towardzero): Likewise.
37391         (ctan_downward_test_data): Likewise.
37392         (ctan_test_downward): Likewise.
37393         (ctan_upward_test_data): Likewise.
37394         (ctan_test_upward): Likewise.
37395         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
37396         (ctanh_test): Use ALL_RM_TEST.
37397         (ctanh_tonearest_test_data): Remove.
37398         (ctanh_test_tonearest): Likewise.
37399         (ctanh_towardzero_test_data): Likewise.
37400         (ctanh_test_towardzero): Likewise.
37401         (ctanh_downward_test_data): Likewise.
37402         (ctanh_test_downward): Likewise.
37403         (ctanh_upward_test_data): Likewise.
37404         (ctanh_test_upward): Likewise.
37405         (erf_test_data): Update call to AUTO_TESTS_f_f.
37406         (erfc_test_data): Likewise.
37407         (exp_test_data): Likewise.
37408         (exp_test): Use ALL_RM_TEST.
37409         (exp_tonearest_test_data): Remove.
37410         (exp_test_tonearest): Likewise.
37411         (exp_towardzero_test_data): Likewise.
37412         (exp_test_towardzero): Likewise.
37413         (exp_downward_test_data): Likewise.
37414         (exp_test_downward): Likewise.
37415         (exp_upward_test_data): Likewise.
37416         (exp_test_upward): Likewise.
37417         (exp10_test_data): Update call to AUTO_TESTS_f_f.
37418         (exp10_test): Use ALL_RM_TEST.
37419         (exp10_tonearest_test_data): Remove.
37420         (exp10_test_tonearest): Likewise.
37421         (exp10_towardzero_test_data): Likewise.
37422         (exp10_test_towardzero): Likewise.
37423         (exp10_downward_test_data): Likewise.
37424         (exp10_test_downward): Likewise.
37425         (exp10_upward_test_data): Likewise.
37426         (exp10_test_upward): Likewise.
37427         (exp2_test_data): Update call to AUTO_TESTS_f_f.
37428         (expm1_test_data): Likewise.
37429         (expm1_test): Use ALL_RM_TEST.
37430         (expm1_tonearest_test_data): Remove.
37431         (expm1_test_tonearest): Likewise.
37432         (expm1_towardzero_test_data): Likewise.
37433         (expm1_test_towardzero): Likewise.
37434         (expm1_downward_test_data): Likewise.
37435         (expm1_test_downward): Likewise.
37436         (expm1_upward_test_data): Likewise.
37437         (expm1_test_upward): Likewise.
37438         (fma_test_data): Update call to AUTO_TESTS_fff_f.
37439         (fma_test): Use ALL_RM_TEST.
37440         (fma_towardzero_test_data): Remove.
37441         (fma_test_towardzero): Likewise.
37442         (fma_downward_test_data): Likewise.
37443         (fma_test_downward): Likewise.
37444         (fma_upward_test_data): Likewise.
37445         (fma_test_upward): Likewise.
37446         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
37447         (j0_test_data): Update call to AUTO_TESTS_f_f.
37448         (j1_test_data): Likewise.
37449         (jn_test_data): Update call to AUTO_TESTS_if_f.
37450         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
37451         (log_test_data): Update call to AUTO_TESTS_f_f.
37452         (log10_test_data): Likewise.
37453         (log1p_test_data): Likewise.
37454         (log2_test_data): Likewise.
37455         (pow_test_data): Update call to AUTO_TESTS_ff_f.
37456         (pow_tonearest_test_data): Likewise.
37457         (sin_test_data): Update call to AUTO_TESTS_f_f.
37458         (sin_test): Use ALL_RM_TEST.
37459         (sin_tonearest_test_data): Remove.
37460         (sin_test_tonearest): Likewise.
37461         (sin_towardzero_test_data): Likewise.
37462         (sin_test_towardzero): Likewise.
37463         (sin_downward_test_data): Likewise.
37464         (sin_test_downward): Likewise.
37465         (sin_upward_test_data): Likewise.
37466         (sin_test_upward): Likewise.
37467         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
37468         (sinh_test_data): Update call to AUTO_TESTS_f_f.
37469         (sinh_test): Use ALL_RM_TEST.
37470         (sinh_tonearest_test_data): Remove.
37471         (sinh_test_tonearest): Likewise.
37472         (sinh_towardzero_test_data): Likewise.
37473         (sinh_test_towardzero): Likewise.
37474         (sinh_downward_test_data): Likewise.
37475         (sinh_test_downward): Likewise.
37476         (sinh_upward_test_data): Likewise.
37477         (sinh_test_upward): Likewise.
37478         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
37479         (sqrt_test): Use ALL_RM_TEST.
37480         (sqrt_tonearest_test_data): Remove.
37481         (sqrt_test_tonearest): Likewise.
37482         (sqrt_towardzero_test_data): Likewise.
37483         (sqrt_test_towardzero): Likewise.
37484         (sqrt_downward_test_data): Likewise.
37485         (sqrt_test_downward): Likewise.
37486         (sqrt_upward_test_data): Likewise.
37487         (sqrt_test_upward): Likewise.
37488         (tan_test_data): Update call to AUTO_TESTS_f_f.
37489         (tan_test): Use ALL_RM_TEST.
37490         (tan_tonearest_test_data): Remove.
37491         (tan_test_tonearest): Likewise.
37492         (tan_towardzero_test_data): Likewise.
37493         (tan_test_towardzero): Likewise.
37494         (tan_downward_test_data): Likewise.
37495         (tan_test_downward): Likewise.
37496         (tan_upward_test_data): Likewise.
37497         (tan_test_upward): Likewise.
37498         (tanh_test_data): Update call to AUTO_TESTS_f_f.
37499         (tgamma_test_data): Likewise.
37500         (y0_test_data): Likewise.
37501         (y1_test_data): Likewise.
37502         (yn_test_data): Update call to AUTO_TESTS_if_f.
37503         (main): Do not call removed functions.
37505 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37507         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
37508         (ldexp_test_data): Remove.
37509         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
37510         scalbn_test_data.
37511         (scalb_test): Use ALL_RM_TEST.
37513 2014-03-19  Andreas Schwab  <schwab@suse.de>
37515         * nscd/nscd.service: Also invalidate netgroup cache on reload.
37517 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
37519         [BZ #16649]
37520         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
37521         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
37522         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
37523         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37524         (__ASSUME_PREADV): Undefine.
37525         (__ASSUME_PWRITEV): Likewise.
37527 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37529         * bits/mman-linux.h: Add comment about non-Linux use.
37530         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
37531         bits/mman-linux.h resting place.
37533         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
37534         * bits/mman-linux.h: ... here.
37536 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37538         * conform/conformtest.pl: Add standard definition when calling C
37539         preprocessor on data files.
37540         (checknamespace): Remove unused variable.
37542 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37544         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
37545         minus_oflow, plus_uflow and minus_uflow in expected results.
37546         * math/libm-test.inc (scalbn_test_data): Add more tests of
37547         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
37548         minus_uflow.
37549         (scalbn_test): Use ALL_RM_TEST.
37550         (scalbln_test_data): Add more tests of negative arguments.  Use
37551         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
37552         (scalbln_test): Use ALL_RM_TEST.
37554 2014-03-18  Roland McGrath  <roland@hack.frob.com>
37556         * scripts/abilist.awk: Ignore symbols marked with .hidden.
37558 2014-03-18  Will Newton  <will.newton@linaro.org>
37560         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
37561         inaccurate comment.
37563 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
37565         * Makerules [!subdir] (check-abi): Exit with error status if a
37566         test failed.
37568 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37570         * math/libm-test.inc (nearbyint_test_data): Include all tests used
37571         for rint.  Include results for all rounding modes.
37572         (nearbyint_test): Use ALL_RM_TEST.
37573         (rint_test_data): Include all tests used for nearbyint.
37575 2014-03-17  Will Newton  <will.newton@linaro.org>
37577         * nptl/sysdeps/pthread/pthread.h: Revert previous
37578         change.
37580         * sysdeps/generic/ldsodefs.h: Revert previous
37581         change.
37583         * libio/genops.c: Revert previous change.
37584         * libio/libioP.h: Likewise.
37585         * stdio-common/vfprintf.c: Likewise.
37587         * sysdeps/generic/math_private.h: Revert previous
37588         change.
37590         * sysdeps/generic/math_private.h: Check whether
37591         HAVE_RM_CTX is defined with #ifdef rather
37592         than #if.
37594         * argp/argp-fmtstream.h: Check whether
37595         __STRICT_ANSI__ is defined with #ifdef rather
37596         than #if.
37597         * argp/argp.h: Likewise.
37599         * libio/genops.c: Check whether
37600         _IO_JUMPS_OFFSET is defined with #ifdef rather
37601         than #if.
37602         * libio/libioP.h: Likewise.
37603         * stdio-common/vfprintf.c: Likewise.
37605         * sysdeps/generic/ldsodefs.h: Check whether
37606         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
37607         than #if.
37609         * nptl/sysdeps/pthread/pthread.h: Check
37610         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
37611         its value.
37613 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
37615         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
37616         setting O_APPEND.
37617         * libio/tst-ftell-active-handler.c (do_append_test): Add a
37618         test case.
37620         [BZ #16680]
37621         * libio/fileops.c (_IO_file_open): Seek to end of file but
37622         don't cache the offset.
37623         (get_file_offset): Remove function.
37624         (do_ftell): Use cached offset when available.
37625         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
37626         don't cache the offset.
37627         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
37628         case.
37629         (do_one_test): Call it.
37630         (do_ftell_test): Fix up expected old offset for a+ mode.
37631         * libio/wfileops.c (do_ftell_wide): Used cached offset when
37632         available.
37634         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
37635         up test status with function return status.
37636         (do_write_test): Likewise.
37637         (do_append_test): Likewise.
37639         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
37640         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
37641         Remove.
37643 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
37645         * math/gen-libm-test.pl (parse_args): Handle results specified for
37646         each rounding mode separately.
37647         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
37648         tests and results from lrint_tonearest_test_data,
37649         lrint_towardzero_test_data, lrint_downward_test_data and
37650         lrint_upward_test_data.
37651         (lrint_test): Use ALL_RM_TEST.
37652         (lrint_tonearest_test_data): Remove.
37653         (lrint_test_tonearest): Likewise.
37654         (lrint_towardzero_test_data): Likewise.
37655         (lrint_test_towardzero): Likewise.
37656         (lrint_downward_test_data): Likewise.
37657         (lrint_test_downward): Likewise.
37658         (lrint_upward_test_data): Likewise.
37659         (lrint_test_upward): Likewise.
37660         (llrint_test_data): Merge in per-rounding-mode tests and results
37661         from llrint_tonearest_test_data, llrint_towardzero_test_data,
37662         llrint_downward_test_data and llrint_upward_test_data.
37663         (llrint_test): Use ALL_RM_TEST.
37664         (llrint_tonearest_test_data): Remove.
37665         (llrint_test_tonearest): Likewise.
37666         (llrint_towardzero_test_data): Likewise.
37667         (llrint_test_towardzero): Likewise.
37668         (llrint_downward_test_data): Likewise.
37669         (llrint_test_downward): Likewise.
37670         (llrint_upward_test_data): Likewise.
37671         (llrint_test_upward): Likewise.
37672         (rint_test_data): Merge in per-rounding-mode tests and results
37673         from rint_tonearest_test_data, rint_towardzero_test_data,
37674         rint_downward_test_data and rint_upward_test_data.  Add
37675         per-rounding-mode results for tests not in those arrays.
37676         (rint_test): Use ALL_RM_TEST.
37677         (rint_tonearest_test_data): Remove.
37678         (rint_test_tonearest): Likewise.
37679         (rint_towardzero_test_data): Likewise.
37680         (rint_test_towardzero): Likewise.
37681         (rint_downward_test_data): Likewise.
37682         (rint_test_downward): Likewise.
37683         (rint_upward_test_data): Likewise.
37684         (rint_test_upward): Likewise.
37685         (main): Don't call removed functions.
37687 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37689         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
37690         "Compiled on ..." crapola.  It is anti-useful.
37692 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
37694         * scripts/evaluate-test.sh: Handle fourth argument to determine
37695         whether test run should stop on failure.
37696         * Makeconfig (stop-on-test-failure): New variable.
37697         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
37698         $(stop-on-test-failure).
37699         * Makefile (tests): Give a summary of results from testing and
37700         exit with failure status if they include an ERROR or FAIL.
37701         (xtests): Likewise.
37702         * manual/install.texi (Configuring and compiling): Mention
37703         stop-on-test-failure=y.
37704         * INSTALL: Regenerated.
37706 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37708         * scripts/versionlist.awk: New file.
37709         * Makerules [$(build-shared) = yes]
37710         (postclean-generated): Add Versions.def, not Versions.def.v and
37711         Versions.def.v.i.
37712         ($(common-objpfx)Versions.def.v.i): Target removed.
37713         ($(common-objpfx)Versions.def): New target.
37714         ($(common-objpfx)Versions.all): Depend on that rather that
37715         $(common-objpfx)Versions.def.v.
37716         * Versions.def: File removed.
37718         * Makeconfig (+gccwarn): Add -Wundef.
37719         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
37720         a dl-sysdep.h breaking its contract.
37721         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
37722         * include/stackinfo.h: New file.
37723         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
37724         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
37725         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
37726         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
37727         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
37728         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
37729         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37730         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37731         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37732         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37733         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37734         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
37735         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37736         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37737         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
37739 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37741         [BZ #16707]
37742         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
37743         implementation.
37744         * math/libm-test.inc (round_test_data): Add more tests.
37746         [BZ #16706]
37747         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
37748         implementation.
37749         * math/libm-test.inc (nearbyint_test_data): Add more tests.
37751         [BZ #16701]
37752         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
37753         implementation.
37754         * math/libm-test.inc (ceil_test_data): Add more tests.
37756         * math/libm-test.inc (trunc_test_data): Add more tests related to
37757         BZ#16414.
37759 2014-03-14  Roland McGrath  <roland@hack.frob.com>
37761         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
37762         with #if rather than #ifdef.
37763         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
37765 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
37767         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
37768         first.  Disable AVX-512 GCC support if assembler doesn't support
37769         it.
37770         * sysdeps/x86_64/configure: Regenerated.
37772 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
37774         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
37775         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
37776         (__old_pthread_attr_setstack): Likewise.
37777         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
37778         [!_STACK_GROWS_DOWN]: Likewise.
37780 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
37782         * config.make.in (have-bash2): Delete.
37783         * configure.ac (libc_cv_have_bash2): Delete.
37784         * configure: Regenerate.
37785         * elf/Makefile (common-ldd-rewrite): Rename to ...
37786         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
37787         (sh-ldd-rewrite): Delete.
37788         (bash-ldd-rewrite): Delete.
37789         (have-bash2): Delete checks.
37790         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
37791         ldd-rewrite.
37793         * config.make.in (have-ksh): Delete.
37794         (KSH): Delete.
37795         * configure.ac (libc_cv_have_ksh): Delete.
37796         * configure: Regenerate.
37798         * elf/Makefile: Delete $(have-ksh) check.
37799         ($(objpfx)sotruss): Change KSH to BASH.
37800         * elf/sotruss.ksh: Rename to ...
37801         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
37802         function style to match POSIX.  Drop ksh vim mode setting.
37804         * manual/time.texi (Specifying the Time Zone with TZ): Change
37805         Tuesday to Thursday.
37807         * debug/tst-longjmp_chk2.c: Update header comment.
37808         (stackoverflow_handler): Add comment.  Call assert on pass value.
37810 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
37812         [BZ #16194]
37813         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
37814         (HAVE_AVX512_ASM_SUPPORT): Likewise.
37815         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
37816         (La_x86_64_vector): Add zmm.
37817         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
37818         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
37819         ($(objpfx)tst-audit10): New target.
37820         ($(objpfx)tst-audit10.out): Likewise.
37821         (tst-audit10-ENV): New.
37822         (AVX512-CFLAGS): Likewise.
37823         (CFLAGS-tst-audit10.c): Likewise.
37824         (CFLAGS-tst-auditmod10a.c): Likewise.
37825         (CFLAGS-tst-auditmod10b.c): Likewise.
37826         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
37827         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
37828         * sysdeps/x86_64/configure: Regenerated.
37829         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
37830         AVX-512 zmm register support.
37831         (_dl_x86_64_save_sse): Likewise.
37832         (_dl_x86_64_restore_sse): Likewise.
37833         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
37834         size vector registers.
37835         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
37836         (ZMM_SIZE): Likewise.
37837         * sysdeps/x86_64/tst-audit10.c: New file.
37838         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
37839         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
37841 2014-03-13  Roland McGrath  <roland@hack.frob.com>
37843         * configure.ac (HAVE_EHDR_START): New check.
37844         * configure: Regenerated.
37845         * config.h.in (HAVE_EHDR_START): New #undef.
37846         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
37847         assuming the lowest-addressed segment maps the start of the file.
37849 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
37851         * INSTALL: Regenerated.
37853 2014-03-13  Will Newton  <will.newton@linaro.org>
37855         * manual/setjmp.texi (System V contexts): Improve
37856         clarity and grammar of documentation.
37858 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
37860         [BZ #16381]
37861         * elf/Makefile (tests): Add tst-pie2.
37862         (tests-pie): Add tst-pie2.
37863         * elf/tst-pie2.c: New file.
37864         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
37865         for ET_EXEC.
37866         * elf/rtld.c (map_doit): Load executable as lt_executable.
37867         (dl_main): Likewise.
37869 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
37871         [BZ #16642]
37872         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37873         (__ASSUME_PSELECT): Undefine.
37875 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37877         [BZ #16689]
37878         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
37879         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
37880         static build.
37881         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
37882         selector for static builds.
37884 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
37886         [BZ #16695]
37887         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
37888         key in the buffer.
37890 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37892         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
37893         IFUNC selector for static builds.
37895 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
37897         * sysdeps/mips/math_private.h [__mips_hard_float]
37898         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
37899         libc_feresetround_mips_ctx.
37900         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
37901         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
37902         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
37904         [BZ #16677]
37905         * math/s_nextafter.c (__nextafter): Do not return value from
37906         overflowing computation.
37907         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
37908         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
37909         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
37910         Likewise.
37911         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
37912         Likewise.
37913         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
37914         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
37916 2014-03-11  Roland McGrath  <roland@hack.frob.com>
37918         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
37919         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
37920         Move sfi_sp use from the load-multiple (that no longer sets sp) to
37921         the new mov targetting sp.
37923 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37925         [BZ #16683]
37926         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
37927         Define it for static builds as well.
37928         (NO_BZERO_IMPL): Likewise.
37930 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37932         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
37933         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
37934         multiarch strspn for PPC64.
37935         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
37936         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
37937         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37938         (__libc_ifunc_impl_list): Likewise.
37939         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
37940         multiarch optimizations
37941         * string/strspn.c (strspn): Using macro to redefine symbol name.
37943 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
37944             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37946         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
37947         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
37948         multiarch strncat for PPC64.
37949         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
37950         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
37951         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37952         (__libc_ifunc_impl_list): Likewise.
37953         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
37954         multiarch optimizations
37956 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
37958         [BZ #16639]
37959         * nscd/nscd.service: Make service type forking.
37961 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37963         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
37964         sign in non default rounding modes.
37965         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
37967 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
37969         * math/libm-test.inc (ALL_RM_TEST): New macro.
37970         (ceil_test): Use ALL_RM_TEST.
37971         (cimag_test): Likewise.
37972         (conj_test): Likewise.
37973         (copysign_test): Likewise.
37974         (cproj_test): Likewise.
37975         (creal_test): Likewise.
37976         (fabs_test): Likewise.
37977         (floor_test): Likewise.
37978         (fmax_test): Likewise.
37979         (fmin_test): Likewise.
37980         (fmod_test): Likewise.
37981         (fpclassify_test): Likewise.
37982         (frexp_test): Likewise.
37983         (ilogb_test): Likewise.
37984         (isfinite_test): Likewise.
37985         (finite_test): Likewise.
37986         (isgreater_test): Likewise.
37987         (isgreaterequal_test): Likewise.
37988         (isinf_test): Likewise.
37989         (isless_test): Likewise.
37990         (islessequal_test): Likewise.
37991         (islessgreater_test): Likewise.
37992         (isnan_test): Likewise.
37993         (isnormal_test): Likewise.
37994         (issignaling_test): Likewise.
37995         (isunordered_test): Likewise.
37996         (logb_test): Likewise.
37997         (logb_downward_test_data): Remove.
37998         (logb_test_downward): Likewise.
37999         (lround_test): Use ALL_RM_TEST.
38000         (llround_test): Likewise.
38001         (modf_test): Likewise.
38002         (nexttoward_test): Likewise.
38003         (remainder_test): Likewise.
38004         (drem_test): Likewise.
38005         (remainder_tonearest_test_data): Likewise.
38006         (remainder_test_tonearest): Likewise.
38007         (drem_test_tonearest): Likewise.
38008         (remainder_towardzero_test_data): Likewise.
38009         (remainder_test_towardzero): Likewise.
38010         (drem_test_towardzero): Likewise.
38011         (remainder_downward_test_data): Likewise.
38012         (remainder_test_downward): Likewise.
38013         (drem_test_downward): Likewise.
38014         (remainder_upward_test_data): Likewise.
38015         (remainder_test_upward): Likewise.
38016         (drem_test_upward): Likewise.
38017         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
38018         (round_test): Use ALL_RM_TEST.
38019         (signbit_test): Likewise.
38020         (trunc_test): Likewise.
38021         (significand_test): Likewise.
38022         (main): Don't call removed functions.
38024 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38026         [BZ #16674]
38027         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
38028         || __USE_XOPEN2K8].
38029         (ILL_ILLOPN): Likewise.
38030         (ILL_ILLADR): Likewise.
38031         (ILL_ILLTRP): Likewise.
38032         (ILL_PRVOPC): Likewise.
38033         (ILL_PRVREG): Likewise.
38034         (ILL_COPROC): Likewise.
38035         (ILL_BADSTK): Likewise.
38036         (FPE_INTDIV): Likewise.
38037         (FPE_INTOVF): Likewise.
38038         (FPE_FLTDIV): Likewise.
38039         (FPE_FLTOVF): Likewise.
38040         (FPE_FLTUND): Likewise.
38041         (FPE_FLTRES): Likewise.
38042         (FPE_FLTINV): Likewise.
38043         (FPE_FLTSUB): Likewise.
38044         (SEGV_MAPERR): Likewise.
38045         (SEGV_ACCERR): Likewise.
38046         (BUS_ADRALN): Likewise.
38047         (BUS_ADRERR): Likewise.
38048         (BUS_OBJERR): Likewise.
38049         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38050         (TRAP_TRACE): Likewise.
38051         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38052         __USE_XOPEN2K8].
38053         (CLD_KILLED): Likewise.
38054         (CLD_DUMPED): Likewise.
38055         (CLD_TRAPPED): Likewise.
38056         (CLD_STOPPED): Likewise.
38057         (CLD_CONTINUED): Likewise.
38058         (POLL_IN): Likewise.
38059         (POLL_OUT): Likewise.
38060         (POLL_MSG): Likewise.
38061         (POLL_ERR): Likewise.
38062         (POLL_PRI): Likewise.
38063         (POLL_HUP): Likewise.
38064         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
38065         Likewise.
38066         (ILL_ILLOPN): Likewise.
38067         (ILL_ILLADR): Likewise.
38068         (ILL_ILLTRP): Likewise.
38069         (ILL_PRVOPC): Likewise.
38070         (ILL_PRVREG): Likewise.
38071         (ILL_COPROC): Likewise.
38072         (ILL_BADSTK): Likewise.
38073         (FPE_INTDIV): Likewise.
38074         (FPE_INTOVF): Likewise.
38075         (FPE_FLTDIV): Likewise.
38076         (FPE_FLTOVF): Likewise.
38077         (FPE_FLTUND): Likewise.
38078         (FPE_FLTRES): Likewise.
38079         (FPE_FLTINV): Likewise.
38080         (FPE_FLTSUB): Likewise.
38081         (SEGV_MAPERR): Likewise.
38082         (SEGV_ACCERR): Likewise.
38083         (BUS_ADRALN): Likewise.
38084         (BUS_ADRERR): Likewise.
38085         (BUS_OBJERR): Likewise.
38086         (BUS_MCEERR_AR): Likewise.
38087         (BUS_MCEERR_AO): Likewise.
38088         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38089         (TRAP_TRACE): Likewise.
38090         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38091         __USE_XOPEN2K8].
38092         (CLD_KILLED): Likewise.
38093         (CLD_DUMPED): Likewise.
38094         (CLD_TRAPPED): Likewise.
38095         (CLD_STOPPED): Likewise.
38096         (CLD_CONTINUED): Likewise.
38097         (POLL_IN): Likewise.
38098         (POLL_OUT): Likewise.
38099         (POLL_MSG): Likewise.
38100         (POLL_ERR): Likewise.
38101         (POLL_PRI): Likewise.
38102         (POLL_HUP): Likewise.
38103         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
38104         (ILL_ILLOPN): Likewise.
38105         (ILL_ILLADR): Likewise.
38106         (ILL_ILLTRP): Likewise.
38107         (ILL_PRVOPC): Likewise.
38108         (ILL_PRVREG): Likewise.
38109         (ILL_COPROC): Likewise.
38110         (ILL_BADSTK): Likewise.
38111         (FPE_INTDIV): Likewise.
38112         (FPE_INTOVF): Likewise.
38113         (FPE_FLTDIV): Likewise.
38114         (FPE_FLTOVF): Likewise.
38115         (FPE_FLTUND): Likewise.
38116         (FPE_FLTRES): Likewise.
38117         (FPE_FLTINV): Likewise.
38118         (FPE_FLTSUB): Likewise.
38119         (SEGV_MAPERR): Likewise.
38120         (SEGV_ACCERR): Likewise.
38121         (BUS_ADRALN): Likewise.
38122         (BUS_ADRERR): Likewise.
38123         (BUS_OBJERR): Likewise.
38124         (BUS_MCEERR_AR): Likewise.
38125         (BUS_MCEERR_AO): Likewise.
38126         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38127         (TRAP_TRACE): Likewise.
38128         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38129         __USE_XOPEN2K8].
38130         (CLD_KILLED): Likewise.
38131         (CLD_DUMPED): Likewise.
38132         (CLD_TRAPPED): Likewise.
38133         (CLD_STOPPED): Likewise.
38134         (CLD_CONTINUED): Likewise.
38135         (POLL_IN): Likewise.
38136         (POLL_OUT): Likewise.
38137         (POLL_MSG): Likewise.
38138         (POLL_ERR): Likewise.
38139         (POLL_PRI): Likewise.
38140         (POLL_HUP): Likewise.
38141         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
38142         Likewise.
38143         (ILL_ILLOPN): Likewise.
38144         (ILL_ILLADR): Likewise.
38145         (ILL_ILLTRP): Likewise.
38146         (ILL_PRVOPC): Likewise.
38147         (ILL_PRVREG): Likewise.
38148         (ILL_COPROC): Likewise.
38149         (ILL_BADSTK): Likewise.
38150         (ILL_BADIADDR): Likewise.
38151         (ILL_BREAK): Likewise.
38152         (FPE_INTDIV): Likewise.
38153         (FPE_INTOVF): Likewise.
38154         (FPE_FLTDIV): Likewise.
38155         (FPE_FLTOVF): Likewise.
38156         (FPE_FLTUND): Likewise.
38157         (FPE_FLTRES): Likewise.
38158         (FPE_FLTINV): Likewise.
38159         (FPE_FLTSUB): Likewise.
38160         (FPE_DECOVF): Likewise.
38161         (FPE_DECDIV): Likewise.
38162         (FPE_DECERR): Likewise.
38163         (FPE_INVASC): Likewise.
38164         (FPE_INVDEC): Likewise.
38165         (SEGV_MAPERR): Likewise.
38166         (SEGV_ACCERR): Likewise.
38167         (SEGV_PSTKOVF): Likewise.
38168         (BUS_ADRALN): Likewise.
38169         (BUS_ADRERR): Likewise.
38170         (BUS_OBJERR): Likewise.
38171         (BUS_MCEERR_AR): Likewise.
38172         (BUS_MCEERR_AO): Likewise.
38173         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38174         (TRAP_TRACE): Likewise.
38175         (TRAP_BRANCH): Likewise.
38176         (TRAP_HWBKPT): Likewise.
38177         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38178         __USE_XOPEN2K8].
38179         (CLD_KILLED): Likewise.
38180         (CLD_DUMPED): Likewise.
38181         (CLD_TRAPPED): Likewise.
38182         (CLD_STOPPED): Likewise.
38183         (CLD_CONTINUED): Likewise.
38184         (POLL_IN): Likewise.
38185         (POLL_OUT): Likewise.
38186         (POLL_MSG): Likewise.
38187         (POLL_ERR): Likewise.
38188         (POLL_PRI): Likewise.
38189         (POLL_HUP): Likewise.
38190         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
38191         (ILL_ILLOPN): Likewise.
38192         (ILL_ILLADR): Likewise.
38193         (ILL_ILLTRP): Likewise.
38194         (ILL_PRVOPC): Likewise.
38195         (ILL_PRVREG): Likewise.
38196         (ILL_COPROC): Likewise.
38197         (ILL_BADSTK): Likewise.
38198         (FPE_INTDIV): Likewise.
38199         (FPE_INTOVF): Likewise.
38200         (FPE_FLTDIV): Likewise.
38201         (FPE_FLTOVF): Likewise.
38202         (FPE_FLTUND): Likewise.
38203         (FPE_FLTRES): Likewise.
38204         (FPE_FLTINV): Likewise.
38205         (FPE_FLTSUB): Likewise.
38206         (SEGV_MAPERR): Likewise.
38207         (SEGV_ACCERR): Likewise.
38208         (BUS_ADRALN): Likewise.
38209         (BUS_ADRERR): Likewise.
38210         (BUS_OBJERR): Likewise.
38211         (BUS_MCEERR_AR): Likewise.
38212         (BUS_MCEERR_AO): Likewise.
38213         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38214         (TRAP_TRACE): Likewise.
38215         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38216         __USE_XOPEN2K8].
38217         (CLD_KILLED): Likewise.
38218         (CLD_DUMPED): Likewise.
38219         (CLD_TRAPPED): Likewise.
38220         (CLD_STOPPED): Likewise.
38221         (CLD_CONTINUED): Likewise.
38222         (POLL_IN): Likewise.
38223         (POLL_OUT): Likewise.
38224         (POLL_MSG): Likewise.
38225         (POLL_ERR): Likewise.
38226         (POLL_PRI): Likewise.
38227         (POLL_HUP): Likewise.
38228         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
38229         (ILL_ILLOPN): Likewise.
38230         (ILL_ILLADR): Likewise.
38231         (ILL_ILLTRP): Likewise.
38232         (ILL_PRVOPC): Likewise.
38233         (ILL_PRVREG): Likewise.
38234         (ILL_COPROC): Likewise.
38235         (ILL_BADSTK): Likewise.
38236         (FPE_INTDIV): Likewise.
38237         (FPE_INTOVF): Likewise.
38238         (FPE_FLTDIV): Likewise.
38239         (FPE_FLTOVF): Likewise.
38240         (FPE_FLTUND): Likewise.
38241         (FPE_FLTRES): Likewise.
38242         (FPE_FLTINV): Likewise.
38243         (FPE_FLTSUB): Likewise.
38244         (SEGV_MAPERR): Likewise.
38245         (SEGV_ACCERR): Likewise.
38246         (BUS_ADRALN): Likewise.
38247         (BUS_ADRERR): Likewise.
38248         (BUS_OBJERR): Likewise.
38249         (BUS_MCEERR_AR): Likewise.
38250         (BUS_MCEERR_AO): Likewise.
38251         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38252         (TRAP_TRACE): Likewise.
38253         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38254         __USE_XOPEN2K8].
38255         (CLD_KILLED): Likewise.
38256         (CLD_DUMPED): Likewise.
38257         (CLD_TRAPPED): Likewise.
38258         (CLD_STOPPED): Likewise.
38259         (CLD_CONTINUED): Likewise.
38260         (POLL_IN): Likewise.
38261         (POLL_OUT): Likewise.
38262         (POLL_MSG): Likewise.
38263         (POLL_ERR): Likewise.
38264         (POLL_PRI): Likewise.
38265         (POLL_HUP): Likewise.
38266         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
38267         (ILL_ILLOPN): Likewise.
38268         (ILL_ILLADR): Likewise.
38269         (ILL_ILLTRP): Likewise.
38270         (ILL_PRVOPC): Likewise.
38271         (ILL_PRVREG): Likewise.
38272         (ILL_COPROC): Likewise.
38273         (ILL_BADSTK): Likewise.
38274         (FPE_INTDIV): Likewise.
38275         (FPE_INTOVF): Likewise.
38276         (FPE_FLTDIV): Likewise.
38277         (FPE_FLTOVF): Likewise.
38278         (FPE_FLTUND): Likewise.
38279         (FPE_FLTRES): Likewise.
38280         (FPE_FLTINV): Likewise.
38281         (FPE_FLTSUB): Likewise.
38282         (SEGV_MAPERR): Likewise.
38283         (SEGV_ACCERR): Likewise.
38284         (BUS_ADRALN): Likewise.
38285         (BUS_ADRERR): Likewise.
38286         (BUS_OBJERR): Likewise.
38287         (BUS_MCEERR_AR): Likewise.
38288         (BUS_MCEERR_AO): Likewise.
38289         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38290         (TRAP_TRACE): Likewise.
38291         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38292         __USE_XOPEN2K8].
38293         (CLD_KILLED): Likewise.
38294         (CLD_DUMPED): Likewise.
38295         (CLD_TRAPPED): Likewise.
38296         (CLD_STOPPED): Likewise.
38297         (CLD_CONTINUED): Likewise.
38298         (POLL_IN): Likewise.
38299         (POLL_OUT): Likewise.
38300         (POLL_MSG): Likewise.
38301         (POLL_ERR): Likewise.
38302         (POLL_PRI): Likewise.
38303         (POLL_HUP): Likewise.
38304         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
38305         (ILL_ILLOPN): Likewise.
38306         (ILL_ILLADR): Likewise.
38307         (ILL_ILLTRP): Likewise.
38308         (ILL_PRVOPC): Likewise.
38309         (ILL_PRVREG): Likewise.
38310         (ILL_COPROC): Likewise.
38311         (ILL_BADSTK): Likewise.
38312         (ILL_DBLFLT): Likewise.
38313         (ILL_HARDWALL): Likewise.
38314         (FPE_INTDIV): Likewise.
38315         (FPE_INTOVF): Likewise.
38316         (FPE_FLTDIV): Likewise.
38317         (FPE_FLTOVF): Likewise.
38318         (FPE_FLTUND): Likewise.
38319         (FPE_FLTRES): Likewise.
38320         (FPE_FLTINV): Likewise.
38321         (FPE_FLTSUB): Likewise.
38322         (SEGV_MAPERR): Likewise.
38323         (SEGV_ACCERR): Likewise.
38324         (BUS_ADRALN): Likewise.
38325         (BUS_ADRERR): Likewise.
38326         (BUS_OBJERR): Likewise.
38327         (BUS_MCEERR_AR): Likewise.
38328         (BUS_MCEERR_AO): Likewise.
38329         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38330         (TRAP_TRACE): Likewise.
38331         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38332         __USE_XOPEN2K8].
38333         (CLD_KILLED): Likewise.
38334         (CLD_DUMPED): Likewise.
38335         (CLD_TRAPPED): Likewise.
38336         (CLD_STOPPED): Likewise.
38337         (CLD_CONTINUED): Likewise.
38338         (POLL_IN): Likewise.
38339         (POLL_OUT): Likewise.
38340         (POLL_MSG): Likewise.
38341         (POLL_ERR): Likewise.
38342         (POLL_PRI): Likewise.
38343         (POLL_HUP): Likewise.
38344         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
38345         (ILL_ILLOPN): Likewise.
38346         (ILL_ILLADR): Likewise.
38347         (ILL_ILLTRP): Likewise.
38348         (ILL_PRVOPC): Likewise.
38349         (ILL_PRVREG): Likewise.
38350         (ILL_COPROC): Likewise.
38351         (ILL_BADSTK): Likewise.
38352         (FPE_INTDIV): Likewise.
38353         (FPE_INTOVF): Likewise.
38354         (FPE_FLTDIV): Likewise.
38355         (FPE_FLTOVF): Likewise.
38356         (FPE_FLTUND): Likewise.
38357         (FPE_FLTRES): Likewise.
38358         (FPE_FLTINV): Likewise.
38359         (FPE_FLTSUB): Likewise.
38360         (SEGV_MAPERR): Likewise.
38361         (SEGV_ACCERR): Likewise.
38362         (BUS_ADRALN): Likewise.
38363         (BUS_ADRERR): Likewise.
38364         (BUS_OBJERR): Likewise.
38365         (BUS_MCEERR_AR): Likewise.
38366         (BUS_MCEERR_AO): Likewise.
38367         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
38368         (TRAP_TRACE): Likewise.
38369         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
38370         __USE_XOPEN2K8].
38371         (CLD_KILLED): Likewise.
38372         (CLD_DUMPED): Likewise.
38373         (CLD_TRAPPED): Likewise.
38374         (CLD_STOPPED): Likewise.
38375         (CLD_CONTINUED): Likewise.
38376         (POLL_IN): Likewise.
38377         (POLL_OUT): Likewise.
38378         (POLL_MSG): Likewise.
38379         (POLL_ERR): Likewise.
38380         (POLL_PRI): Likewise.
38381         (POLL_HUP): Likewise.
38382         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
38383         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38385         [BZ #16670]
38386         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
38387         before #include of <time.h>.
38388         [!__USE_XOPEN2K] (__need_timespec): Likewise.
38389         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
38390         (test-xfail-UNIX98/sched.h/conform): Likewise.
38392 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
38394         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
38395         error absence of trapping exception support.
38396         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
38398 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
38400         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
38401         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
38402         * timezone/Makefile (testdata): Move definition above include of
38403         Rules.
38404         (test-zones): New variable.
38405         (tests-special): Add zone files.
38406         (build-testdata): Use $(evaluate-test).
38408         * elf/Makefile (tests-special): Rename tests to end with .out.
38409         ($(objpfx)noload-mem): Likewise.
38410         ($(objpfx)tst-leaks1-mem): Likewise.
38411         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
38412         * iconv/Makefile (xtests-special): Change test-iconvconfig to
38413         $(objpfx)test-iconvconfig.out.
38414         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
38415         set -e inside subshell and redirect output to file.
38416         * iconvdata/Makefile (generated): Rename tests to end with .out.
38417         Correct type.
38418         (tests-special): Rename tests to end with .out.
38419         ($(objpfx)mtrace-tst-loading): Likewise.
38420         * intl/Makefile (generated): Likewise.
38421         (tests-special): Likewise.
38422         ($(objpfx)mtrace-tst-gettext): Likewise.
38423         * misc/Makefile (generated): Likewise.
38424         (tests-special): Likewise.
38425         ($(objpfx)tst-error1-mem): Likewise.
38426         * nptl/Makefile (tests-special): Likewise.
38427         ($(objpfx)tst-stack3-mem): Likewise.
38428         (generated): Likewise.
38429         * posix/Makefile (generated): Likewise.
38430         (tests-special): Likewise.
38431         (xtests-special): Likewise.
38432         ($(objpfx)tst-fnmatch-mem): Likewise.
38433         ($(objpfx)bug-regex2-mem): Likewise.
38434         ($(objpfx)bug-regex14-mem): Likewise.
38435         ($(objpfx)bug-regex21-mem): Likewise.
38436         ($(objpfx)bug-regex31-mem): Likewise.
38437         ($(objpfx)tst-vfork3-mem): Likewise.
38438         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
38439         ($(objpfx)tst-pcre-mem): Likewise.
38440         ($(objpfx)tst-boost-mem): Likewise.
38441         ($(objpfx)bug-ga2-mem): Likewise.
38442         ($(objpfx)bug-glob2-mem): Likewise.
38443         * resolv/Makefile (generate): Likewise.
38444         (tests-special): Likewise.
38445         (xtests-special): Likewise.
38446         (generated): Likewise.
38447         ($(objpfx)mtrace-tst-leaks): Likewise.
38448         ($(objpfx)mtrace-tst-leaks2): Likewise.
38450         * scripts/merge-test-results.sh: New file.
38451         * Makefile (tests-special-notdir): New variable.
38452         (tests): Run merge-test-results.sh.
38453         (xtests): Likewise.
38454         * Rules (tests-special-notdir): New variable.
38455         (xtests-special-notdir): Likewise.
38456         (tests): Run merge-test-results.sh
38457         (xtests): Likewise.
38459         * Makeconfig (test-xfail-name): New variable.
38460         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
38461         compute variable name for expected failures.
38462         * conform/Makefile (conformtest-headers-data): New variable.
38463         (conformtest-standards): Likewise.
38464         (conformtest-headers-ISO): Likewise.
38465         (conformtest-headers-ISO99): Likewise.
38466         (conformtest-headers-ISO11): Likewise.
38467         (conformtest-headers-POSIX): Likewise.
38468         (conformtest-headers-XPG3): Likewise.
38469         (conformtest-headers-XPG4): Likewise.
38470         (conformtest-headers-UNIX98): Likewise.
38471         (conformtest-headers-XOPEN2K): Likewise.
38472         (conformtest-headers-POSIX2008): Likewise.
38473         (conformtest-headers-XOPEN2K8): Likewise.
38474         (conformtest-header-list-base): Likewise.
38475         (conformtest-header-list-tests): Likewise.
38476         (conformtest-header-base): Likewise.
38477         (conformtest-header-tests): Likewise.
38478         (tests-special): Add $(conformtest-header-list-tests).  If
38479         [$(fast-check) && !$(cross-compiling)], add
38480         $(conformtest-header-tests) instead of
38481         $(objpfx)run-conformtest.out.
38482         (generated): Add $(conformtest-header-list-base).  If
38483         [$(fast-check) && !$(cross-compiling)], add
38484         $(conformtest-header-base).  Remove previous setting.
38485         ($(conformtest-header-list-tests)): New target.
38486         (test-xfail-run-conformtest): Remove variable.
38487         ($(objpfx)run-conformtest.out): Remove target.
38488         (test-xfail-ISO11/complex.h/conform): New variable.
38489         (test-xfail-ISO11/stdalign.h/conform): Likewise.
38490         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
38491         (test-xfail-XPG3/varargs.h/conform): Likewise.
38492         (test-xfail-XPG4/varargs.h/conform): Likewise.
38493         (test-xfail-UNIX98/varargs.h/conform): Likewise.
38494         (test-xfail-XPG4/ndbm.h/conform): Likewise.
38495         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
38496         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
38497         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
38498         (test-xfail-XPG3/fcntl.h/conform): Likewise.
38499         (test-xfail-XPG3/ftw.h/conform): Likewise.
38500         (test-xfail-XPG3/grp.h/conform): Likewise.
38501         (test-xfail-XPG3/langinfo.h/conform): Likewise.
38502         (test-xfail-XPG3/limits.h/conform): Likewise.
38503         (test-xfail-XPG3/pwd.h/conform): Likewise.
38504         (test-xfail-XPG3/search.h/conform): Likewise.
38505         (test-xfail-XPG3/signal.h/conform): Likewise.
38506         (test-xfail-XPG3/stdio.h/conform): Likewise.
38507         (test-xfail-XPG3/stdlib.h/conform): Likewise.
38508         (test-xfail-XPG3/string.h/conform): Likewise.
38509         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
38510         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
38511         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
38512         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
38513         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
38514         (test-xfail-XPG3/sys/types.h/conform): Likewise.
38515         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
38516         (test-xfail-XPG3/termios.h/conform): Likewise.
38517         (test-xfail-XPG3/time.h/conform): Likewise.
38518         (test-xfail-XPG3/unistd.h/conform): Likewise.
38519         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
38520         (test-xfail-XPG4/fcntl.h/conform): Likewise.
38521         (test-xfail-XPG4/langinfo.h/conform): Likewise.
38522         (test-xfail-XPG4/netdb.h/conform): Likewise.
38523         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
38524         (test-xfail-XPG4/signal.h/conform): Likewise.
38525         (test-xfail-XPG4/stdio.h/conform): Likewise.
38526         (test-xfail-XPG4/stdlib.h/conform): Likewise.
38527         (test-xfail-XPG4/stropts.h/conform): Likewise.
38528         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
38529         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
38530         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
38531         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
38532         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
38533         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
38534         (test-xfail-XPG4/sys/time.h/conform): Likewise.
38535         (test-xfail-XPG4/sys/types.h/conform): Likewise.
38536         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
38537         (test-xfail-XPG4/termios.h/conform): Likewise.
38538         (test-xfail-XPG4/ucontext.h/conform): Likewise.
38539         (test-xfail-XPG4/unistd.h/conform): Likewise.
38540         (test-xfail-XPG4/utmpx.h/conform): Likewise.
38541         (test-xfail-POSIX/sched.h/conform): Likewise.
38542         (test-xfail-POSIX/signal.h/conform): Likewise.
38543         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
38544         (test-xfail-POSIX/tar.h/conform): Likewise.
38545         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
38546         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
38547         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
38548         (test-xfail-UNIX98/netdb.h/conform): Likewise.
38549         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
38550         (test-xfail-UNIX98/sched.h/conform): Likewise.
38551         (test-xfail-UNIX98/signal.h/conform): Likewise.
38552         (test-xfail-UNIX98/stdio.h/conform): Likewise.
38553         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
38554         (test-xfail-UNIX98/stropts.h/conform): Likewise.
38555         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
38556         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
38557         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
38558         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
38559         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
38560         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
38561         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
38562         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
38563         (test-xfail-UNIX98/unistd.h/conform): Likewise.
38564         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
38565         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
38566         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
38567         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
38568         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
38569         (test-xfail-XOPEN2K/math.h/conform): Likewise.
38570         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
38571         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
38572         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
38573         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
38574         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
38575         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
38576         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
38577         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
38578         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
38579         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
38580         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
38581         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
38582         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
38583         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
38584         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
38585         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
38586         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
38587         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
38588         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
38589         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
38590         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
38591         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
38592         (test-xfail-POSIX2008/signal.h/conform): Likewise.
38593         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
38594         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
38595         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
38596         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
38597         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
38598         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
38599         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
38600         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
38601         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
38602         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
38603         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
38604         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
38605         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
38606         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
38607         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
38608         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
38609         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
38610         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
38611         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
38612         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
38613         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
38614         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
38615         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
38616         (conformtest-cc-flags): Likewise.
38617         ($(conformtest-header-tests): New target.
38618         * conform/check-header-lists.sh: New file.
38619         * conform/run-conformtest.sh: Remove.
38621         * conform/conformtest.pl: Allow ' and \ in values given for
38622         constants.
38623         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
38624         inclusion.
38625         [POSIX] (sys/types.h): Likewise.
38626         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
38627         inclusion.
38628         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
38629         inclusion.
38630         * conform/data/signal.h-data (SIGIO): Remove expectation.
38631         [XPG3] (SIGBUS): Do not expect.
38632         [POSIX || XPG3] (SIGPOLL): Likewise.
38633         [POSIX || XPG3] (SIGPROF): Likewise.
38634         [POSIX || XPG3] (SIGSYS): Likewise.
38635         [XPG3] (SIGTRAP): Likewise.
38636         [POSIX || XPG3] (SIGURG): Likewise.
38637         [POSIX || XPG3] (SIGVTALRM): Likewise.
38638         [POSIX || XPG3] (SIGXCPU): Likewise.
38639         [POSIX || XPG3] (SIGXFSZ): Likewise.
38640         [POSIX] (SA_SIGINFO): Expect.
38641         [XPG3] (siginfo_t): Do not expect type or contents.
38642         [POSIX] (si_pid): Do not expect element.
38643         [POSIX] (si_uid): Likewise.
38644         [POSIX] (si_addr): Likewise.
38645         [POSIX] (si_status): Likewise.
38646         [POSIX] (si_band): Likewise.
38647         [XPG4] (si_value): Likewise.
38648         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
38649         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
38650         [POSIX || XPG3] (ILL_ILLADR): Likewise.
38651         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
38652         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
38653         [POSIX || XPG3] (ILL_PRVREG): Likewise.
38654         [POSIX || XPG3] (ILL_COPROC): Likewise.
38655         [POSIX || XPG3] (ILL_BADSTK): Likewise.
38656         [POSIX || XPG3] (FPE_INTDIV): Likewise.
38657         [POSIX || XPG3] (FPE_INTOVF): Likewise.
38658         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
38659         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
38660         [POSIX || XPG3] (FPE_FLTUND): Likewise.
38661         [POSIX || XPG3] (FPE_FLTRES): Likewise.
38662         [POSIX || XPG3] (FPE_FLTINV): Likewise.
38663         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
38664         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
38665         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
38666         [POSIX || XPG3] (BUS_ADRALN): Likewise.
38667         [POSIX || XPG3] (BUS_ADRERR): Likewise.
38668         [POSIX || XPG3] (BUS_OBJERR): Likewise.
38669         [POSIX || XPG3] (CLD_EXITED): Likewise.
38670         [POSIX || XPG3] (CLD_KILLED): Likewise.
38671         [POSIX || XPG3] (CLD_DUMPED): Likewise.
38672         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
38673         [POSIX || XPG3] (CLD_STOPPED): Likewise.
38674         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
38675         [POSIX || XPG3] (POLL_IN): Likewise.
38676         [POSIX || XPG3] (POLL_OUT): Likewise.
38677         [POSIX || XPG3] (POLL_MSG): Likewise.
38678         [POSIX || XPG3] (POLL_ERR): Likewise.
38679         [POSIX || XPG3] (POLL_PRI): Likewise.
38680         [POSIX || XPG3] (POLL_HUP): Likewise.
38681         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
38682         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
38683         (SIG*): Do not allow.
38684         [XPG3] (si_*): Likewise.
38685         [XPG3] (SI_*): Likewise.
38686         [XPG3 || XPG4] (sigev_*): Likewise.
38687         [XPG3 || XPG4] (SIGEV_*): Likewise.
38688         [XPG3 || XPG4] (sival_*): Likewise.
38689         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
38690         [POSIX || XPG3] (BUS_*): Likewise.
38691         [POSIX || XPG3] (CLD_*): Likewise.
38692         [POSIX || XPG3] (FPE_*): Likewise.
38693         [POSIX || XPG3] (ILL_*): Likewise.
38694         [POSIX || XPG3] (POLL_*): Likewise.
38695         [POSIX || XPG3] (SEGV_*): Likewise.
38696         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
38697         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
38698         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
38699         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
38700         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
38701         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
38702         Specify type and value.
38703         (TVERSLEN): Likewise.
38704         (REGTYPE): Likewise.
38705         (AREGTYPE): Likewise.
38706         (LNKTYPE): Likewise.
38707         (SYMTYPE): Likewise.
38708         (CHRTYPE): Likewise.
38709         (BLKTYPE): Likewise.
38710         (DIRTYPE): Likewise.
38711         (FIFOTYPE): Likewise.
38712         (CONTTYPE): Likewise.
38713         (TSUID): Likewise.
38714         (TSGID): Likewise.
38715         (TSVTX): Likewise.
38716         (TUREAD): Likewise.
38717         (TUWRITE): Likewise.
38718         (TUEXEC): Likewise.
38719         (TGREAD): Likewise.
38720         (TGWRITE): Likewise.
38721         (TGEXEC): Likewise.
38722         (TOREAD): Likewise.
38723         (TOWRITE): Likewise.
38724         (TOEXEC): Likewise.
38725         [POSIX] (TSVTX): Expect constant.
38727 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
38729         * Makefile (tests): Change dependencies to ....
38730         (tests-special): ... additions to this variable.
38731         (tests): Depend on $(tests-special).
38732         * Makerules (check-abi-list): New variable.
38733         (check-abi): Depend on $(check-abi-list).
38734         [$(subdir) = elf] (tests-special): Add
38735         $(objpfx)check-abi-libc.out.
38736         [$(build-shared) = yes && subdir] (tests-special): Add
38737         $(check-abi-list).
38738         [$(build-shared) = yes && subdir] (tests): Do not depend on
38739         check-abi.
38740         * Rules (tests): Depend on $(tests-special).
38741         (xtests): Depend on $(xtests-special).
38742         * catgets/Makefile (tests): Change dependencies to ....
38743         (tests-special): ... additions to this variable.
38744         * conform/Makefile (tests): Change dependencies to ....
38745         (tests-special): ... additions to this variable.
38746         * elf/Makefile (tests): Change dependencies to ....
38747         (tests-special): ... additions to this variable.
38748         * grp/Makefile (tests): Change dependencies to ....
38749         (tests-special): ... additions to this variable.
38750         * iconv/Makefile (xtests): Change dependencies to ....
38751         (xtests-special): ... additions to this variable.
38752         * iconvdata/Makefile (tests): Change dependencies to ....
38753         (tests-special): ... additions to this variable.
38754         * intl/Makefile (tests): Change dependencies to ....
38755         (tests-special): ... additions to this variable.  Also add
38756         $(objpfx)tst-gettext.out.
38757         * io/Makefile (tests): Change dependencies to ....
38758         (tests-special): ... additions to this variable.
38759         * libio/Makefile (tests): Change dependencies to ....
38760         (tests-special): ... additions to this variable.
38761         * malloc/Makefile (tests): Change dependencies to ....
38762         (tests-special): ... additions to this variable.
38763         * misc/Makefile (tests): Change dependencies to ....
38764         (tests-special): ... additions to this variable.
38765         * nptl/Makefile (tests): Change dependencies to ....
38766         (tests-special): ... additions to this variable.
38767         * nptl_db/Makefile (tests): Change dependencies to ....
38768         (tests-special): ... additions to this variable.
38769         * posix/Makefile (tests): Change dependencies to ....
38770         (tests-special): ... additions to this variable.
38771         (xtests): Change dependencies to ....
38772         (xtests-special): ... additions to this variable.
38773         * resolv/Makefile (tests): Change dependencies to ....
38774         (tests-special): ... additions to this variable.
38775         (xtests): Change dependencies to ....
38776         (xtests-special): ... additions to this variable.
38777         * stdio-common/Makefile (tests): Change dependencies to ....
38778         (tests-special): ... additions to this variable.
38779         (do-tst-unbputc): Remove target.
38780         (do-tst-printf): Likewise.
38781         * stdlib/Makefile (tests): Change dependencies to ....
38782         (tests-special): ... additions to this variable.
38783         * string/Makefile (tests): Change dependencies to ....
38784         (tests-special): ... additions to this variable.
38785         * sysdeps/x86/Makefile (tests): Change dependencies to ....
38786         (tests-special): ... additions to this variable.
38788         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
38789         whole file.
38790         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
38791         whole file.
38792         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
38793         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
38795         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
38796         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
38797         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
38798         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
38799         * conform/data/libgen.h-data [XPG3]: Likewise.
38800         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
38801         * conform/data/ndbm.h-data [XPG3]: Likewise.
38802         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38803         * conform/data/netdb.h-data [XPG3]: Likewise.
38804         * conform/data/netinet/in.h-data [XPG3]: Likewise.
38805         * conform/data/poll.h-data [XPG3]: Likewise.
38806         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
38807         * conform/data/strings.h-data [XPG3]: Likewise.
38808         * conform/data/stropts.h-data [XPG3]: Likewise.
38809         * conform/data/sys/mman.h-data [XPG3]: Likewise.
38810         * conform/data/sys/resource.h-data [XPG3]: Likewise.
38811         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
38812         Likewise.
38813         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
38814         * conform/data/sys/time.h-data [XPG3]: Likewise.
38815         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
38816         * conform/data/sys/uio.h-data [XPG3]: Likewise.
38817         * conform/data/sys/un.h-data [XPG3]: Likewise.
38818         * conform/data/syslog.h-data [XPG3]: Likewise.
38819         * conform/data/ucontext.h-data [XPG3]: Likewise.
38820         * conform/data/utmpx.h-data [XPG3]: Likewise.
38821         * conform/data/varargs.h-data [UNIX98]: Enable file.
38823         * manual/Makefile (INSTALL_INFO): Remove variable setting.
38825         * math/libm-test.inc (struct test_f_f_data): Move expected results
38826         into structure for each rounding mode.
38827         (struct test_ff_f_data): Likewise.
38828         (struct test_ff_f_data_nexttoward): Likewise.
38829         (struct test_fi_f_data): Likewise.
38830         (struct test_fl_f_data): Likewise.
38831         (struct test_if_f_data): Likewise.
38832         (struct test_fff_f_data): Likewise.
38833         (struct test_c_f_data): Likewise.
38834         (struct test_f_f1_data): Likewise.
38835         (struct test_fF_f1_data): Likewise.
38836         (struct test_ffI_f1_data): Likewise.
38837         (struct test_c_c_data): Likewise.
38838         (struct test_cc_c_data): Likewise.
38839         (struct test_f_i_data): Likewise.
38840         (struct test_ff_i_data): Likewise.
38841         (struct test_f_l_data): Likewise.
38842         (struct test_f_L_data): Likewise.
38843         (struct test_fFF_11_data): Likewise.
38844         (RM_): New macro.
38845         (RM_FE_DOWNWARD): Likewise.
38846         (RM_FE_TONEAREST): Likewise.
38847         (RM_FE_TOWARDZERO): Likewise.
38848         (RM_FE_UPWARD): Likewise.
38849         (RUN_TEST_LOOP_f_f): Update references to expected results.
38850         (RUN_TEST_LOOP_2_f): Likewise.
38851         (RUN_TEST_LOOP_fff_f): Likewise.
38852         (RUN_TEST_LOOP_c_f): Likewise.
38853         (RUN_TEST_LOOP_f_f1): Likewise.
38854         (RUN_TEST_LOOP_fF_f1): Likewise.
38855         (RUN_TEST_LOOP_fI_f1): Likewise.
38856         (RUN_TEST_LOOP_ffI_f1): Likewise.
38857         (RUN_TEST_LOOP_c_c): Likewise.
38858         (RUN_TEST_LOOP_cc_c): Likewise.
38859         (RUN_TEST_LOOP_f_i): Likewise.
38860         (RUN_TEST_LOOP_f_i_tg): Likewise.
38861         (RUN_TEST_LOOP_ff_i_tg): Likewise.
38862         (RUN_TEST_LOOP_f_b): Likewise.
38863         (RUN_TEST_LOOP_f_b_tg): Likewise.
38864         (RUN_TEST_LOOP_f_l): Likewise.
38865         (RUN_TEST_LOOP_f_L): Likewise.
38866         (RUN_TEST_LOOP_fFF_11): Likewise.
38867         * math/gen-libm-test.pl (parse_args): Output four copies of
38868         expected results for each test.
38870         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38871         (__ASSUME_UTIMES): Remove.
38872         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38873         (__ASSUME_UTIMES): Likewise.
38875         * math/gen-auto-libm-tests.c: Update comment on output format.
38876         (output_for_one_input_case): Generate before-rounding and
38877         after-rounding information as conditions on output flags not
38878         floating-point format.
38879         * math/auto-libm-test-out: Regenerated.
38880         * math/gen-libm-test.pl (cond_value): New function.
38881         (or_cond_value): Use cond_value.
38882         (generate_testfile): Handle conditional exceptions.
38884 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
38886         * math/libm-test.inc (max_valid_error): New variable.
38887         (init_max_error): Take new argument specifying whether function
38888         results are exactly determined.  Set max_valid_error and bound
38889         other variables for errors based on this argument.
38890         (set_max_error): Do not record results above max_valid_error.
38891         (check_float_internal): Only accept errors of up to 0.5ulps if
38892         also at most max_valid_error.
38893         (START): Take new argument EXACT and pass it to init_max_error.
38894         (acos_test): Update call to START.
38895         (acos_test_tonearest): Likewise.
38896         (acos_test_towardzero): Likewise.
38897         (acos_test_downward): Likewise.
38898         (acos_test_upward): Likewise.
38899         (acosh_test): Likewise.
38900         (asin_test): Likewise.
38901         (asin_test_tonearest): Likewise.
38902         (asin_test_towardzero): Likewise.
38903         (asin_test_downward): Likewise.
38904         (asin_test_upward): Likewise.
38905         (asinh_test): Likewise.
38906         (atan_test): Likewise.
38907         (atanh_test): Likewise.
38908         (atan2_test): Likewise.
38909         (cabs_test): Likewise.
38910         (cacos_test): Likewise.
38911         (cacosh_test): Likewise.
38912         (carg_test): Likewise.
38913         (casin_test): Likewise.
38914         (casinh_test): Likewise.
38915         (catan_test): Likewise.
38916         (catanh_test): Likewise.
38917         (cbrt_test): Likewise.
38918         (ccos_test): Likewise.
38919         (ccosh_test): Likewise.
38920         (ceil_test): Likewise.
38921         (cexp_test): Likewise.
38922         (cimag_test): Likewise.
38923         (clog_test): Likewise.
38924         (clog10_test): Likewise.
38925         (conj_test): Likewise.
38926         (copysign_test): Likewise.
38927         (cos_test): Likewise.
38928         (cos_test_tonearest): Likewise.
38929         (cos_test_towardzero): Likewise.
38930         (cos_test_downward): Likewise.
38931         (cos_test_upward): Likewise.
38932         (cosh_test): Likewise.
38933         (cosh_test_tonearest): Likewise.
38934         (cosh_test_towardzero): Likewise.
38935         (cosh_test_downward): Likewise.
38936         (cosh_test_upward): Likewise.
38937         (cpow_test): Likewise.
38938         (cproj_test): Likewise.
38939         (creal_test): Likewise.
38940         (csin_test): Likewise.
38941         (csinh_test): Likewise.
38942         (csqrt_test): Likewise.
38943         (ctan_test): Likewise.
38944         (ctan_test_tonearest): Likewise.
38945         (ctan_test_towardzero): Likewise.
38946         (ctan_test_downward): Likewise.
38947         (ctan_test_upward): Likewise.
38948         (ctanh_test): Likewise.
38949         (ctanh_test_tonearest): Likewise.
38950         (ctanh_test_towardzero): Likewise.
38951         (ctanh_test_downward): Likewise.
38952         (ctanh_test_upward): Likewise.
38953         (erf_test): Likewise.
38954         (erfc_test): Likewise.
38955         (exp_test): Likewise.
38956         (exp_test_tonearest): Likewise.
38957         (exp_test_towardzero): Likewise.
38958         (exp_test_downward): Likewise.
38959         (exp_test_upward): Likewise.
38960         (exp10_test): Likewise.
38961         (exp10_test_tonearest): Likewise.
38962         (exp10_test_towardzero): Likewise.
38963         (exp10_test_downward): Likewise.
38964         (exp10_test_upward): Likewise.
38965         (pow10_test): Likewise.
38966         (exp2_test): Likewise.
38967         (expm1_test): Likewise.
38968         (expm1_test_tonearest): Likewise.
38969         (expm1_test_towardzero): Likewise.
38970         (expm1_test_downward): Likewise.
38971         (expm1_test_upward): Likewise.
38972         (fabs_test): Likewise.
38973         (fdim_test): Likewise.
38974         (floor_test): Likewise.
38975         (fma_test): Likewise.
38976         (fma_test_towardzero): Likewise.
38977         (fma_test_downward): Likewise.
38978         (fma_test_upward): Likewise.
38979         (fmax_test): Likewise.
38980         (fmin_test): Likewise.
38981         (fmod_test): Likewise.
38982         (fpclassify_test): Likewise.
38983         (frexp_test): Likewise.
38984         (hypot_test): Likewise.
38985         (ilogb_test): Likewise.
38986         (isfinite_test): Likewise.
38987         (finite_test): Likewise.
38988         (isgreater_test): Likewise.
38989         (isgreaterequal_test): Likewise.
38990         (isinf_test): Likewise.
38991         (isless_test): Likewise.
38992         (islessequal_test): Likewise.
38993         (islessgreater_test): Likewise.
38994         (isnan_test): Likewise.
38995         (isnormal_test): Likewise.
38996         (issignaling_test): Likewise.
38997         (isunordered_test): Likewise.
38998         (j0_test): Likewise.
38999         (j1_test): Likewise.
39000         (jn_test): Likewise.
39001         (ldexp_test): Likewise.
39002         (lgamma_test): Likewise.
39003         (gamma_test): Likewise.
39004         (lrint_test): Likewise.
39005         (lrint_test_tonearest): Likewise.
39006         (lrint_test_towardzero): Likewise.
39007         (lrint_test_downward): Likewise.
39008         (lrint_test_upward): Likewise.
39009         (llrint_test): Likewise.
39010         (llrint_test_tonearest): Likewise.
39011         (llrint_test_towardzero): Likewise.
39012         (llrint_test_downward): Likewise.
39013         (llrint_test_upward): Likewise.
39014         (log_test): Likewise.
39015         (log10_test): Likewise.
39016         (log1p_test): Likewise.
39017         (log2_test): Likewise.
39018         (logb_test): Likewise.
39019         (logb_test_downward): Likewise.
39020         (lround_test): Likewise.
39021         (llround_test): Likewise.
39022         (modf_test): Likewise.
39023         (nearbyint_test): Likewise.
39024         (nextafter_test): Likewise.
39025         (nexttoward_test): Likewise.
39026         (pow_test): Likewise.
39027         (pow_test_tonearest): Likewise.
39028         (pow_test_towardzero): Likewise.
39029         (pow_test_downward): Likewise.
39030         (pow_test_upward): Likewise.
39031         (remainder_test): Likewise.
39032         (drem_test): Likewise.
39033         (remainder_test_tonearest): Likewise.
39034         (drem_test_tonearest): Likewise.
39035         (remainder_test_towardzero): Likewise.
39036         (drem_test_towardzero): Likewise.
39037         (remainder_test_downward): Likewise.
39038         (drem_test_downward): Likewise.
39039         (remainder_test_upward): Likewise.
39040         (drem_test_upward): Likewise.
39041         (remquo_test): Likewise.
39042         (rint_test): Likewise.
39043         (rint_test_tonearest): Likewise.
39044         (rint_test_towardzero): Likewise.
39045         (rint_test_downward): Likewise.
39046         (rint_test_upward): Likewise.
39047         (round_test): Likewise.
39048         (scalb_test): Likewise.
39049         (scalbn_test): Likewise.
39050         (scalbln_test): Likewise.
39051         (signbit_test): Likewise.
39052         (sin_test): Likewise.
39053         (sin_test_tonearest): Likewise.
39054         (sin_test_towardzero): Likewise.
39055         (sin_test_downward): Likewise.
39056         (sin_test_upward): Likewise.
39057         (sincos_test): Likewise.
39058         (sinh_test): Likewise.
39059         (sinh_test_tonearest): Likewise.
39060         (sinh_test_towardzero): Likewise.
39061         (sinh_test_downward): Likewise.
39062         (sinh_test_upward): Likewise.
39063         (sqrt_test): Likewise.
39064         (sqrt_test_tonearest): Likewise.
39065         (sqrt_test_towardzero): Likewise.
39066         (sqrt_test_downward): Likewise.
39067         (sqrt_test_upward): Likewise.
39068         (tan_test): Likewise.
39069         (tan_test_tonearest): Likewise.
39070         (tan_test_towardzero): Likewise.
39071         (tan_test_downward): Likewise.
39072         (tan_test_upward): Likewise.
39073         (tanh_test): Likewise.
39074         (tgamma_test): Likewise.
39075         (trunc_test): Likewise.
39076         (y0_test): Likewise.
39077         (y1_test): Likewise.
39078         (yn_test): Likewise.
39079         (significand_test): Likewise.
39081         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
39082         individual tests in comment.
39083         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
39084         (prev_max_error): New variable.
39085         (prev_real_max_error): Likewise.
39086         (prev_imag_max_error): Likewise.
39087         (compare_ulp_data): Don't refer to test names in comment.
39088         (find_test_ulps): Remove function.
39089         (find_function_ulps): Likewise.
39090         (find_complex_function_ulps): Likewise.
39091         (init_max_error): Take function name as argument.  Look up ulps
39092         for that function.
39093         (print_ulps): Remove function.
39094         (print_max_error): Use prev_max_error instead of calling
39095         find_function_ulps.
39096         (print_complex_max_error): Use prev_real_max_error and
39097         prev_imag_max_error instead of calling find_complex_function_ulps.
39098         (check_float_internal): Take max_ulp parameter instead of calling
39099         find_test_ulps.  Don't call print_ulps.
39100         (check_float): Update call to check_float_internal.
39101         (check_complex): Update calls to check_float_internal.
39102         (START): Pass argument to init_max_error.
39103         * math/gen-libm-test.pl (%results): Don't include "kind"
39104         information.
39105         (parse_ulps): Don't handle ulps of individual tests.
39106         (print_ulps_file): Likewise.
39107         (output_ulps): Likewise.
39108         * math/README.libm-test: Update.
39109         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
39110         individual tests.
39111         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
39112         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
39113         * sysdeps/arm/libm-test-ulps: Likewise.
39114         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
39115         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
39116         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
39117         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
39118         * sysdeps/microblaze/libm-test-ulps: Likewise.
39119         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
39120         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
39121         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39122         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
39123         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39124         * sysdeps/sh/libm-test-ulps: Likewise.
39125         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39126         * sysdeps/tile/libm-test-ulps: Likewise.
39127         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39129 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
39131         * math/libm-test.inc (print_complex_max_error): Check separately
39132         whether real and imaginary errors are within allowed range and
39133         pass 0 to print_complex_function_ulps instead of value within
39134         allowed range.
39136 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39138         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
39139         formatting.
39140         (get_handles_fopen): Likewise.
39141         (do_write_test): Likewise.
39143         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
39145         * libio/fileops.c (do_ftell): Use cached offset when
39146         available.
39147         * libio/iofwide.c (do_ftell_wide): Likewise.
39148         * libio/iofdopen.c (_IO_new_fdopen): Don't use
39149         _IO_file_attach.
39150         * libio/wfileops.c (_IO_fwide): Don't cache offset.
39152         [BZ #16532]
39153         * libio/libioP.h (get_file_offset): New function.
39154         * libio/fileops.c (get_file_offset): Likewise.
39155         (do_ftell): Likewise.
39156         (_IO_new_file_seekoff): Split out ftell logic.
39157         * libio/wfileops.c (do_ftell_wide): Likewise.
39158         (_IO_wfile_seekoff): Split out ftell logic.
39159         * libio/tst-ftell-active-handler.c: New test case.
39160         * libio/Makefile (tests): Add it.
39162 2014-03-03  Roland McGrath  <roland@hack.frob.com>
39164         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
39165         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
39167 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
39169         [BZ #16639]
39170         * nscd/connections.c (nscd_init): Call do_exit.
39171         (start_threads): Call do_exit and notify_parent.
39172         (begin_drop_privileges): Call do_exit.
39173         (finish_drop_privileges): Likewise.
39174         * nscd/selinux.c (preserve_capabilities): Likewise.
39175         (install_real_capabilities): Likewise.
39176         (nscd_selinux_enabled): Likewise.
39177         (avc_create_thread): Likewise.
39178         (avc_alloc_lock): Likewise.
39179         (nscd_avc_init): Likewise.
39180         * nscd/nscd.c (parent_fd): New static variable.
39181         (main): Create a pipe between parent and child processes.
39182         Skip closing parent_fd.
39183         (monitor_child): New function.
39184         (do_exit): Likewise.
39185         (notify_parent): Likewise.
39186         * nscd/nscd.h (notify_parent): Likewise.
39187         (do_exit): Likewise.
39189 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
39191         * malloc/malloc.c (__libc_calloc): Revert last change.
39193 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39195         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39197 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39199         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
39200         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
39201         implementation.
39202         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
39203         (__libc_ifunc_impl_list): Likewise.
39204         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
39205         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
39206         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
39207         * string/strrchr.c: Define STRRCHR.
39209 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
39211         * benchtest/bench-strtok.c (simple_strtok): Delete.
39212         (strtok_string): Use as benchmark.
39213         * string/strtok (STRTOK): New macro.
39215 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
39217         * manual/threads.texi: Add header and standard comments to all
39218         functions.
39220         * elf/dl-lookup.c (check_match): New function.
39221         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
39222         (do_lookup_x): Remove nested function check_match. Use non-nested
39223         function check_match.
39225 2014-02-28  Roland McGrath  <roland@hack.frob.com>
39227         * csu/Makefile (generated, before-compile): Use += rather than =.
39228         * catgets/Makefile (generated, generated-dirs): Likewise.
39229         * debug/Makefile (generated): Likewise.
39230         * dlfcn/Makefile (generated): Likewise.
39231         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
39232         * iconvdata/Makefile (before-compile, generated): Likewise.
39233         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
39234         * libio/Makefile (generated): Likewise.
39235         * malloc/Makefile (generated): Likewise.
39236         * manual/Makefile (generated, generated-dirs): Likewise.
39237         * misc/Makefile (generated): Likewise.
39238         * posix/Makefile (generated): Likewise.
39239         * resolv/Makefile (generated): Likewise.
39240         * sunrpc/Makefile (generated, generated-dirs): Likewise.
39241         * timezone/Makefile (generated, generated-dirs): Likewise.
39243         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
39245 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39247         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
39248         power8 implementation.
39249         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
39250         file: POWER8 llround ifunc implementation.
39251         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
39252         (__lllround): Add POWER8 implementation.
39253         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
39254         POWER8 llround implementation.
39256         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
39257         power8 implementation.
39258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
39259         file: POWER8 llrint ifunc implementation.
39260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
39261         Add POWER8 implementation.
39262         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
39263         POWER8 llrint implementation.
39265         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
39266         power8 implementation.
39267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
39268         file: POWER8 finite ifunc implementation.
39269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
39270         Add POWER8 implementation.
39271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
39272         Likewise.
39273         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
39274         POWER8 finite implementation.
39275         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
39277         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
39278         power8 implementation.
39279         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
39280         file: POWER8 isinf ifunc implementation.
39281         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
39282         POWER8 implementation.
39283         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
39284         Likewise.
39285         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
39286         isinf implementation.
39287         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
39289         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
39290         (INIT_ARCH): Add hwcap2 initialization.
39291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
39292         power8 implementation.
39293         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
39294         file: POWER8 isnan ifunc implementation.
39295         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
39296         POWER8 implementation.
39297         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
39298         Likewise.
39299         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
39300         isnan implementation.
39301         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
39303 2014-02-27  Joey Ye  <joey.ye@arm.com>
39305         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
39306         (_FP_NANFRAC_Q): Set to zero.
39308 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
39310         [BZ #16623]
39311         * math/auto-libm-test-in: New test inputs.
39312         * math/auto-libm-test-out: Regenerate.
39313         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
39314         and DA.
39315         (__cos): Likewise.
39316         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
39318 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
39320         * scripts/evaluate-test.sh: Take new argument indicating whether
39321         failure is expected.
39322         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
39323         indicating whether failure is expected.
39324         * conform/Makefile (test-xfail-run-conformtest): New variable.
39325         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
39326         level.
39327         * posix/Makefile (test-xfail-annexc): New variable.
39328         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
39330 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
39332         * argp/Makefile: Include Makeconfig immediately after defining
39333         subdir.
39334         * assert/Makefile: Likewise.
39335         * benchtests/Makefile: Likewise.
39336         * catgets/Makefile: Likewise.
39337         * conform/Makefile: Likewise.
39338         * crypt/Makefile: Likewise.
39339         * csu/Makefile: Likewise.
39340         (all): Remove target.
39341         * ctype/Makefile: Include Makeconfig immediately after defining
39342         subdir.
39343         * debug/Makefile: Likewise.
39344         * dirent/Makefile: Likewise.
39345         * dlfcn/Makefile: Likewise.
39346         * gmon/Makefile: Likewise.
39347         * gnulib/Makefile: Likewise.
39348         * grp/Makefile: Likewise.
39349         * gshadow/Makefile: Likewise.
39350         * hesiod/Makefile: Likewise.
39351         * hurd/Makefile: Likewise.
39352         (all): Remove target.
39353         * iconvdata/Makefile: Include Makeconfig immediately after
39354         defining subdir.
39355         * inet/Makefile: Likewise.
39356         * intl/Makefile: Likewise.
39357         * io/Makefile: Likewise.
39358         * libio/Makefile: Likewise.
39359         (all): Remove target.
39360         * locale/Makefile: Include Makeconfig immediately after defining
39361         subdir.
39362         * login/Makefile: Likewise.
39363         * mach/Makefile: Likewise.
39364         (all): Remove target.
39365         * malloc/Makefile: Include Makeconfig immediately after defining
39366         subdir.
39367         (all): Remove target.
39368         * manual/Makefile: Include Makeconfig immediately after defining
39369         subdir.
39370         * math/Makefile: Likewise.
39371         * misc/Makefile: Likewise.
39372         * nis/Makefile: Likewise.
39373         * nss/Makefile: Likewise.
39374         * po/Makefile: Likewise.
39375         (all): Remove target.
39376         * posix/Makefile: Include Makeconfig immediately after defining
39377         subdir.
39378         * pwd/Makefile: Likewise.
39379         * resolv/Makefile: Likewise.
39380         * resource/Makefile: Likewise.
39381         * rt/Makefile: Likewise.
39382         * setjmp/Makefile: Likewise.
39383         * shadow/Makefile: Likewise.
39384         * signal/Makefile: Likewise.
39385         * socket/Makefile: Likewise.
39386         * soft-fp/Makefile: Likewise.
39387         * stdio-common/Makefile: Likewise.
39388         * stdlib/Makefile: Likewise.
39389         * streams/Makefile: Likewise.
39390         * string/Makefile: Likewise.
39391         * sunrpc/Makefile: Likewise.
39392         (all): Remove target.
39393         * sysvipc/Makefile: Include Makeconfig immediately after defining
39394         subdir.
39395         * termios/Makefile: Likewise.
39396         * time/Makefile: Likewise.
39397         * timezone/Makefile: Likewise.
39398         (all): Remove target.
39399         * wcsmbs/Makefile: Include Makeconfig immediately after defining
39400         subdir.
39401         * wctype/Makefile: Likewise.
39403 2014-02-26  Steve Ellcey  <sellcey@mips.com>
39405         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
39406         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
39407         (libc_feholdexcept_setround_mips): Ditto.
39408         (libc_feholdsetround): New.
39409         (libc_feholdsetroundf): New.
39410         (libc_feholdsetroundl): New.
39411         (libc_feupdateenv_test_mips): New.
39412         (libc_feupdateenv_test): New.
39413         (libc_feupdateenv_testf): New.
39414         (libc_feupdateenv_testl): New.
39415         (libc_feresetround): New.
39416         (libc_feresetroundf): New.
39417         (libc_feresetroundl): New.
39418         (libc_fetestexcept_mips): New.
39419         (libc_fetestexcept): New.
39420         (libc_fetestexceptf): New.
39421         (libc_fetestexceptl): New.
39422         (HAVE_RM_CTX): New.
39423         (libc_feholdexcept_setround_mips_ctx): New.
39424         (libc_feholdexcept_setround_ctx): New.
39425         (libc_feholdexcept_setroundf_ctx): New.
39426         (libc_feholdexcept_setroundl_ctx): New.
39427         (libc_fesetenv_mips_ctx): New.
39428         (libc_fesetenv_ctx): New.
39429         (libc_fesetenv_ctxf): New.
39430         (libc_fesetenv_ctxl): New.
39431         (libc_feupdateenv_mips_ctx): New.
39432         (libc_feupdateenv_ctx): New.
39433         (libc_feupdateenvf_ctx): New.
39434         (libc_feupdateenvl_ctx): New.
39435         (libc_feholdsetround_mips_ctx): New.
39436         (libc_feholdsetround_ctx): New.
39437         (libc_feholdsetroundf_ctx): New.
39438         (libc_feholdsetroundl_ctx): New.
39439         (libc_feresetround_mips_ctx): New.
39440         (libc_feresetround_ctx): New.
39441         (libc_feresetroundf_ctx): New.
39442         (libc_feresetroundl_ctx): New.
39444 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
39446         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
39448         * manual/ipc.texi: New file.
39449         * manual/Makefile (chapters): Add ipc.
39450         * manual/job.texi: Add "Inter-Process Communication" to next.
39451         * manual/process.texi: Add "Inter-Process Communication" to prev.
39453 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39455         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39457 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
39459         * malloc/malloc.c (__libc_calloc): Simplify implementation.
39461         * manual/arith.texi: Fix spaces after sentences.
39462         * manual/charset.texi: Likewise.
39463         * manual/errno.texi: Likewise.
39464         * manual/install.texi: Likewise.
39465         * manual/llio.texi: Likewise.
39466         * manual/locale.texi: Likewise.
39467         * manual/maint.texi: Likewise.
39468         * manual/math.texi: Likewise.
39469         * manual/memory.texi: Likewise.
39470         * manual/message.texi: Likewise.
39471         * manual/probes.texi: Likewise.
39472         * manual/resource.texi: Likewise.
39473         * manual/signal.texi: Likewise.
39474         * manual/socket.texi: Likewise.
39475         * manual/stdio.texi: Likewise.
39476         * manual/string.texi: Likewise.
39477         * manual/time.texi: Likewise.
39478         * manual/users.texi: Likewise.
39480 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
39482         [BZ #16632]
39483         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
39484         _DEFAULT_SOURCE is defined.
39486 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
39487             Carlos O'Donell  <carlos@redhat.com>
39489         [BZ #16613]
39490         * elf/dl-tls.c (_dl_count_modids): New function.
39491         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
39492         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
39493         audit library and increment generation counter.
39494         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
39495         * elf/tst-audit9.c: New file.
39496         * elf/tst-auditmod9a.c: New file.
39497         * elf/tst-auditmod9b.c: New file.
39498         * elf/Makefile: Add rules to build and run tst-audit9.
39500 2014-02-25  Florian Weimer  <fweimer@redhat.com>
39502         [BZ #15347]
39503         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
39505 2014-02-25  Will Newton  <will.newton@linaro.org>
39507         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
39508         (__longjmp): Restore sp and lr before restoring callee
39509         saved registers.  Add longjmp and longjmp_target
39510         SystemTap probe point.
39511         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
39512         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
39513         Define to zero to match jmpbuf layout.
39514         * sysdeps/arm/setjmp.S: Include stap-probe.h.
39515         (__sigsetjmp): Save sp and lr before saving callee
39516         saved registers.  Add setjmp SystemTap probe point.
39518 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
39520         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
39522 2014-02-24  Andreas Schwab  <schwab@suse.de>
39524         [BZ #15804]
39525         * elf/pldd.c (wait_for_ptrace_stop): New function.
39526         (main): Call it after attaching.
39528 2014-02-22  Roland McGrath  <roland@hack.frob.com>
39530         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
39531         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
39532         Versions files is now verboten.
39533         * hurd/Versions (libc: GLIBC_2.0):
39534         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
39535         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
39536         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
39537         * mach/Versions: Likewise.
39539         * csu/Versions: Remove unused %include.
39540         * resolv/Versions: Likewise.
39542 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
39544         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
39545         ($(objpfx)check-local-headers.out): Likewise.
39546         ($(objpfx)begin-end-check.out): Likewise.
39547         * Makerules (check-abi-%.out): Likewise.
39548         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
39549         ($(objpfx)test2.cat): Likewise.
39550         ($(objpfx)de/libc.cat): Likewise.
39551         ($(objpfx)test-gencat.out): Likewise.
39552         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
39553         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
39554         ($(objpfx)noload-mem): Likewise.
39555         ($(objpfx)tst-pathopt.out): Likewise.
39556         ($(objpfx)tst-rtld-load-self.out): Likewise.
39557         ($(objpfx)tst-array1-cmp.out): Likewise.
39558         ($(objpfx)tst-array1-static-cmp.out): Likewise.
39559         ($(objpfx)tst-array2-cmp.out): Likewise.
39560         ($(objpfx)tst-array3-cmp.out): Likewise.
39561         ($(objpfx)tst-array4-cmp.out): Likewise.
39562         ($(objpfx)tst-array5-cmp.out): Likewise.
39563         ($(objpfx)tst-array5-static-cmp.out): Likewise.
39564         ($(objpfx)check-textrel.out): Likewise.
39565         ($(objpfx)check-execstack.out): Likewise.
39566         ($(objpfx)check-localplt.out): Likewise.
39567         ($(objpfx)order2-cmp.out): Likewise.
39568         ($(objpfx)tst-leaks1-mem): Likewise.
39569         ($(objpfx)tst-leaks1-static-mem): Likewise.
39570         ($(objpfx)tst-initorder-cmp.out): Likewise.
39571         ($(objpfx)tst-initorder2-cmp.out): Likewise.
39572         ($(objpfx)tst-unused-dep.out): Likewise.
39573         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
39574         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
39575         * iconv/Makefile (test-iconvconfig): Likewise.
39576         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
39577         ($(objpfx)iconv-test.out): Likewise.
39578         ($(objpfx)tst-tables.out): Likewise.
39579         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
39580         ($(objpfx)tst-gettext.out): Likewise.
39581         ($(objpfx)tst-translit.out): Likewise.
39582         ($(objpfx)tst-gettext2.out): Likewise.
39583         ($(objpfx)tst-gettext4.out): Likewise.
39584         ($(objpfx)tst-gettext6.out): Likewise.
39585         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
39586         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
39587         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
39588         ($(objpfx)tst-fopenloc-mem.out): Likewise.
39589         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
39590         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
39591         * posix/Makefile ($(objpfx)globtest.out): Likewise.
39592         ($(objpfx)wordexp-tst.out): Likewise.
39593         ($(objpfx)annexc.out): Likewise.
39594         ($(objpfx)tst-fnmatch-mem): Likewise.
39595         ($(objpfx)bug-regex2-mem): Likewise.
39596         ($(objpfx)bug-regex14-mem): Likewise.
39597         ($(objpfx)bug-regex21-mem): Likewise.
39598         ($(objpfx)bug-regex31-mem): Likewise.
39599         ($(objpfx)tst-vfork3-mem): Likewise.
39600         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
39601         ($(objpfx)tst-pcre-mem): Likewise.
39602         ($(objpfx)tst-boost-mem): Likewise.
39603         ($(objpfx)tst-getconf.out): Likewise.
39604         ($(objpfx)bug-ga2-mem): Likewise.
39605         ($(objpfx)bug-glob2-mem): Likewise.
39606         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
39607         ($(objpfx)mtrace-tst-leaks2): Likewise.
39608         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
39609         ($(objpfx)tst-printf.out): Likewise.
39610         ($(objpfx)tst-setvbuf1.out): Likewise.
39611         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
39612         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
39613         ($(objpfx)tst-fmtmsg.out): Likewise.
39614         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
39615         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
39617         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
39618         * bits/sigaction.h [__USE_MISC]: Likewise.
39619         * bits/waitstatus.h: Update #endif comments.
39620         * ctype/ctype.h: Likewise.
39621         * dirent/dirent.h: Likewise.
39622         [__USE_MISC]: Remove redundant conditionals.
39623         * grp/grp.h: Update #endif comments.
39624         [__USE_GNU]: Remove redundant conditionals.
39625         [__USE_MISC]: Likewise.
39626         * inet/netinet/in.h [__USE_GNU]: Likewise.
39627         * io/sys/stat.h [__USE_MISC]: Likewise.
39628         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
39629         * libio/bits/stdio.h: Update #endif comments.
39630         [__USE_MISC]: Remove redundant conditionals.
39631         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
39632         * libio/stdio.h: Update #endif comments.
39633         [__USE_MISC]: Remove redundant conditionals.
39634         * math/bits/math-finite.h [__USE_MISC]: Likewise.
39635         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
39636         * math/math.h: Update #else and #endif comments.
39637         [__USE_MISC]: Remove redundant conditionals.
39638         * misc/sys/uio.h: Update #endif comments.
39639         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
39640         * posix/glob.h [__USE_MISC]: Likewise.
39641         * posix/sys/types.h: Update #endif comments.
39642         [__USE_MISC]: Remove redundant conditionals.
39643         * posix/sys/wait.h: Update #endif comments.
39644         [__USE_MISC]: Remove redundant conditionals.
39645         * posix/unistd.h: Update #endif comments.
39646         [__USE_MISC]: Remove redundant conditionals.
39647         * pwd/pwd.h [__USE_GNU]: Likewise.
39648         [__USE_MISC]: Likewise.
39649         * resolv/netdb.h [__USE_GNU]: Likewise.
39650         * signal/signal.h: Update #endif comments.
39651         [__USE_MISC]: Remove redundant conditionals.
39652         * stdlib/stdlib.h: Update #else and #endif comments.
39653         [__USE_MISC]: Remove redundant conditionals.
39654         [__USE_GNU]: Likewise.
39655         * string/bits/string2.h [__USE_MISC]: Likewise.
39656         * string/string.h: Update #endif comments.
39657         [__USE_MISC]: Remove redundant conditionals.
39658         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
39659         Likewise.
39660         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
39661         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
39662         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
39663         Likewise.
39664         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
39665         Likewise.
39666         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
39667         comments.
39668         [__USE_MISC]: Remove redundant conditionals.
39669         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
39670         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
39671         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
39672         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
39673         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
39674         Likewise.
39675         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
39676         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
39677         Likewise.
39678         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
39679         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
39680         Likewise.
39681         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
39682         Likewise.
39683         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
39684         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
39685         Likewise.
39686         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
39687         Likewise.
39688         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
39689         * sysdeps/x86/bits/string.h: Update #endif comments.
39690         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
39691         conditionals.
39692         * time/sys/time.h: Update #endif comments.
39693         * time/time.h: Likewise.
39694         [__USE_MISC]: Remove redundant conditionals.
39696 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
39698         [BZ #16600]
39699         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
39701 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
39703         * Versions.def (librt): Add GLIBC_2.17.
39705 2014-02-21  Adam Conrad  <adconrad@0c3.net>
39707         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
39708         synonym for _SYS_AUXV_H to allow direct inclusion.
39709         * sysdeps/sparc/bits/hwcap.h: Likewise.
39710         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
39711         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
39712         * sysdeps/sparc/sysdep.h: Likewise.
39714 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
39716         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
39718 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
39720         * benchtests/bench-strrchr.c: Print length instead of position.
39722 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
39724         [BZ #16611]
39725         * sysdeps/unix/sysv/linux/kernel-features.h
39726         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
39727         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
39728         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
39729         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
39730         Likewise.
39731         [__i386__ || __powerpc__ || __sh__ || __sparc__]
39732         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39733         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
39734         (__ASSUME_SENDMMSG): Define instead of using previous
39735         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
39736         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39737         (__ASSUME_SENDMMSG_SYSCALL): Define.
39738         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39739         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
39740         Likewise.
39741         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39742         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39743         Likewise.
39744         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39745         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39746         Likewise.
39747         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
39748         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39749         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39750         [__ASSUME_SENDMMSG]: Change conditionals to
39751         [__ASSUME_SENDMMSG_SOCKETCALL].
39752         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39753         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
39754         Define.
39755         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39756         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
39757         Likewise.
39758         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
39759         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
39760         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
39761         [!__ASSUME_SENDMMSG]: Change conditional to
39762         [!__ASSUME_SENDMMSG_SOCKETCALL].
39763         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39764         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
39765         Define.
39767         [BZ #16610]
39768         * sysdeps/unix/sysv/linux/kernel-features.h
39769         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
39770         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
39771         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
39772         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
39773         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
39774         [__i386__ || __sparc__]
39775         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39776         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
39777         (__ASSUME_RECVMMSG): Define instead of using previous
39778         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
39779         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39780         (__ASSUME_RECVMMSG_SYSCALL): Define.
39781         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39782         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39783         Likewise.
39784         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39785         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39786         Likewise.
39787         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39788         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39789         Likewise.
39790         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
39791         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39792         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39793         [__ASSUME_RECVMMSG]: Change condition to
39794         [__ASSUME_RECVMMSG_SOCKETCALL].
39795         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39796         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39797         Define.
39798         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
39799         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39800         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
39801         Likewise.
39802         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
39803         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
39804         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
39805         [!__ASSUME_RECVMMSG]: Change condition to
39806         [!__ASSUME_RECVMMSG_SOCKETCALL].
39807         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39808         (__ASSUME_RECVMMSG_SYSCALL): Define.
39810         [BZ #16609]
39811         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
39812         __powerpc__ || __s390__ || __sh__ || __sparc__]
39813         (__ASSUME_SOCKETCALL): Define.
39814         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
39815         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
39816         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
39817         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
39818         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
39819         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
39820         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
39821         (__ASSUME_ACCEPT4): Define instead of using previous
39822         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
39823         __powerpc__ || __sparc__ || __s390__)] condition.
39824         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
39825         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39826         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
39827         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39828         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39829         [!__ASSUME_ACCEPT4]: Change condition to
39830         [!__ASSUME_ACCEPT4_SOCKETCALL].
39831         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
39832         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
39833         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
39834         * sysdeps/unix/sysv/linux/arm/kernel-features.h
39835         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
39836         __ASSUME_ACCEPT4_SYSCALL.
39837         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
39838         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
39839         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
39840         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
39841         __ASSUME_ACCEPT4_SYSCALL.
39842         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
39843         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
39844         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
39845         [__ASSUME_ACCEPT4]: Change condition to
39846         [__ASSUME_ACCEPT4_SOCKETCALL].
39847         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
39848         (__ASSUME_SOCKETCALL): Define.
39849         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
39850         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
39851         (__ASSUME_SOCKETCALL): Define.
39852         (__ASSUME_ACCEPT4): Remove.
39853         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
39854         Define.
39855         * sysdeps/unix/sysv/linux/mips/kernel-features.h
39856         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
39857         Likewise.
39858         * sysdeps/unix/sysv/linux/tile/kernel-features.h
39859         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
39861         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
39862         macro.
39863         (HWCAP_ARM_LPAE): Likewise.
39864         (HWCAP_ARM_EVTSTRM): Likewise.
39865         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
39866         Add vpfd32, lpae and evtstrm.
39867         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
39868         Increase to 22.
39870 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
39872         * math/auto-libm-test-in: Add tests of clog10.
39873         * math/auto-libm-test-out: Regenerated.
39874         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
39875         * sysdeps/i386/fpu/libm-test-ulps: Update.
39876         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39878 2014-02-18  Andreas Schwab  <schwab@suse.de>
39880         [BZ #16574]
39881         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
39882         Store non-zero if the second buffer was newly allocated.
39883         (send_dg): Likewise.
39884         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
39885         to send_vc and send_dg.
39886         (res_nsend): Pass NULL for ansp2_malloced.
39887         * resolv/res_query.c (__libc_res_nquery): Add parameter
39888         answerp2_malloced and pass it down to __libc_res_nsend.
39889         (res_nquery): Pass additional NULL to __libc_res_nquery.
39890         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
39891         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
39892         second answer buffer if answerp2_malloced was set.
39893         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
39894         (__libc_res_nquerydomain): Add parameter
39895         answerp2_malloced and pass it down to __libc_res_nquery.
39896         (res_nquerydomain): Pass additional NULL to
39897         __libc_res_nquerydomain.
39898         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
39899         additional NULL to __libc_res_nsend and __libc_res_nquery.
39900         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
39901         additional NULL to __libc_res_nsearch.
39902         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
39903         parameter of __libc_res_nsearch to check for separately allocated
39904         second buffer.
39905         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
39906         __libc_res_nquery.
39907         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
39908         additional NULL to __libc_res_nquery.
39909         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
39910         __libc_res_nsearch.
39911         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
39912         * include/resolv.h: Update prototypes of __libc_res_nquery,
39913         __libc_res_nsearch, __libc_res_nsend.
39915 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
39917         * math/auto-libm-test-in: Add tests of fma.
39918         * math/auto-libm-test-out: Regenerated.
39919         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
39920         (fma_towardzero_test_data): Likewise.
39921         (fma_downward_test_data): Likewise.
39922         (fma_upward_test_data): Likewise.
39923         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
39924         mpc_mode.
39925         (rounding_modes): Add values for new field.
39926         (func_calc_method): Add value mpfr_fff_f.
39927         (func_calc_desc): Add mpfr_fff_f union field.
39928         (test_function): Add field exact_args.
39929         (FUNC): Add macro argument EXACT_ARGS.
39930         (FUNC_mpfr_f_f): Update call to FUNC.
39931         (FUNC_mpfr_f_f): Likewise.
39932         (FUNC_mpfr_ff_f): Likewise.
39933         (FUNC_mpfr_if_f): Likewise.
39934         (FUNC_mpc_c_f): Likewise.
39935         (FUNC_mpc_c_c): Likewise.
39936         (test_functions): Add fma.  Update calls to FUNC.
39937         (handle_input_arg): Add argument exact_args.
39938         (add_test): Update call to handle_input_arg.
39939         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
39940         (output_for_one_input_case): Update call to calc_generic_results.
39941         Recalculate exact zero results in each rounding mode.
39943         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
39944         non-negative before setting low bit.
39945         * math/auto-libm-test-in: Mark one asin test possibly having
39946         spurious underflow.
39947         * math/auto-libm-test-out: Regenerated.
39948         * sysdeps/i386/fpu/libm-test-ulps: Update.
39949         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39951 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
39953         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
39954         * sysdeps/unix/sysv/linux/microblaze: Move directory from
39955         ports/sysdeps/unix/sysv/linux/microblaze.
39956         * README: Add missing listing for microblaze*-*-linux-gnu.
39958 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
39960         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
39961         duplicate code
39963 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
39965         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
39966         * sysdeps/unix/sysv/linux/ia64: Move directory from
39967         ports/sysdeps/unix/sysv/linux/ia64.
39968         * README: Update listing for ia64-*-linux-gnu.
39970 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
39971             Joseph Myers  <joseph@codesourcery.com>
39973         * Makeconfig (test-name): New variable.
39974         (evaluate-test): Likewise.
39975         * Makerules (do-test-clean): Remove .test-result files.
39976         (common-mostlyclean): Likewise.
39977         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
39978         * scripts/evaluate-test.sh: New file.
39980 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
39982         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
39983         separate $(objpfx)tst-fopenloc-cmp.out and
39984         $(objpfx)tst-fopenloc-mem.out targets.
39985         (tests): Update dependencies.
39986         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
39987         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
39988         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
39989         (tst-rxspencer-no-utf8-ARGS): New variable.
39990         (tst-rxspencer-no-utf8-ENV): Likewise.
39991         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
39992         instead of $(objpfx)tst-rxspencer-mem.
39993         ($(objpfx)tst-rxspencer-mem): Change target to
39994         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
39995         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
39996         * posix/tst-rxspencer-no-utf8.c: New file.
39998         * elf/Makefile ($(objpfx)order.out): Remove rule.
39999         [$(run-built-tests) = yes] (tests): Depend on
40000         $(objpfx)order-cmp.out.
40001         ($(objpfx)order-cmp.out): New rule.
40002         [$(run-built-tests) = yes] (tests): Depend on
40003         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
40004         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
40005         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
40006         $(objpfx)tst-array5-static-cmp.out.
40007         ($(objpfx)tst-array1.out): Remove rule.
40008         ($(objpfx)tst-array1-cmp.out): New rule.
40009         ($(objpfx)tst-array1-static.out): Remove rule.
40010         ($(objpfx)tst-array1-static-cmp.out): New rule.
40011         ($(objpfx)tst-array2.out): Remove rule.
40012         ($(objpfx)tst-array2-cmp.out): New rule.
40013         ($(objpfx)tst-array3.out): Remove rule.
40014         ($(objpfx)tst-array3-cmp.out): New rule.
40015         ($(objpfx)tst-array4.out): Remove rule.
40016         ($(objpfx)tst-array4-cmp.out): New rule.
40017         ($(objpfx)tst-array5.out): Remove rule.
40018         ($(objpfx)tst-array5-cmp.out): New rule.
40019         ($(objpfx)tst-array5-static.out): Remove rule.
40020         ($(objpfx)tst-array5-static-cmp.out): New rule.
40021         [$(run-built-tests) = yes] (tests): Depend on
40022         $(objpfx)order2-cmp.out.
40023         ($(objpfx)order2.out): Remove rule.
40024         ($(objpfx)order2-cmp.out): New rule.
40025         ($(objpfx)tst-initorder.out): Remove rule.
40026         [$(run-built-tests) = yes] (tests): Depend on
40027         $(objpfx)tst-initorder-cmp.out.
40028         ($(objpfx)tst-initorder-cmp.out): New rule.
40029         ($(objpfx)tst-initorder2.out): Remove rule.
40030         [$(run-built-tests) = yes] (tests): Depend on
40031         $(objpfx)tst-initorder2-cmp.out.
40032         ($(objpfx)tst-initorder2-cmp.out): New rule.
40033         [$(run-built-tests) = yes] (tests): Depend on
40034         $(objpfx)tst-unused-dep-cmp.out.
40035         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
40036         ($(objpfx)tst-unused-dep-cmp.out): New rule.
40037         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
40038         on $(objpfx)tst-setvbuf1-cmp.out.
40039         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
40040         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
40041         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
40042         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
40043         ($(objpfx)tst-svc.out): Remove rule.
40044         ($(objpfx)tst-svc-cmp.out): New rule.
40046 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
40048         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
40049         * ctype/ctype.h [__USE_MISC]: Likewise.
40050         * dirent/dirent.h [__USE_MISC]: Likewise.
40051         * grp/grp.h [__USE_MISC]: Likewise.
40052         * io/fcntl.h [__USE_MISC]: Likewise.
40053         * io/sys/stat.h [__USE_MISC]: Likewise.
40054         * libio/stdio.h [__USE_MISC]: Likewise.
40055         * posix/unistd.h [__USE_MISC]: Likewise.
40056         * pwd/pwd.h [__USE_MISC]: Likewise.
40057         * stdlib.h [__USE_MISC]: Likewise.
40058         * string/bits/string2.h [__USE_MISC]: Likewise.
40059         * string/string.h [__USE_MISC]: Likewise.
40060         * time/time.h [__USE_MISC]: Likewise.
40062 2014-02-13  Andreas Schwab  <schwab@suse.de>
40064         [BZ #16574]
40065         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
40066         second answer buffer if it was separately allocated.
40068 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
40070         * sysdeps/mips/math-tests.h: Include <features.h>.
40071         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40072         (ROUNDING_TESTS_long_double): Do not define.
40073         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
40074         (EXCEPTION_TESTS_long_double): Likewise.
40075         * sysdeps/mips/mips64/libm-test-ulps: Update.
40077         * include/features.h (__USE_BSD): Remove macro definitions.
40078         (__USE_SVID): Likewise.
40079         (_BSD_SOURCE): Likewise.
40080         (_SVID_SOURCE): Likewise.
40081         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
40082         from definition of _DEFAULT_SOURCE.
40083         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
40084         [_DEFAULT_SOURCE].
40085         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
40086         * bits/mman.h [__USE_BSD]: Likewise.
40087         * bits/termios.h [__USE_BSD]: Likewise.
40088         * bits/waitstatus.h [__USE_BSD]: Likewise.
40089         * ctype/ctype.h [__USE_SVID]: Likewise.
40090         * dirent/dirent.h [__USE_BSD]: Likewise.
40091         * grp/grp.h [__USE_SVID]: Likewise.
40092         [__USE_BSD]: Likewise.
40093         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
40094         * io/fcntl.h [__USE_BSD]: Likewise.
40095         * io/ftw.h [__USE_BSD]: Likewise.
40096         * io/sys/stat.h [__USE_BSD]: Likewise.
40097         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
40098         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
40099         * libio/stdio.h [__USE_SVID]: Likewise.
40100         [__USE_BSD]: Likewise.
40101         * math/math.h [__USE_SVID]: Likewise.
40102         [__USE_BSD]: Likewise.
40103         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
40104         * misc/bits/syslog.h [__USE_BSD]: Likewise.
40105         * misc/search.h [__USE_SVID]: Likewise.
40106         * misc/sys/mman.h [__USE_BSD]: Likewise.
40107         * misc/sys/syslog.h [__USE_BSD]: Likewise.
40108         * misc/sys/uio.h [__USE_BSD]: Likewise.
40109         * posix/bits/unistd.h [__USE_BSD]: Likewise.
40110         * posix/glob.h [__USE_BSD]: Likewise.
40111         * posix/regex.h [__USE_BSD]: Likewise.
40112         * posix/sys/types.h [__USE_BSD]: Likewise.
40113         [__USE_SVID]: Likewise.
40114         * posix/sys/utsname.h [__USE_SVID]: Likewise.
40115         * posix/sys/wait.h [__USE_BSD]: Likewise.
40116         [__USE_SVID]: Likewise.
40117         * posix/unistd.h [__USE_BSD]: Likewise.
40118         [__USE_SVID]: Likewise.
40119         * pwd/pwd.h [__USE_SVID]: Likewise.
40120         * resolv/netdb.h [__USE_BSD]: Likewise.
40121         * setjmp/setjmp.h [__USE_BSD]: Likewise.
40122         * signal/signal.h [__USE_BSD]: Likewise.
40123         [__USE_SVID]: Likewise.
40124         * socket/sys/socket.h [__USE_BSD]: Likewise.
40125         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
40126         * stdlib/stdlib.h [__USE_BSD]: Likewise.
40127         [__USE_SVID]: Likewise.
40128         * string/bits/string2.h [__USE_BSD]: Likewise.
40129         [__USE_SVID]: Likewise.
40130         * string/bits/string3.h [__USE_BSD]: Likewise.
40131         * string/endian.h [__USE_BSD]: Likewise.
40132         * string/string.h [__USE_SVID]: Likewise.
40133         [__USE_BSD]: Likewise.
40134         * string/strings.h [__USE_BSD]: Likewise.
40135         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
40136         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
40137         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
40138         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
40139         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
40140         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
40141         Likewise.
40142         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
40143         Likewise.
40144         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
40145         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
40146         Likewise.
40147         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
40148         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
40149         Likewise.
40150         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
40151         Likewise.
40152         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
40153         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
40154         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
40155         Likewise.
40156         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
40157         Likewise.
40158         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
40159         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
40160         * termios/termios.h [__USE_BSD]: Likewise.
40161         * time/sys/time.h [__USE_BSD]: Likewise.
40162         * time/time.h [__USE_BSD]: Likewise.
40163         [__USE_SVID]: Likewise.
40165         * Makefile (subdir_targets): Remove subdir_lint.out.
40167         * stdio-common/Makefile (do-tst-unbputc): Remove target.
40168         (do-tst-printf): Likewise.
40169         (tests): Depend directly on $(objpfx)tst-unbputc.out and
40170         $(objpfx)tst-printf.out.
40172         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
40174         * Makerules (check-abi-%): Change target to
40175         $(objpfx)check-abi-%.out.
40176         (check-abi target): Update dependencies.
40177         (check-abi-pattern variable): Redirect output of diff to $@.
40178         (check-abi variable): Likewise.
40179         * elf/Makefile (check-abi): Update dependencies.
40181         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
40182         unused.
40183         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
40184         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
40185         subnormal range.
40186         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
40187         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
40188         value has largest subnormal exponent.
40189         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
40190         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
40191         * sysdeps/aarch64/soft-fp/sfp-machine.h
40192         (_FP_TININESS_AFTER_ROUNDING): New macro.
40193         * sysdeps/alpha/soft-fp/sfp-machine.h
40194         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40195         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40196         Likewise.
40197         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
40198         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40199         * sysdeps/mips/soft-fp/sfp-machine.h
40200         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40201         * sysdeps/powerpc/soft-fp/sfp-machine.h
40202         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40203         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40204         Likewise.
40205         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
40206         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40207         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
40208         (_FP_TININESS_AFTER_ROUNDING): Likewise.
40209         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
40210         Likewise.
40212 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
40214         [BZ #16545]
40215         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
40216         model 1.
40218 2014-02-12  Richard Henderson  <rth@redhat.com>
40220         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
40221         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
40222         * sysdeps/unix/sysv/linux/alpha: Move directory from
40223         ports/sysdeps/unix/sysv/linux/alpha.
40224         * README: Update listing for alpha-*-linux-gnu.
40226 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
40228         * include/features.h: Update comment documenting feature test
40229         macros.
40230         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
40231         _DEFAULT_SOURCE.
40232         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
40233         (_SVID_SOURCE): Likewise.
40234         (_DEFAULT_SOURCE): Update description of default features.
40235         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
40236         with _GNU_SOURCE.
40237         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
40238         (S_ISVTX): Likewise.
40239         * manual/math.texi (Mathematical Constants): Likewise.
40240         * manual/signal.texi (Interrupted Primitives): Likewise.
40241         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
40242         * math/test-matherr.c (_SVID_SOURCE): Do not define.
40243         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
40244         Don't refer to _SVID_SOURCE in warning text.
40246         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
40248         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
40249         already defined.
40250         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
40251         * sysdeps/mips/dl-lookup.c: Remove.
40252         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
40254 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
40256         [BZ #16447]
40257         * math/auto-libm-test-in: Add testcase for expl.
40258         * math/auto-libm-test-out: Regenerate.
40259         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
40260         calculation of unsafe.
40261         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
40263 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
40265         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
40266         * sysdeps/unix/sysv/linux/aarch64: Move directory from
40267         ports/sysdeps/unix/sysv/linux/aarch64.
40268         * README: Update listing for aarch64*-*-linux-gnu.
40270 2014-02-11  Will Newton  <will.newton@linaro.org>
40272         * manual/probes.texi (Mathematical Function Probes): Use
40273         "triggered" instead of "hit".
40275         * manual/probes.texi (Internal Probes): Add documentation
40276         of setjmp, longjmp and longjmp_target probes.
40278         * include/stap-probe.h: Add comment about probe argument
40279         format.
40281         * malloc/mtrace.c (attribute_hidden): Remove unused macro
40282         definition.  (tr_where, tr_freehook, tr_mallochook,
40283         tr_reallochook, tr_memalignhook): Use ANSI protoype.
40285 2014-02-11  David S. Miller  <davem@davemloft.net>
40287         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
40288         processing int_tests.
40290 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
40292         * sysdeps/mips: Move directory from ports/sysdeps/mips.
40293         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
40294         * sysdeps/unix/sysv/linux/mips: Move directory from
40295         ports/sysdeps/unix/sysv/linux/mips.
40296         * README: Update listing for mips-*-linux-gnu and
40297         mips64-*-linux-gnu.
40299 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
40301         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
40302         * sysdeps/unix/sysv/linux/m68k: Move directory from
40303         ports/sysdeps/unix/sysv/linux/m68k.
40304         * README: Update listing for m68k-*-linux-gnu.
40306 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
40308         * sysdeps/tile: Move directory from ports/sysdeps/tile.
40309         * sysdeps/unix/sysv/linux/generic: Move directory from
40310         ports/sysdeps/unix/sysv/linux/generic.
40311         * sysdeps/unix/sysv/linux/tile: Move directory from
40312         ports/sysdeps/unix/sysv/linux/tile.
40313         * README: Update listing for tile*-*-linux-gnu.
40315 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
40317         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
40318         __builtin_expect.
40319         * benchtests/bench-memmem.c (simple_memmem): Likewise.
40320         * catgets/open_catalog.c (__open_catalog): Likewise.
40321         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
40322         * debug/confstr_chk.c: Likewise.
40323         * debug/fread_chk.c (__fread_chk): Likewise.
40324         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
40325         * debug/getgroups_chk.c: Likewise.
40326         * debug/mbsnrtowcs_chk.c: Likewise.
40327         * debug/mbsrtowcs_chk.c: Likewise.
40328         * debug/mbstowcs_chk.c: Likewise.
40329         * debug/memcpy_chk.c: Likewise.
40330         * debug/memmove_chk.c: Likewise.
40331         * debug/mempcpy_chk.c: Likewise.
40332         * debug/memset_chk.c: Likewise.
40333         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
40334         * debug/strcat_chk.c (__strcat_chk): Likewise.
40335         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
40336         * debug/strncat_chk.c (__strncat_chk): Likewise.
40337         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
40338         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
40339         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
40340         * debug/wcpncpy_chk.c: Likewise.
40341         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
40342         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
40343         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
40344         * debug/wcsncpy_chk.c: Likewise.
40345         * debug/wcsnrtombs_chk.c: Likewise.
40346         * debug/wcsrtombs_chk.c: Likewise.
40347         * debug/wcstombs_chk.c: Likewise.
40348         * debug/wmemcpy_chk.c: Likewise.
40349         * debug/wmemmove_chk.c: Likewise.
40350         * debug/wmempcpy_chk.c: Likewise.
40351         * debug/wmemset_chk.c: Likewise.
40352         * dirent/scandirat.c (SCANDIRAT): Likewise.
40353         * dlfcn/dladdr1.c (dladdr1): Likewise.
40354         * dlfcn/dladdr.c (dladdr): Likewise.
40355         * dlfcn/dlclose.c (dlclose_doit): Likewise.
40356         * dlfcn/dlerror.c (__dlerror): Likewise.
40357         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
40358         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
40359         * dlfcn/dlopen.c (dlopen_doit): Likewise.
40360         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
40361         * dlfcn/dlsym.c (dlsym_doit): Likewise.
40362         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
40363         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
40364         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
40365         Likewise.
40366         * elf/dl-conflict.c: Likewise.
40367         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
40368         * elf/dl-dst.h: Likewise.
40369         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
40370         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
40371         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
40372         * elf/dl-init.c (call_init, _dl_init): Likewise.
40373         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
40374         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
40375         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
40376         Likewise.
40377         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
40378         Likewise.
40379         * elf/dl-minimal.c (__libc_memalign): Likewise.
40380         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
40381         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
40382         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
40383         * elf/dl-sym.c (do_sym): Likewise.
40384         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
40385         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
40386         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
40387         * elf/dl-writev.h (_dl_writev): Likewise.
40388         * elf/ldconfig.c (search_dir): Likewise.
40389         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
40390         (dl_main): Likewise.
40391         * elf/setup-vdso.h (setup_vdso): Likewise.
40392         * grp/compat-initgroups.c (compat_call): Likewise.
40393         * grp/fgetgrent.c (fgetgrent): Likewise.
40394         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
40395         * grp/putgrent.c (putgrent): Likewise.
40396         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
40397         Likewise.
40398         * hurd/hurdinit.c: Likewise.
40399         * iconvdata/8bit-gap.c (struct): Likewise.
40400         * iconvdata/ansi_x3.110.c : Likewise.
40401         * iconvdata/big5.c : Likewise.
40402         * iconvdata/big5hkscs.c : Likewise.
40403         * iconvdata/cp1255.c: Likewise.
40404         * iconvdata/cp1258.c : Likewise.
40405         * iconvdata/cp932.c : Likewise.
40406         * iconvdata/euc-cn.c: Likewise.
40407         * iconvdata/euc-jisx0213.c : Likewise.
40408         * iconvdata/euc-jp.c: Likewise.
40409         * iconvdata/euc-jp-ms.c : Likewise.
40410         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
40411         * iconvdata/gb18030.c : Likewise.
40412         * iconvdata/gbbig5.c (const): Likewise.
40413         * iconvdata/gbgbk.c: Likewise.
40414         * iconvdata/gbk.c : Likewise.
40415         * iconvdata/ibm1364.c : Likewise.
40416         * iconvdata/ibm930.c : Likewise.
40417         * iconvdata/ibm932.c: Likewise.
40418         * iconvdata/ibm933.c : Likewise.
40419         * iconvdata/ibm935.c : Likewise.
40420         * iconvdata/ibm937.c : Likewise.
40421         * iconvdata/ibm939.c : Likewise.
40422         * iconvdata/ibm943.c: Likewise.
40423         * iconvdata/iso_11548-1.c: Likewise.
40424         * iconvdata/iso-2022-cn.c : Likewise.
40425         * iconvdata/iso-2022-cn-ext.c : Likewise.
40426         * iconvdata/iso-2022-jp-3.c: Likewise.
40427         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
40428         * iconvdata/iso-2022-kr.c : Likewise.
40429         * iconvdata/iso646.c (gconv_end): Likewise.
40430         * iconvdata/iso_6937-2.c : Likewise.
40431         * iconvdata/iso_6937.c : Likewise.
40432         * iconvdata/iso8859-1.c: Likewise.
40433         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
40434         * iconvdata/shift_jisx0213.c : Likewise.
40435         * iconvdata/sjis.c : Likewise.
40436         * iconvdata/t.61.c : Likewise.
40437         * iconvdata/tcvn5712-1.c : Likewise.
40438         * iconvdata/tscii.c: Likewise.
40439         * iconvdata/uhc.c : Likewise.
40440         * iconvdata/unicode.c (gconv_end): Likewise.
40441         * iconvdata/utf-16.c (gconv_end): Likewise.
40442         * iconvdata/utf-32.c (gconv_end): Likewise.
40443         * iconvdata/utf-7.c (base64): Likewise.
40444         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
40445         * iconv/gconv_close.c (__gconv_close): Likewise.
40446         * iconv/gconv_open.c (__gconv_open): Likewise.
40447         * iconv/gconv_simple.c (internal_ucs4_loop_single)
40448         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
40449         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
40450         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
40451         (ucs4le_internal_loop_single): Likewise.
40452         * iconv/iconv.c (iconv): Likewise.
40453         * iconv/iconv_close.c: Likewise.
40454         * iconv/loop.c (SINGLE): Likewise.
40455         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
40456         * include/atomic.h: Likewise.
40457         * inet/inet6_option.c (option_alloc): Likewise.
40458         * intl/bindtextdom.c (set_binding_values): Likewise.
40459         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
40460         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
40461         * intl/localealias.c (read_alias_file): Likewise.
40462         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
40463         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
40464         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
40465         * libio/fmemopen.c (fmemopen): Likewise.
40466         * libio/iofgets.c (_IO_fgets): Likewise.
40467         * libio/iofgets_u.c (fgets_unlocked): Likewise.
40468         * libio/iofgetws.c (fgetws): Likewise.
40469         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
40470         * libio/iogetdelim.c (_IO_getdelim): Likewise.
40471         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
40472         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
40473         * locale/findlocale.c (_nl_find_locale): Likewise.
40474         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
40475         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
40476         Likewise.
40477         * locale/setlocale.c (setlocale): Likewise.
40478         * login/programs/pt_chown.c (main): Likewise.
40479         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
40480         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
40481         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
40482         (mmap, mmap64, mremap, munmap): Likewise.
40483         * math/e_exp2l.c: Likewise.
40484         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
40485         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
40486         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
40487         * math/s_catan.c (__catan): Likewise.
40488         * math/s_catanf.c (__catanf): Likewise.
40489         * math/s_catanh.c (__catanh): Likewise.
40490         * math/s_catanhf.c (__catanhf): Likewise.
40491         * math/s_catanhl.c (__catanhl): Likewise.
40492         * math/s_catanl.c (__catanl): Likewise.
40493         * math/s_ccosh.c (__ccosh): Likewise.
40494         * math/s_ccoshf.c (__ccoshf): Likewise.
40495         * math/s_ccoshl.c (__ccoshl): Likewise.
40496         * math/s_cexp.c (__cexp): Likewise.
40497         * math/s_cexpf.c (__cexpf): Likewise.
40498         * math/s_cexpl.c (__cexpl): Likewise.
40499         * math/s_clog10.c (__clog10): Likewise.
40500         * math/s_clog10f.c (__clog10f): Likewise.
40501         * math/s_clog10l.c (__clog10l): Likewise.
40502         * math/s_clog.c (__clog): Likewise.
40503         * math/s_clogf.c (__clogf): Likewise.
40504         * math/s_clogl.c (__clogl): Likewise.
40505         * math/s_csin.c (__csin): Likewise.
40506         * math/s_csinf.c (__csinf): Likewise.
40507         * math/s_csinh.c (__csinh): Likewise.
40508         * math/s_csinhf.c (__csinhf): Likewise.
40509         * math/s_csinhl.c (__csinhl): Likewise.
40510         * math/s_csinl.c (__csinl): Likewise.
40511         * math/s_csqrt.c (__csqrt): Likewise.
40512         * math/s_csqrtf.c (__csqrtf): Likewise.
40513         * math/s_csqrtl.c (__csqrtl): Likewise.
40514         * math/s_ctan.c (__ctan): Likewise.
40515         * math/s_ctanf.c (__ctanf): Likewise.
40516         * math/s_ctanh.c (__ctanh): Likewise.
40517         * math/s_ctanhf.c (__ctanhf): Likewise.
40518         * math/s_ctanhl.c (__ctanhl): Likewise.
40519         * math/s_ctanl.c (__ctanl): Likewise.
40520         * math/w_pow.c: Likewise.
40521         * math/w_powf.c: Likewise.
40522         * math/w_powl.c: Likewise.
40523         * math/w_scalb.c (sysv_scalb): Likewise.
40524         * math/w_scalbf.c (sysv_scalbf): Likewise.
40525         * math/w_scalbl.c (sysv_scalbl): Likewise.
40526         * misc/error.c (error_tail): Likewise.
40527         * misc/pselect.c (__pselect): Likewise.
40528         * nis/nis_callback.c (__nis_create_callback): Likewise.
40529         * nis/nis_call.c (__nisfind_server): Likewise.
40530         * nis/nis_creategroup.c (nis_creategroup): Likewise.
40531         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
40532         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
40533         * nis/nis_getservlist.c (nis_getservlist): Likewise.
40534         * nis/nis_lookup.c (nis_lookup): Likewise.
40535         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
40536         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
40537         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
40538         * nis/nis_xdr.c (xdr_endpoint): Likewise.
40539         * nis/nss_compat/compat-grp.c (getgrent_next_file)
40540         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
40541         * nis/nss_compat/compat-initgroups.c (add_group)
40542         (internal_getgrent_r): Likewise.
40543         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
40544         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
40545         * nis/nss_compat/compat-spwd.c (getspent_next_file)
40546         (internal_getspnam_r): Likewise.
40547         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
40548         (_nss_nis_getaliasbyname_r): Likewise.
40549         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
40550         (_nss_nis_getntohost_r): Likewise.
40551         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
40552         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
40553         (_nss_nis_getgrgid_r): Likewise.
40554         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
40555         (internal_nis_gethostent_r, internal_gethostbyname2_r)
40556         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
40557         (_nss_nis_gethostbyname4_r): Likewise.
40558         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
40559         (initgroups_netid): Likewise.
40560         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
40561         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
40562         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
40563         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
40564         (_nss_nis_getprotobynumber_r): Likewise.
40565         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
40566         (_nss_nis_getsecretkey): Likewise.
40567         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
40568         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
40569         (_nss_nis_getpwuid_r): Likewise.
40570         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
40571         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
40572         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
40573         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
40574         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
40575         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
40576         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
40577         Likewise.
40578         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
40579         (_nss_nisplus_getntohost_r): Likewise.
40580         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
40581         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
40582         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
40583         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
40584         Likewise.
40585         * nis/nss_nisplus/nisplus-initgroups.c
40586         (_nss_nisplus_initgroups_dyn): Likewise.
40587         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
40588         (_nss_nisplus_getnetbyaddr_r): Likewise.
40589         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
40590         (_nss_nisplus_getprotobynumber_r): Likewise.
40591         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
40592         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
40593         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
40594         Likewise.
40595         * nis/nss_nisplus/nisplus-service.c
40596         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
40597         (_nss_nisplus_getservbyport_r): Likewise.
40598         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
40599         (_nss_nisplus_getspnam_r): Likewise.
40600         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
40601         Likewise.
40602         * nscd/aicache.c (addhstaiX): Likewise.
40603         * nscd/cache.c (cache_search, prune_cache): Likewise.
40604         * nscd/connections.c (register_traced_file, send_ro_fd)
40605         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
40606         (main_loop_epoll): Likewise.
40607         * nscd/grpcache.c (addgrbyX): Likewise.
40608         * nscd/hstcache.c (addhstbyX): Likewise.
40609         * nscd/initgrcache.c (addinitgroupsX): Likewise.
40610         * nscd/mem.c (gc, mempool_alloc): Likewise.
40611         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
40612         (addinnetgrX): Likewise.
40613         * nscd/nscd-client.h (__nscd_acquire_maplock)
40614         (__nscd_drop_map_ref): Likewise.
40615         * nscd/nscd_getai.c (__nscd_getai): Likewise.
40616         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
40617         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
40618         Likewise.
40619         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
40620         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
40621         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
40622         (__nscd_get_map_ref): Likewise.
40623         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
40624         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
40625         Likewise.
40626         * nscd/pwdcache.c (addpwbyX): Likewise.
40627         * nscd/selinux.c (preserve_capabilities): Likewise.
40628         * nscd/servicescache.c (addservbyX): Likewise.
40629         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
40630         * posix/fnmatch.c (fnmatch): Likewise.
40631         * posix/getopt.c (_getopt_internal_r): Likewise.
40632         * posix/glob.c (glob, glob_in_dir): Likewise.
40633         * posix/wordexp.c (exec_comm_child): Likewise.
40634         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
40635         (getanswer_r, gaih_getanswer_slice): Likewise.
40636         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
40637         * resolv/res_init.c: Likewise.
40638         * resolv/res_mkquery.c (res_nmkquery): Likewise.
40639         * resolv/res_query.c (__libc_res_nquery): Likewise.
40640         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
40641         Likewise.
40642         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
40643         * stdio-common/perror.c (perror): Likewise.
40644         * stdio-common/printf_fp.c (___printf_fp): Likewise.
40645         * stdio-common/tmpnam.c (tmpnam): Likewise.
40646         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
40647         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
40648         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
40649         Likewise.
40650         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
40651         * stdlib/putenv.c (putenv): Likewise.
40652         * stdlib/setenv.c (__add_to_environ): Likewise.
40653         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
40654         * stdlib/strtol_l.c (INTERNAL): Likewise.
40655         * string/memmem.c (memmem): Likewise.
40656         * string/strerror.c (strerror): Likewise.
40657         * string/strnlen.c (__strnlen): Likewise.
40658         * string/test-memmem.c (simple_memmem): Likewise.
40659         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
40660         * sunrpc/pm_getport.c (__get_socket): Likewise.
40661         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
40662         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
40663         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
40664         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
40665         Likewise.
40666         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
40667         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
40668         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
40669         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
40670         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
40671         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
40672         Likewise.
40673         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
40674         Likewise.
40675         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
40676         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
40677         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
40678         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
40679         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
40680         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
40681         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
40682         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
40683         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
40684         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
40685         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
40686         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
40687         Likewise.
40688         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
40689         Likewise.
40690         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
40691         Likewise.
40692         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
40693         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
40694         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
40695         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
40696         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
40697         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
40698         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
40699         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
40700         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
40701         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
40702         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
40703         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
40704         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
40705         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
40706         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
40707         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
40708         Likewise.
40709         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
40710         Likewise.
40711         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
40712         Likewise.
40713         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
40714         Likewise.
40715         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
40716         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
40717         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
40718         Likewise.
40719         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
40720         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
40721         * sysdeps/posix/opendir.c (__opendirat): Likewise.
40722         * sysdeps/posix/sleep.c: Likewise.
40723         * sysdeps/posix/tempname.c: Likewise.
40724         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
40725         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
40726         Likewise.
40727         * sysdeps/powerpc/powerpc32/dl-machine.h
40728         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
40729         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
40730         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
40731         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
40732         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
40733         Likewise.
40734         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
40735         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
40736         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40737         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
40738         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
40739         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
40740         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
40741         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
40742         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40743         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
40744         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
40745         (elf_machine_lazy_rel): Likewise.
40746         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
40747         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
40748         (elf_machine_lazy_rel): Likewise.
40749         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
40750         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
40751         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
40752         * sysdeps/unix/grantpt.c (grantpt): Likewise.
40753         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
40754         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
40755         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
40756         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
40757         Likewise.
40758         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
40759         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
40760         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
40761         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
40762         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
40763         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
40764         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
40765         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
40766         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
40767         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
40768         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
40769         Likewise.
40770         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
40771         (__posix_fallocate64_l64): Likewise.
40772         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
40773         (posix_fallocate): Likewise.
40774         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
40775         Likewise.
40776         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40777         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
40778         (getifaddrs_internal): Likewise.
40779         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
40780         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
40781         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
40782         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
40783         * sysdeps/unix/sysv/linux/posix_fallocate64.c
40784         (__posix_fallocate64_l64): Likewise.
40785         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
40786         Likewise.
40787         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
40788         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
40789         (__get_clockfreq): Likewise.
40790         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
40791         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
40792         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
40793         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40794         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40795         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
40796         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
40797         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
40798         Likewise.
40799         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
40800         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
40801         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
40802         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
40803         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
40804         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
40805         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
40806         Likewise.
40807         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
40808         (posix_fallocate): Likewise.
40809         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40810         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
40811         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
40812         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
40813         (elf_machine_rela, elf_machine_rela_relative)
40814         (elf_machine_lazy_rel): Likewise.
40815         * time/asctime.c (asctime_internal): Likewise.
40816         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
40817         * time/tzset.c (__tzset_parse_tz): Likewise.
40818         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
40819         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
40820         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
40821         * wcsmbs/wcsmbsload.h: Likewise.
40823         [BZ #15894]
40824         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
40826         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
40827         (arena_get2): Remove THREAD_STATS conditionals.
40828         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
40829         (__malloc_stats, int): Likewise.
40831 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
40833         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
40834         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
40836         * manual/setjmp.texi: Fix typos/grammar errors.
40838         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
40839         Only return early when n is <= 0.  Delete unused return statement.
40841         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
40842         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
40843         * debug/tst-longjmp_chk3.c: New file.
40845         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
40846         (test_main): Replace code with set_fortify_handler call.
40847         * debug/test-strcpy_chk.c: Likewise.
40848         * debug/tst-chk1.c: Likewise.
40849         * debug/tst-longjmp_chk.c: Likewise.
40850         * test-skeleton.c: Include fcntl.h & paths.h
40851         (set_fortify_handler): Define.
40853         * debug/tst-longjmp_chk.c: Add header comment and include
40854         ../test-skeleton.c.
40855         (do_test): Mark static.
40856         (TEST_FUNCTION): Define.
40858         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
40859         (IP_PMTUDISC_INTERFACE): Likewise.
40860         (IP_MULTICAST_IF): Likewise.
40861         (IP_MULTICAST_TTL): Likewise.
40862         (IP_MULTICAST_LOOP): Likewise.
40863         (IP_ADD_MEMBERSHIP): Likewise.
40864         (IP_DROP_MEMBERSHIP): Likewise.
40865         (IP_UNBLOCK_SOURCE): Likewise.
40866         (IP_BLOCK_SOURCE): Likewise.
40867         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
40868         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
40869         (IP_MSFILTER): Likewise.
40870         (MCAST_JOIN_GROUP): Likewise.
40871         (MCAST_BLOCK_SOURCE): Likewise.
40872         (MCAST_UNBLOCK_SOURCE): Likewise.
40873         (MCAST_LEAVE_GROUP): Likewise.
40874         (MCAST_JOIN_SOURCE_GROUP): Likewise.
40875         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
40876         (MCAST_MSFILTER): Likewise.
40877         (IP_MULTICAST_ALL): Likewise.
40878         (IP_UNICAST_IF): Likewise.
40880         * timezone/Makefile: Delete $(have-ksh) check.
40881         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
40882         * timezone/tzselect.ksh: Add +x mode bits.
40884         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
40885         (ANON_INODE_FS_MAGIC): Likewise.
40886         (BDEVFS_MAGIC): Likewise.
40887         (BINFMTFS_MAGIC): Likewise.
40888         (BTRFS_TEST_MAGIC): Likewise.
40889         (CRAMFS_MAGIC_WEND): Likewise.
40890         (DEBUGFS_MAGIC): Likewise.
40891         (ECRYPTFS_SUPER_MAGIC): Likewise.
40892         (EXT3_SUPER_MAGIC): Likewise.
40893         (EXT4_SUPER_MAGIC): Likewise.
40894         (FUTEXFS_SUPER_MAGIC): Likewise.
40895         (HOSTFS_SUPER_MAGIC): Likewise.
40896         (HUGETLBFS_MAGIC): Likewise.
40897         (MINIX3_SUPER_MAGIC): Likewise.
40898         (MTD_INODE_FS_MAGIC): Likewise.
40899         (NILFS_SUPER_MAGIC): Likewise.
40900         (OPENPROM_SUPER_MAGIC): Likewise.
40901         (PIPEFS_MAGIC): Likewise.
40902         (PSTOREFS_MAGIC): Likewise.
40903         (QNX6_SUPER_MAGIC): Likewise.
40904         (RAMFS_MAGIC): Likewise.
40905         (REISERFS_SUPER_MAGIC_STRING): Likewise.
40906         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
40907         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
40908         (SECURITYFS_MAGIC): Likewise.
40909         (SELINUX_MAGIC): Likewise.
40910         (SMACK_MAGIC): Likewise.
40911         (SOCKFS_MAGIC): Likewise.
40912         (SQUASHFS_MAGIC): Likewise.
40913         (STACK_END_MAGIC): Likewise.
40914         (TMPFS_MAGIC): Likewise.
40915         (USBDEVICE_SUPER_MAGIC): Likewise.
40916         (V9FS_MAGIC): Likewise.
40917         (XENFS_SUPER_MAGIC): Likewise.
40918         (CRAMFS_MAGIC): Fix typo in comment.
40919         (EXT2_SUPER_MAGIC): Update comment.
40920         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
40922 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
40924         * sysdeps/arm: Move directory from ports/sysdeps/arm.
40925         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
40926         * sysdeps/unix/sysv/linux/arm: Move directory from
40927         ports/sysdeps/unix/sysv/linux/arm.
40928         * README: Update listing for arm-*-linux-gnueabi.
40930         * README: Remove mention of am33.
40932 2014-02-07  Roland McGrath  <roland@hack.frob.com>
40934         * bits/sigset.h (__sigemptyset): Use a statement expression rather
40935         than the comma operator, to avoid "rhs of comma has no effect"
40936         compiler warnings.
40937         (__sigfillset, __sigandset, __sigorset): Likewise.
40938         * include/signal.h (__sigemptyset): Likewise.
40939         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
40941 2014-02-07  Allan McRae  <allan@archlinux.org>
40943         * version.h (RELEASE): Set to "development".
40944         (VERSION): Set to "2.19.90"
40945         * NEWS: Add 2.20 section.
40947 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
40949         [BZ #16529]
40950         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
40952 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
40954         * manual/contrib.texi: Update entry for Carlos O'Donell,
40955         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
40957 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
40959         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
40961         * sysdeps/unix/sysv/linux/kernel-features.h
40962         [__LINUX_KERNEL_VERSION >= 0x020621]
40963         (__ASSUME_PROC_PID_TASK_COMM): Define.
40965 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
40967         [BZ #16398]
40968         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
40969         conversion when destination buffer does not have enough space.
40970         * libio/tst-ftell-partial-wide.c: New test case.
40971         * libio/Makefile (tests): Add tst-ftell-partial-wide.
40973         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
40974         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
40975         Leonard and Allan McRae.
40977 2014-02-04  David S. Miller  <davem@davemloft.net>
40979         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
40980         32-bit.
40982 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
40985         New file
40986         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
40987         New file
40988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
40989         New file.
40990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
40991         New file.
40992         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
40993         New file.
40994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
40995         New file.
40996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
40997         New file.
40998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
40999         New file.
41000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
41001         New file.
41002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
41003         New file.
41004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
41005         New file.
41006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
41007         New file.
41008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
41009         New file.
41011 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41013         * nptl/shlib-versions: Change powerpc*le start to 2.17.
41014         * shlib-versions: Likewise.
41016 2014-02-04  Roland McGrath  <roland@hack.frob.com>
41017             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41019         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
41020         (abilist-pattern): New variable, set to %-le.abilist.
41022         * Makerules (abilist-pattern): New variable.
41023         (vpath): Use $(abilist-pattern) in place of %.abilist.
41024         (check-abi-% pattern rule): Likewise.
41025         (check-abi, update-abi): Likewise.
41027 2014-02-04  Eric Wong  <normalperson@yhbt.net>
41029         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41031 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
41033         * manual/startup.texi: Add next, previous, and top entries for
41034         the `Program Arguments' and `Environment Variables' nodes.
41036 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
41038         * manual/macros.texi: Add comments before MTASC-safety macros.
41040         * manual/users.texi: Document MTASC-safety properties.
41042         * manual/threads.texi (pthread_key_create, pthread_key_delete)
41043         (pthread_getspecific, pthread_setspecific): Format with
41044         @deftypefun, and add @safety note.
41045         * manual/signal.texi: Move comments that analyze the above
41046         functions to their home place.
41048 2014-02-03  Allan McRae  <allan@archlinux.org>
41050         * po/sl.po: Update Slovenian translation from translation project.
41052 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
41054         * manual/time.texi (timegm): Add missing blank after @c.
41055         Reported by Joseph Myers <joseph@codesourcery.com>.
41057 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
41059         * manual/check-safety.sh: New.
41060         * manual/Makefile ($(objpfx)stamp-summary): Run it.
41062         * manual/terminal.texi: Document MTASC-safety properties.
41064         * manual/filesys.texi: Document MTASC-safety properties.
41066         * manual/errno.texi: Document MTASC-safety properties.
41068         * manual/intro.texi: Document safety identifiers and
41069         conditionals.
41071         * manual/string.texi (wcstok): Fix prototype.
41072         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
41074         * manual/time.texi: Document MTASC-safety properties.
41076         * manual/string.texi: Document MTASC-safety properties.
41078         * manual/threads.texi: Document MTASC-safety properties.
41080         * manual/stdio.texi: Document MTASC-safety properties.
41082         * manual/syslog.texi: Document MTASC-safety properties.
41084         * manual/sysinfo.texi: Document MTASC-safety properties.
41086         * manual/startup.texi: Document MTASC-safety properties.
41088         * manual/socket.texi: Document MTASC-safety properties.
41090         * manual/signal.texi: Document MTASC-safety properties.
41092 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
41094         * manual/setjmp.texi: Document MTASC-safety properties.
41096         * manual/search.texi: Document MTASC-safety properties.
41098         * manual/resource.texi: Document MTASC-safety properties.
41100         * manual/process.texi: Document MTASC-safety properties.
41102         * manual/platform.texi: Document MTASC-safety properties.
41104         * manual/pipe.texi: Document MTASC-safety properties.
41106         * manual/pattern.texi: Document MTASC-safety properties.
41108         * manual/message.texi: Document MTASC-safety properties.
41110         [BZ #12751]
41111         * manual/memory.texi: Document MTASC-safety properties.
41113         * manual/math.texi: Document MTASC-safety properties.
41115         * manual/locale.texi: Document MTASC-safety properties.
41117         * manual/llio.texi: Document MTASC-safety properties.
41119         * manual/libdl.texi: New.
41121         * manual/lang.texi: Document MTASC-safety properties.
41123         * manual/job.texi: Document MTASC-safety properties.
41125         * manual/getopt.texi: Document MTASC-safety properties.
41127         * manual/ctype.texi: Document MTASC-safety properties.
41129 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
41131         [BZ #16046]
41132         * csu/libc-tls.c (static_map): Remove variable.
41133         (__libc_setup_tls): Use main executable's link map for TLS data.
41134         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
41135         casing for LM_ID_BASE and GL(dl_nns).
41136         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
41137         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
41138         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
41139         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
41140         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
41141         member.
41142         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
41143         l_phnum members.
41145 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
41147         * manual/debug.texi: Document MTASC-safety properties.
41149 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
41151         [BZ #16510]
41152         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
41153         of __x86_64__ when disabling x87 inline functions.
41155 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
41157         * manual/charset.texi: Document MTASC-safety properties.
41159         * manual/crypt.texi: Document MTASC-safety properties.
41161         * manual/conf.texi: Document MTASC-safety properties.
41163         * manual/arith.texi: Document MTASC-safety properties.
41165         * manual/argp.texi: Document MTASC-safety properties.
41167         * manual/macros.texi: Introduce macros to document multi
41168         thread, asynchronous signal and asynchronous cancellation
41169         safety properties.
41170         * manual/intro.texi: Introduce the properties themselves.
41172 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41174         * sysdeps/sh/sh4/Makefile: New file.
41176 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
41178         * math/gen-libm-test.pl ($srcdir): New variable.
41179         ($auto_input): Use it.
41181 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
41183         [BZ #16506]
41184         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
41185         access beyond array bounds when parsing netgroups file.
41187         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
41188         the old buffer before realloc.
41190 2014-01-27  Allan McRae  <allan@archlinux.org>
41192         * po/fr.po: Update French translation from translation project.
41194 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41196         * sysdeps/sh/libm-test-ulps: Regenerate.
41198 2014-01-24  David S. Miller  <davem@davemloft.net>
41200         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
41202 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41204         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
41205         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
41207 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
41209         [BZ #16474]
41210         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
41211         string pointers after reallocation.
41213 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41215         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
41216         __SH4A__ instead of __SH_FPU_ANY__.
41218 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
41220         * sysdeps/sh/fpu_control.h: New file.
41221         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
41222         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
41223         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
41224         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
41225         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
41226         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
41227         * sysdeps/sh/sys/ucontext.h: Remove.
41228         * sysdeps/sh/sys: Remove directory.
41230 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41232         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
41233         s390/sys/ucontext.h.
41234         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
41235         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
41237 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
41239         [BZ #15605]
41240         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
41242 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41244         [BZ#16431]
41245         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
41246         Adjust the vDSO correctly for internal calls.
41247         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
41249 2014-01-20  Allan McRae  <allan@archlinux.org>
41251         * po/ca.po: Update Catalan translation from translation project.
41253 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
41255         * sysdeps/s390/sotruss-lib.c: New file.
41257 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41259         [BZ#16430]
41260         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
41261         (__GI___gettimeofday): Alias for a different internal symbol to avoid
41262         local calls issues by not having a PLT stub required for IFUNC calls.
41263         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
41265 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
41267         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
41268         * math/test-fpucw-static.c: Likewise.
41270 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
41272         [BZ #16453]
41273         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
41275 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41277         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
41278         implementation for powerpc.
41280 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
41282         [BZ #14782]
41283         * sysdeps/posix/system.c (__libc_system): Do not enable
41284         asynchronous cancellation.
41286 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41288         [BZ #16427]
41289         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
41290         handling only for numbers special also in the IEEE case.
41292 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41294         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41296 2014-01-11  Allan McRae  <allan@archlinux.org>
41298         * po/bg.po: Update Bulgarian translation from translation project.
41300         * po/de.po: Update German translation from translation project.
41302 2014-01-10  Roland McGrath  <roland@hack.frob.com>
41304         * sysdeps/generic/gcc-compat.h: New file.
41306 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
41308         * benchtests/asin-inputs: Correct slow inputs.
41309         * benchtests/acos-inputs: Likewise.
41311 2014-01-10  Allan McRae  <allan@archlinux.org>
41313         * po:sv.po: Update Swedish translation from translation project.
41315         * po/vi.po: Update Vietnamese translation from translation project.
41317         * po/eo.po: Update Esperanto translation from translation project.
41319         * po/cs.po: Update Czech translation from translation project.
41321         * po/nl.po: Update Dutch translation from translation project.
41323         * po/pl.po: Update Polish translation from translation project.
41325         * po/ru.po: Update Russian translation from translation project.
41327         * po/uk.po: Update Ukrainian translation from translation project.
41329 2014-01-08  Brooks Moses  <bmoses@google.com>
41331         * elf/dl-load.c: Fix comment typo.
41333 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
41335         * po/header.pot: Rename to...
41336         * po/pot.header: ... this.
41337         * po/Makefile: Use pot.header.
41339 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
41340             Maxim Kuvyrkov  <maxim@kugelworks.com>
41342         [BZ #16394]
41343         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
41344         SRC and DEST against LEN.
41346 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41348         [BZ #16414]
41349         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
41350         implementation.
41351         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
41353 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41355         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41357 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
41359         [BZ #16408]
41360         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
41361         for large positive arguments.
41363 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
41365         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41367         * math/auto-libm-test-in: Mark various tests with
41368         xfail-rounding:ldbl-128ibm.
41369         * math/auto-libm-test-out: Regenerated.
41371         [BZ #16407]
41372         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
41373         Increase overflow threshold.
41375 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
41377         [BZ #14286]
41378         * stdio-common/vfprintf.c: Check for integer overflow.
41380 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41382         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
41383         the first argument and return value of __tls_get_addr_internal.
41385 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41387         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
41388         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
41390 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41392         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
41393         * sysdeps/s390/rtld-global-offsets.sym: New file.
41394         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
41395         GLIBC_2.19 symbol.
41396         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
41397         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
41398         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
41399         ... this.
41400         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
41401         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
41402         ... this.
41403         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41404         Regenerate.
41405         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41406         Regenerate.
41407         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
41408         halfs of GPRs for high_gprs contexts.
41409         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
41410         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
41411         field.
41412         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
41413         uc_flags field.
41414         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
41415         64 bit versions:
41416         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
41417         for high GPRs (uc_high_gprs) and for future extensions
41418         (__reserved).
41419         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
41420         for future extensions (__reserved).
41421         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
41422         64 bit versions:
41423         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
41424         SC_HIGHGPRS offset definition.
41425         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
41426         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
41428         * Versions.def: Add GLIBC_2.19 for libpthread.
41429         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
41430         siglongjmp for libpthread with GLIBC_2.19 symver.
41431         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
41432         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
41433         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
41434         * sysdeps/s390/__longjmp.c: New file.
41435         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
41436         * sysdeps/s390/longjmp.c: New file.
41437         * sysdeps/s390/setjmp.S: New file.
41438         * sysdeps/s390/sigjmp.S: New file.
41439         * sysdeps/s390/v1-longjmp.c: New file.
41440         * sysdeps/s390/v1-setjmp.h: New file.
41441         * sysdeps/s390/v1-sigjmp.c: New file.
41442         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
41443         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
41444         GLIBC_2.19 version.
41445         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
41446         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
41447         versioned symbols for ____longjmp_chk.
41448         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
41449         Likewise.
41450         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
41451         Regenerate.
41452         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
41453         Regenerate.
41454         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
41455         Regenerate.
41456         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
41457         Regenerate.
41458         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
41459         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
41460         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
41461         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
41462         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
41463         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
41464         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
41465         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
41466         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
41467         * sysdeps/s390/rtld-__longjmp.c: New file.
41468         * sysdeps/s390/rtld-setjmp.S: New file.
41470 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
41472         [BZ #16400]
41473         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41474         Return -__logl (x) for small positive arguments without evaluating
41475         a polynomial.
41477 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
41479         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
41480         Rename to ...
41481         (__ptrace_peeksiginfo_args): ... this.
41482         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41483         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41484         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41486 2014-01-06  Allan McRae  <allan@archlinux.org>
41488         * inet/netinet/in.h: Fix typo in comment.
41490 2014-01-05  Andreas Jaeger  <aj@suse.de>
41492         * sysdeps/i386/fpu/libm-test-ulps: Update.
41494 2014-01-05  Allan McRae  <allan@archlinux.org>
41496         * po/libc.pot: Regenerated.
41498         * malloc/memusagestat.c: Fix gettext call formatting.
41500 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
41502         * nscd/nscd.c: Improve usage() output.
41504 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
41506         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
41507         * sysdeps/unix/sysv/linux/configure: Regenerated.
41508         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
41509         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
41511 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41513         [BZ #16390]
41514         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
41515         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
41517 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41519         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
41520         extra tokens at end of #undef directive.
41521         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
41522         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
41523         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
41525 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
41527         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
41529         * math/auto-libm-test-in: Mark various tests with
41530         xfail-rounding:ldbl-128ibm.
41531         * math/auto-libm-test-out: Regenerated.
41533 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
41535         [BZ #16386]
41536         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
41537         numbers with subnormal high part when calculating exponent.
41539         [BZ #16385]
41540         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
41541         fabs.
41543         [BZ #16384]
41544         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
41545         M_LN2l.
41546         (__ieee754_acoshl): Use __log1pl not __log1p.
41548 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
41550         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
41551         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
41552         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
41553         (grow_heap, heap_trim, _int_new_arena, get_free_list)
41554         (reused_arena, arena_get2): Convert to GNU style.
41555         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
41556         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
41557         (memalign_check, __malloc_set_state): Likewise.
41558         * malloc/mallocbug.c (main): Likewise.
41559         * malloc/malloc.c (__malloc_assert, malloc_init_state)
41560         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
41561         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
41562         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
41563         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
41564         (__posix_memalign, malloc_info): Likewise.
41565         * malloc/malloc.h: Likewise.
41566         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
41567         (mallochook, memalignhook, reallochook, mabort): Likewise.
41568         * malloc/mcheck.h: Likewise.
41569         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
41570         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
41571         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
41572         * malloc/morecore.c (__default_morecore): Likewise.
41573         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
41574         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
41575         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
41576         (print_and_abort): Likewise.
41577         * malloc/obstack.h: Likewise.
41578         * malloc/set-freeres.c (__libc_freeres): Likewise.
41579         * malloc/tst-mallocstate.c (main): Likewise.
41580         * malloc/tst-mtrace.c (main): Likewise.
41581         * malloc/tst-realloc.c (do_test): Likewise.
41583 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
41585         [BZ #16366]
41586         * nscd/netgroupcache.c (do_notfound): New function.
41587         (addgetnetgrentX): Use it.
41589         [BZ # 16365]
41590         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
41591         NSS_STATUS_NOTFOUND.
41593 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
41595         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
41596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41598 2014-01-01  Allan McRae  <allan@archlinux.org>
41600         * scripts/update-copyrights: Update configure input file suffix.
41602         * NEWS: Update copyright year.
41603         * catgets/gencat.c: Likewise.
41604         * csu/version.c: Likewise.
41605         * debug/catchsegv.sh: Likewise.
41606         * debug/pcprofiledump.c: Likewise.
41607         * debug/xtrace.sh: Likewise.
41608         * elf/ldconfig.c: Likewise.
41609         * elf/ldd.bash.in: Likewise.
41610         * elf/pldd.c: Likewise.
41611         * elf/sotruss.ksh: Likewise.
41612         * elf/sprof.c: Likewise.
41613         * iconv/iconv_prog.c: Likewise.
41614         * iconv/iconvconfig.c: Likewise.
41615         * locale/programs/locale.c: Likewise.
41616         * locale/programs/localedef.c: Likewise.
41617         * login/programs/pt_chown.c: Likewise.
41618         * malloc/memusage.sh: Likewise.
41619         * malloc/memusagestat.c: Likewise.
41620         * malloc/mtrace.pl: Likewise.
41621         * manual/libc.texinfo: Likewise.
41622         * nscd/nscd.c: Likewise.
41623         * nss/getent.c: Likewise.
41624         * nss/makedb.c: Likewise.
41625         * posix/getconf.c: Likewise.
41626         * scripts/test-installation.pl: Likewise.
41628         * All files with FSF copyright notices: Update copyright dates
41629         using scripts/update-copyrights.
41630         * intl/plural.c: Regenerated.
41631         * locale/programs/charmap-kw.h: Likewise.
41632         * locale/programs/locfile-kw.h: Likewise.
41634 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
41636         * sysdeps/unix/sysv/linux/configure: Regenerated.
41637         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
41638         the linux/fanotify.h header.
41639         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
41640         HAVE_LINUX_FANOTIFY_H is defined.
41642 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
41644         * benchtests/cos-inputs: New inputs.
41645         * benchtests/sin-inputs: Likewise.
41647         * benchtests/atan-inputs: New inputs. Fix name of multiple
41648         precision fallback inputs.
41650         * benchtests/atanh-inputs: New inputs.
41651         * benchtests/tanh-inputs: Likewise.
41653         * benchtests/acosh-inputs: New inputs.
41654         * benchtests/asinh-inputs: Likewise.
41656         * benchtests/cosh-inputs: New inputs.
41657         * benchtests/sinh-inputs: Likewise.
41659         * benchtests/acos-inputs: Add more inputs.
41660         * benchtests/asin-inputs: Likewise.
41662 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
41664         [BZ #16375]
41665         * manual/arith.texi: Fix spelling.
41666         * manual/charset.texi: Likewise.
41667         * manual/errno.texi: Likewise.
41668         * manual/filesys.texi: Likewise.
41669         * manual/lang.texi: Likewise.
41670         * manual/llio.texi: Likewise.
41671         * manual/locale.texi: Likewise.
41672         * manual/message.texi: Likewise.
41673         * manual/resource.texi: Likewise.
41674         * manual/search.texi: Likewise.
41675         * manual/setjmp.texi: Likewise.
41676         * manual/stdio.texi: Likewise.
41677         * manual/string.texi: Likewise.
41678         * manual/sysinfo.texi: Likewise.
41679         * manual/time.texi: Likewise.
41681 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
41683         * po/sl.po: New file.
41685 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
41687         * .gitignore: Add core/.gdbinit/.gdb_history.
41689 2013-12-27  Allan McRae  <allan@archlinux.org>
41691         [BZ #16369]
41692         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
41693         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
41695 2013-12-24  Brooks Moses  <bmoses@google.com>
41697         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
41698         all compilers that claim C++98 compliance, not just GCC.
41699         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
41700         Likewise.
41702 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41704         * NEWS: Restore accidentally deleted bug-fix entries.
41706 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
41707             Ondřej Bílka  <neleai@seznam.cz>
41709         [BZ #15073]
41710         * malloc/malloc.c (_int_free): Perform sanity check only if we
41711         have_lock.
41713 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
41715         [BZ #12986]
41716         * manual/stdio.texi (String Input Conversions): Clarify that character
41717         classes are not supported.
41719 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41721         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41723 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
41725         [BZ #16337]
41726         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
41727         Calculate results for small negative arguments directly rather
41728         than using reflection formula with special underflow handling.
41730         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
41731         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
41732         sysdeps/unix/bsd/bsd4.4/syscalls.list.
41733         (fchflags): Likewise.
41734         (revoke): Likewise.
41735         (setlogin): Likewise.
41736         (sigaltstack): Likewise.
41737         (wait4): Likewise.
41738         (sigblock): Remove.
41739         (sigsetmask): Likewise.
41740         (wait3): Likewise.
41741         (waitpid): Likewise.
41742         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
41743         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
41744         file.
41745         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
41746         * sysdeps/unix/bsd/Makefile: ... here.
41747         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
41748         * sysdeps/unix/bsd/Versions: ... here.
41749         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
41750         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
41751         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
41752         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
41753         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
41754         * sysdeps/unix/bsd/sigblock.c: ... here.
41755         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
41756         * sysdeps/unix/bsd/sigsetmask.c: ... here.
41757         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
41758         * sysdeps/unix/bsd/sigvec.c: ... here.
41759         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
41760         * sysdeps/unix/bsd/tcdrain.c: ... here.
41761         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
41762         * sysdeps/unix/bsd/tcgetattr.c: ... here.
41763         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
41764         * sysdeps/unix/bsd/tcsetattr.c: ... here.
41765         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
41766         * sysdeps/unix/bsd/wait.c: ... here.
41767         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
41768         * sysdeps/unix/bsd/wait3.c: ... here.
41769         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
41770         * sysdeps/unix/bsd/waitpid.c: ... here.
41772 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
41774         [BZ #16356]
41775         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
41776         round-to-nearest for [!USE_AS_EXPM1L].
41777         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
41778         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
41779         more tests of exp and exp10.  Expect some exp10 tests to miss
41780         exceptions or fail in directed rounding modes.
41781         * math/auto-libm-test-out: Regenerated.
41782         * math/libm-test.inc (exp10_tonearest_test_data): New array.
41783         (exp10_test_tonearest): New function.
41784         (exp10_towardzero_test_data): New array.
41785         (exp10_test_towardzero): New function.
41786         (exp10_downward_test_data): New array.
41787         (exp10_test_downward): New function.
41788         (exp10_upward_test_data): New array.
41789         (exp10_test_upward): New function.
41790         (main): Call the new functions.
41791         * sysdeps/i386/fpu/libm-test-ulps: Update.
41792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41794 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
41796         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
41797         asinh, atan, atan2, atanh, cbrt, cos and cosh.
41798         * math/auto-libm-test-out: Regenerated.
41799         * math/libm-test.inc (acosh_test_data): Add more tests.
41800         (atanh_test_data): Likewise.
41801         (ceil_test_data): Likewise.
41802         (copysign_test_data): Likewise.
41803         * sysdeps/i386/fpu/libm-test-ulps: Update.
41804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41806         * timezone/checktab.awk: Update from tzcode 2013i.
41807         * timezone/private.h: Likewise.
41808         * timezone/scheck.c: Likewise.
41809         * timezone/tzfile.h: Likewise.
41810         * timezone/tzselect.ksh: Likewise.
41811         * timezone/zdump.c: Likewise.
41812         * timezone/zic.c: Likewise.
41814         * math/auto-libm-test-in: Add tests of cpow.
41815         * math/auto-libm-test-out: Regenerated.
41816         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
41817         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41818         mpc_cc_c.
41819         (func_calc_desc): Add mpc_cc_c union field.
41820         (test_functions): Add cpow.
41821         (special_fill_2pi): New function.
41822         (special_real_inputs): Add 2pi.
41823         (calc_generic_results): Handle mpc_cc_c.
41824         * sysdeps/i386/fpu/libm-test-ulps: Update.
41825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41827         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
41828         csqrt, ctan and ctanh.
41829         * math/auto-libm-test-out: Regenerated.
41830         * math/libm-test.inc (TEST_COND_x86_64): New macro.
41831         (TEST_COND_x86): Likewise.
41832         (ccos_test_data): Use AUTO_TESTS_c_c.
41833         (ccosh_test_data): Likewise.
41834         (cexp_test_data): Likewise.
41835         (clog_test_data): Likewise.
41836         (csqrt_test_data): Likewise.
41837         (ctan_test_data): Likewise.
41838         (ctan_tonearest_test_data): Likewise.
41839         (ctan_towardzero_test_data): Likewise.
41840         (ctan_downward_test_data): Likewise.
41841         (ctan_upward_test_data): Likewise.
41842         (ctanh_test_data): Likewise.
41843         (ctanh_tonearest_test_data): Likewise.
41844         (ctanh_towardzero_test_data): Likewise.
41845         (ctanh_downward_test_data): Likewise.
41846         (ctanh_upward_test_data): Likewise.
41847         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41848         mpc_c_c.
41849         (func_calc_desc): Add mpc_c_c union field.
41850         (FUNC_mpc_c_c): New macro.
41851         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
41852         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
41853         ctanh.
41854         (special_fill_min_subnorm_p120): New function.
41855         (special_real_inputs): Add min_subnorm_p120.
41856         (calc_generic_results): Handle mpc_c_c.
41857         * sysdeps/i386/fpu/libm-test-ulps: Update.
41858         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41860 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
41862         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
41863         (do_sin_slow): New functions.
41864         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
41865         (cslow2, csloww1, csloww2): Use the new functions.
41867         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
41868         Use M to change sign of result instead of X.  Assume X is
41869         positive.
41870         (csloww1): Likewise.
41871         (__sin): Adjust.
41872         (__cos): Adjust.
41874         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
41875         arguments A and DA.
41876         (__sin): Adjust.
41877         (__cos): Likewise.
41879         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
41880         (__cos): Likewise.
41881         (sloww1): Don't adjust sign of DX.
41882         (csloww1): Likewise.
41883         (sloww2): Use X directly and don't adjust sign of DX.
41884         (csloww2): Likewise.
41886 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41888         * math/auto-libm-test-in: Add tests of cabs and carg.
41889         * math/auto-libm-test-out: Regenerated.
41890         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
41891         (carg_test_data): Likewise.
41892         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41893         mpc_c_f.
41894         (func_calc_desc): Add mpc_c_f union field.
41895         (test_functions): Add cabs and carg.
41896         (calc_generic_results): Handle mpc_c_f.
41898         * sysdeps/powerpc/powerpc32/libgcc-compat.S
41899         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
41900         as a macro and a compat symbol.
41901         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
41902         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
41903         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
41904         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
41905         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
41906         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
41907         not use .hidden.
41908         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
41909         Likewise.
41910         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
41911         Likewise.
41912         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
41913         Likewise.
41914         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
41915         Likewise.
41916         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
41917         Likewise.
41918         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
41919         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
41920         from GLIBC_2.3.2.
41922 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41924         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41926 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41928         * manual/texinfo.tex: Update to version 2013-11-26.10 with
41929         trailing whitespace removed.
41930         * scripts/config.guess: Update to version 2013-11-29.
41931         * scripts/config.sub: Update to version 2013-10-01.
41933         * math/auto-libm-test-in: Add tests of sincos.
41934         * math/auto-libm-test-out: Regenerated.
41935         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
41936         * math/gen-auto-libm-tests.c (func_calc_method): Add value
41937         mpfr_f_11.
41938         (func_calc_desc): Add mpfr_f_11 union field.
41939         (test_functions): Add sincos.
41940         (calc_generic_results): Handle mpfr_f_11.
41941         * sysdeps/i386/fpu/libm-test-ulps: Update.
41942         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41944 2013-12-19  Andreas Schwab  <schwab@suse.de>
41946         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
41947         CALL_MCOUNT.
41948         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
41949         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
41950         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
41952 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
41954         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
41955         * sysdeps/i386/fpu/libm-test-ulps: Update.
41956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41958         [BZ #16293]
41959         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
41960         round-to-nearest mode when using frndint.
41961         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
41962         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
41963         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
41964         Likewise.
41965         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
41966         sinh test to fail.
41967         * math/auto-libm-test-out: Regenerated.
41968         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
41969         (TEST_COND_x86): Likewise.
41970         (expm1_tonearest_test_data): New array.
41971         (expm1_test_tonearest): New function.
41972         (expm1_towardzero_test_data): New array.
41973         (expm1_test_towardzero): New function.
41974         (expm1_downward_test_data): New array.
41975         (expm1_test_downward): New function.
41976         (expm1_upward_test_data): New array.
41977         (expm1_test_upward): New function.
41978         (main): Run the new test functions.
41979         * sysdeps/i386/fpu/libm-test-ulps: Update.
41980         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41982         * include/features.h: Update comment documenting feature test
41983         macros.  Mention _DEFAULT_SOURCE in comment.
41984         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
41985         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
41986         _BSD_SOURCE and _SVID_SOURCE.
41987         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
41988         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
41989         !_SVID_SOURCE]: Likewise.
41990         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41991         (__USE_POSIX_IMPLICITLY): Define.
41992         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41993         (_POSIX_SOURCE): Undefine and redefine.
41994         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
41995         (_POSIX_C_SOURCE): Likewise.
41996         * manual/creature.texi (_DEFAULT_SOURCE): Document.
41997         (Feature Test Macros): Update documentation of default features.
41999 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
42001         * benchtests/Makefile: Add bench-strtok.
42002         * benchtests/bench-strtok.c: New file: strtok benchtest.
42004 2013-12-19  Allan McRae  <allan@archlinux.org>
42006         * manual/install.texi: Suppress menu for plain text output.
42007         * INSTALL: Regenerated.
42009 2013-12-18  Brooks Moses  <bmoses@google.com>
42011         [BZ #15846]
42012         * misc/getauxval.c: Include errno.h.
42013         (__getauxval): Set errno to ENOENT if the requested type is not
42014         found.
42015         * misc/sys/auxv.h (getauxval): Document that it may set errno;
42016         don't declare with __attribute_const__.
42017         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
42018         * manual/startup.texi: Document that getauxval sets errno.
42020 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42022         * math/auto-libm-test-in: Add tests of jn and yn.
42023         * math/auto-libm-test-out: Regenerated.
42024         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
42025         (yn_test_data): Likewise.
42026         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42027         mpfr_if_f.
42028         (func_calc_desc): Add mpfr_if_f union field.
42029         (FUNC_mpfr_if_f): New macro.
42030         (test_functions): Add jn and yn.
42031         (calc_generic_results): Assert type of second input for
42032         mpfr_ff_f.  Handle mpfr_if_f.
42033         (output_for_one_input_case): Disable all checking for arguments
42034         fitting floating-point types in case of an integer argument.
42035         * sysdeps/i386/fpu/libm-test-ulps: Update.
42036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42038         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
42039         Don't expect fegetround reference in libm.so.
42041 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
42043         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
42044         $(config-cflags-nofma).
42046 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
42048         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
42049         * math/auto-libm-test-out: Regenerated.
42051         [BZ #16338]
42052         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
42053         to determine exponent and adjust argument to have exponent of -1.
42054         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
42055         log2.
42056         * math/auto-libm-test-out: Regenerated.
42057         * sysdeps/i386/fpu/libm-test-ulps: Update.
42058         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42060 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
42062         * manual/probes.texi: Remove cases when per-thread arenas are
42063         disabled.
42065 2013-12-18  Andreas Schwab  <schwab@suse.de>
42067         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
42068         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
42069         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
42070         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
42071         * sysdeps/i386/i686/multiarch/Makefile: Update.
42072         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
42074 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42076         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
42077         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
42079 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
42081         [BZ #15968]
42082         Support TZ transition times < 00:00:00.
42083         This is needed for version-3 tz-format files; it supports time
42084         stamps past 2037 for America/Godthab (the only entry in the tz
42085         database for which this change is relevant).
42086         * manual/time.texi (TZ Variable): Document transition times
42087         from -167:59:59 through -00:00:01.
42088         * time/tzset.c (tz_rule): Time of day is now signed.
42089         (__tzset_parse_tz): Parse negative time of day.
42091         Document TZ transition times >= 25:00:00.
42092         * manual/time.texi (TZ Variable): Document transition times from
42093         25:00:00 through 167:59:59.  These are already supported, and this
42094         support will help with version-3 tz-format files.
42096         * manual/time.texi (TZ Variable): Modernize North America example
42097         to reflect current (i.e., 2007-and-later) daylight saving rules.
42099         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
42101 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42103         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
42104         * sysdeps/unix/bsd/bits/stat.h: Likewise.
42105         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
42106         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
42107         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
42108         * sysdeps/unix/bsd/bsdstat.h: Likewise.
42109         * sysdeps/unix/bsd/clock.c: Likewise.
42110         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
42111         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
42112         * sysdeps/unix/bsd/init-posix.c: Likewise.
42113         * sysdeps/unix/bsd/poll.c: Likewise.
42114         * sysdeps/unix/bsd/ptsname.c: Likewise.
42115         * sysdeps/unix/bsd/seekdir.c: Likewise.
42116         * sysdeps/unix/bsd/setegid.c: Likewise.
42117         * sysdeps/unix/bsd/seteuid.c: Likewise.
42118         * sysdeps/unix/bsd/setgid.c: Likewise.
42119         * sysdeps/unix/bsd/setrgid.c: Likewise.
42120         * sysdeps/unix/bsd/setruid.c: Likewise.
42121         * sysdeps/unix/bsd/setsid.c: Likewise.
42122         * sysdeps/unix/bsd/setuid.c: Likewise.
42123         * sysdeps/unix/bsd/sigaction.c: Likewise.
42124         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
42125         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
42126         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
42127         * sysdeps/unix/bsd/telldir.c: Likewise.
42128         * sysdeps/unix/bsd/times.c: Likewise.
42129         * sysdeps/unix/bsd/usleep.c: Likewise.
42131         * misc/Makefile (install-lib): Remove libbsd-compat.a.
42132         ($(objpfx)libbsd-compat.a): Remove rule.
42134         * include/features.h (__FAVOR_BSD): Do not define.
42135         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
42136         features conflicting with POSIX.
42137         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
42138         (_BSD_SOURCE): Remove description of not being a subset of other
42139         feature test macros.
42140         * manual/job.texi (getpgrp): Do not document BSD version.
42141         (getpgid): Do not document by reference to BSD getpgrp.
42142         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
42143         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
42144         * signal/signal.h [__FAVOR_BSD]: Likewise.
42145         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
42146         instead of making contents conditional on [__FAVOR_BSD].
42147         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
42149 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42151         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42153 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
42155         [BZ #16314]
42156         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
42157         values below 2**-450, not 2**-500.
42158         * math/auto-libm-test-in: Don't allow spurious underflow from
42159         hypot.
42160         * math/auto-libm-test-out: Regenerated.
42162         [BZ #16316]
42163         [BZ #16330]
42164         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
42165         values of ha and hb and sort them after adjusting subnormal
42166         arguments.
42167         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
42168         Likewise.
42169         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
42170         values of ea and eb and sort them after adjusting subnormal
42171         arguments.
42172         * math/auto-libm-test-in: Do not expect some hypot tests of
42173         subnormals to fail.  Add more hypot tests.
42174         * math/auto-libm-test-out: Regenerated.
42176 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42178         [BZ #13304]
42179         * sysdeps/sh/s_fma.c: New file.
42180         * sysdeps/sh/s_fmaf.c: New file.
42181         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
42182         version.
42183         * sysdeps/sh/Implies: Add sh/soft-fp.
42185 2013-12-16  Roland McGrath  <roland@hack.frob.com>
42187         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
42188         level of indirection to members `objname', `errstring', `malloced'.
42189         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
42190         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
42191         it as the __longjmp argument (just pass 1 instead).
42192         (_dl_catch_error): Initialize C with argument pointers and address of
42193         volatile local ERRCODE rather than copying values out of C at return.
42195 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
42197         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
42198         * math/auto-libm-test-out: Regenerated.
42199         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
42200         (hypot_test_data): Likewise.
42201         (pow_test_data): Likewise.
42202         (pow_tonearest_test_data): Likewise.
42203         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42204         mpfr_ff_f.
42205         (func_calc_desc): Add mpfr_ff_f union field.
42206         (FUNC_mpfr_ff_f): New macro.
42207         (test_functions): Add atan2, hypot and pow.
42208         (special_fill_min): New function.
42209         (special_fill_minus_min): Likewise.
42210         (special_fill_min_subnorm): Likewise.
42211         (special_fill_minus_min_subnorm): Likewise.
42212         (special_real_inputs): Add min, -min, min_subnorm and
42213         -min_subnorm.
42214         (calc_generic_results): Handle mpfr_ff_f.
42215         * sysdeps/i386/fpu/libm-test-ulps: Update.
42216         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42218 2013-12-16  Will Newton  <will.newton@linaro.org>
42220         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
42221         (Aligned Memory Blocks): Add documentation for aligned_alloc
42222         and suggest it as an alternative to posix_memalign.
42223         (Hooks for Malloc): Document __memalign_hook is also called
42224         for aligned_alloc.  (Summary of Malloc): Add summary for
42225         aligned alloc.  Document __memalign_hook is also called
42226         for aligned_alloc.
42228 2013-12-16  Will Newton  <will.newton@linaro.org>
42230         * manual/memory.texi (Malloc Examples): Clarify default
42231         alignment documentation.  Suggest posix_memalign rather
42232         than memalign or valloc.
42233         (Aligned Memory Blocks): Remove suggestion to use memalign
42234         or valloc.  Remove obsolete comment about BSD.
42235         Document memalign errno values and mark the function obsolete.
42236         Document posix_memalign returned error codes.  Mark valloc
42237         as obsolete.  (Hooks for Malloc): __memalign_hook is also
42238         called for posix_memalign and valloc.
42239         (Summary of Malloc): Add posix_memalign to function summary.
42240         __memalign_hook is also called for posix_memalign and valloc.
42242 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
42244         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
42245         TAYLOR_SIN.
42246         (__sin): Adjust.
42247         (__cos): Likewise.
42248         (sloww): Use mynumber union.  Expand ternary operator into
42249         if-else statements.
42250         (cslow): use mynumber union.
42252 2013-12-16  Allan McRae  <allan@archlinux.org>
42254         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
42255         * configure: Regenerated.
42257         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
42259         [BZ #14120]
42260         * configure.ac: Added --enable-maintainer-mode. Check for
42261         autoconf when enabled.
42262         * configure: Regenerated.
42264         * nscd/nscd.service: New file.
42265         * nscd/nscd.tmpfiles: New file.
42267 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
42269         [BZ #12100]
42270         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
42271         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
42272         * sysdeps/x86_64/multiarch/strstr.c: ... here.
42273         (strstr): Add __strstr_sse2_unaligned ifunc.
42274         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
42275         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
42276         (strcasestr): Remove __strcasestr_sse42 ifunc.
42277         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
42278         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
42279         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
42281 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42283         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
42284         * sysdeps/sh/bits/fenv.h: ... here.
42285         * sysdeps/sh/sh4/fpu/bits: Remove directory.
42287 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42289         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
42291         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
42292         hypotf multiarch implementations.
42293         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
42294         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
42295         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
42296         multiarch hypot for PPC64.
42297         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
42298         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
42299         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
42300         multiarch hypotf for PPC64.
42302         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
42303         modff multiarch implementations.
42304         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
42305         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
42306         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
42307         multiarch modf for PPC64.
42308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
42309         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
42310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
42311         multiarch modff for PPC64.
42313         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
42314         and logl multiarch implementations.
42315         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
42316         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
42317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
42318         multiarch logb for PPC64.
42319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
42320         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
42321         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
42322         multiarch logb for PPC64.
42323         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
42324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
42325         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
42326         multiarch logb for PPC64.
42328         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
42329         isinff multiarch implementation.
42330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
42331         file.
42332         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
42333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
42334         multiarch isinf for PPC64.
42335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
42336         file.
42337         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
42338         multiarch isinff for PPC64.
42340         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
42341         finitef multiarch implementation.
42342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
42343         file.
42344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
42345         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
42346         multiarch finite for PPC64.
42347         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
42348         file.
42349         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
42350         multiarch finitef for PPC64.
42352         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
42353         lrint multiarch implementation.
42354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
42355         file.
42356         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
42357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
42358         multiarch llrint for PPC64.
42359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
42360         multiarch lrint for PPC64.
42362         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
42363         copysignf multiarch implementation.
42364         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
42365         file.
42366         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
42367         file.
42368         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
42369         multiarch copysign for PPC64.
42370         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
42371         multiarch copysignf for PPC64.
42373         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
42374         multiarch implementation.
42375         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
42376         file.
42377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
42378         file.
42379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
42380         file.
42381         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
42382         file.
42383         multiarch llround for PPC64.
42384         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
42385         multiarch trunc for PPC64.
42386         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
42387         multiarch truncf for PPC64.
42389         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
42390         multiarch implementation.
42391         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
42392         file.
42393         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
42394         file.
42395         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
42396         file.
42397         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
42398         file.
42399         multiarch llround for PPC64.
42400         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
42401         multiarch round for PPC64.
42402         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
42403         multiarch roundf for PPC64.
42405         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
42406         multiarch implementation.
42407         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
42408         file.
42409         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
42410         file.
42411         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
42412         file.
42413         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
42414         file.
42415         multiarch llround for PPC64.
42416         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
42417         multiarch floor for PPC64.
42418         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
42419         multiarch floorf for PPC64.
42421         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
42422         multiarch implementation.
42423         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
42424         file.
42425         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
42426         file.
42427         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
42428         file.
42429         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
42430         file.
42431         multiarch llround for PPC64.
42432         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
42433         multiarch ceil for PPC64.
42434         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
42435         multiarch ceilf for PPC64.
42437         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
42438         multiarch implementation.
42439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
42440         file.
42441         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
42442         file.
42443         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
42444         file.
42445         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
42446         multiarch llround for PPC64.
42447         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
42448         multiarch lround for PPC64.
42450         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
42451         multiarch implementation.
42452         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
42453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
42454         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
42455         file.
42456         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
42457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
42458         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
42459         multiarch isnan for PPC64.
42460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
42461         multiarch isnanf for PPC64.
42463         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
42464         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
42465         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
42466         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
42467         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
42468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
42470         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
42471         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
42472         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
42473         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
42475         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
42476         multiarch implementations.
42477         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42478         (__libc_ifunc_impl_list): Likewise.
42479         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
42480         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
42481         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
42482         multiarch stpcpy for PPC64.
42484         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
42485         multiarch implementations.
42486         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42487         (__libc_ifunc_impl_list): Likewise.
42488         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
42489         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
42490         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
42491         multiarch strcpy for PPC64.
42493         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
42494         redefine function name.
42495         (_wordcopy_fwd_dest_aligned): Likewise.
42496         (_wordcopy_bwd_aligned): Likewise.
42497         (_wordcopy_bwd_dest_aligned): Likewise.
42498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
42499         multiarch implementations.
42500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42501         (__libc_ifunc_impl_list): Likewise.
42502         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
42503         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
42504         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
42505         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
42506         multiarch wcscpy for PPC64.
42508         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
42509         multiarch implementations.
42510         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42511         (__libc_ifunc_impl_list): Likewise.
42512         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
42513         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
42514         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
42515         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
42516         multiarch wcscpy for PPC64.
42518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
42519         multiarch implementations.
42520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42521         (__libc_ifunc_impl_list): Likewise.
42522         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
42523         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
42524         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
42525         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
42526         multiarch wcsrchr for PPC64.
42528         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
42529         multiarch implementations.
42530         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42531         (__libc_ifunc_impl_list): Likewise.
42532         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
42533         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
42534         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
42535         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
42536         multiarch wcschr for PPC64.
42538         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
42539         multiarch implementations.
42540         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42541         (__libc_ifunc_impl_list): Likewise.
42542         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
42543         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
42544         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
42545         multiarch strchrnul for PPC64.
42547         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
42548         implementations.
42549         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42550         (__libc_ifunc_impl_list): Likewise.
42551         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
42552         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
42553         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
42554         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
42555         strchr for PPC64.
42557         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
42558         implementations.
42559         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42560         (__libc_ifunc_impl_list): Likewise.
42561         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
42562         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
42563         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
42564         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
42565         strncmp for PPC64.
42567         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
42568         multiarch implementations.
42569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42570         (__libc_ifunc_impl_list): Likewise.
42571         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
42572         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
42573         strncasecmp for PPC64.
42574         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
42575         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
42576         multiarch strncasecmp_l for PPC64.
42578         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
42579         multiarch implementations.
42580         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42581         (__libc_ifunc_impl_list): Likewise.
42582         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
42583         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
42584         multiarch strcasecmp for PPC64.
42585         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
42586         file.
42587         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
42588         multiarch strcasecmp_l for PPC64.
42590         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
42591         implementations.
42592         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42593         (__libc_ifunc_impl_list): Likewise.
42594         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
42595         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
42596         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
42597         strnlen for PPC64.
42599         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
42600         implementations.
42601         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42602         (__libc_ifunc_impl_list): Likewise.
42603         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
42604         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
42605         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
42606         strlen for PPC64.
42608         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
42609         implementations.
42610         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42611         (__libc_ifunc_impl_list): Likewise.
42612         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
42613         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
42614         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
42615         rawmemrchr for PPC64.
42617         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
42618         implementation.
42619         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42620         (__libc_ifunc_impl_list): Likewise.
42621         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
42622         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
42623         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
42624         memrchr for PPC64.
42626         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
42627         implementation.
42628         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42629         (__libc_ifunc_impl_list): Likewise.
42630         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
42631         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
42632         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
42633         memchr for PPC64.
42635         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
42636         implementation.
42637         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42638         (__libc_ifunc_impl_list): Likewise.
42639         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
42640         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
42641         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
42642         mempcpy for PPC64.
42644         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
42645         avoid cretion of __bzero symbol.
42646         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
42647         Likewise.
42648         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
42649         Likewise.
42650         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
42651         Likewise.
42652         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
42653         multiarch implementations.
42654         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42655         (__libc_ifunc_impl_list): Likewise.
42656         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
42657         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
42658         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
42659         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
42660         bzero for PPC32.
42661         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
42662         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
42663         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
42664         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
42665         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
42666         memset for PPC64.
42667         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
42669         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
42670         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
42671         implementations.
42672         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
42673         (__libc_ifunc_impl_list): Likewise.
42674         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
42675         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
42676         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
42677         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
42678         memcmp for PPC64.
42680         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
42681         multiarch for POWER/PPC64.
42682         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
42683         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
42684         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
42685         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
42686         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
42687         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
42688         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
42689         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
42690         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
42691         memcpy for PPC64.
42693         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
42694         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
42695         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
42696         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
42697         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
42698         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
42699         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
42700         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
42701         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
42702         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
42703         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
42704         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
42705         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
42706         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
42707         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
42708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
42709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
42710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
42711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
42712         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
42713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
42714         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
42716 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
42718         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
42720 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
42722         * benchtests/Makefile (bench): Add exp2 and log2.
42723         (LDLIBS-bench-exp2): Add -lm.
42724         (LDLIBS-bench-log2): Likewise.
42725         * benchtests/exp2-inputs: New inputs file.
42726         * benchtests/log2-inputs: New inputs file.
42727         * benchtests/log-inputs: Add new inputs.
42728         * benchtests/tan-inputs: Likewise.
42730 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42732         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
42733         definition...
42734         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
42735         (csloww2): ... from here.
42737         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
42738         instead of structures.
42739         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
42740         (POLYNOMIAL): Likewise.
42741         (TAYLOR_SLOW): Likewise.
42742         (__sin): Likewise.
42743         (__cos): Likewise.
42744         (slow1): Likewise.
42745         (slow2): Likewise.
42746         (sloww): Likewise.
42747         (sloww1); Likewise.
42748         (sloww2): Likewise.
42749         (bsloww1): Likewise.
42750         (bsloww2): Likewise.
42751         (cslow2): Likewise.
42752         (csloww): Likewise.
42753         (csloww1): Likewise.
42754         (csloww2): Likewise.
42756 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
42758         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
42759         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
42760         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
42761         * malloc/hooks.c (realloc_check): Likewise.
42763         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
42764         * malloc/arena.c: Remove PER_THREAD conditional.
42765         [!PER_THREAD]: Remove code.
42766         (ptmalloc_unlock_all2): Likewise.
42767         (ptmalloc_init): Likewise.
42768         (_int_new_arena): Likewise.
42769         (arena_get2): Likewise.
42770         * malloc/hooks.c (__malloc_get_state): Likewise.
42771         (__malloc_set_state): Likewise.
42772         * malloc/malloc.c: Likewise.
42773         (struct malloc_state): Likewise.
42774         (struct malloc_par): Likewise.
42775         (__libc_realloc): Likewise.
42776         (__libc_mallopt): Likewise.
42778 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42780         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
42782 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
42784         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
42785         macro to a function.  Check for zero perturb_byte.
42786         (_int_malloc, _int_free): Remove zero perturb_byte checks.
42788         * malloc/malloc.c: (force_reg): Remove.
42789         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
42790         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
42791         force_reg by atomic_forced_read.
42792         * malloc/arena.c (ptmalloc_init): Likewise.
42793         * malloc/hooks.c (top_check): Likewise.
42795 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42797         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
42799 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
42801         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42803 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
42805         * math/auto-libm-test-in: Add tests of lgamma.
42806         * math/auto-libm-test-out: Regenerated.
42807         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
42808         (M_LOG_2_SQRT_PIl): Likewise.
42809         (lgamma_test_data): Use AUTO_TESTS_f_f1.
42810         * math/gen-auto-libm-tests.c (func_calc_method): Add value
42811         mpfr_f_f1.
42812         (func_calc_desc): Add mpfr_f_f1 union field.
42813         (ARGS1): New macro.
42814         (ARGS2): Likewise.
42815         (ARGS3): Likewise.
42816         (ARGS4): Likewise.
42817         (RET1): Likewise.
42818         (RET2): Likewise.
42819         (CALC): Likewise.
42820         (FUNC): Likewise.
42821         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
42822         (test_functions): Add lgamma.
42823         (calc_generic_results): Handle mpfr_f_f1.
42824         * sysdeps/i386/fpu/libm-test-ulps: Update.
42825         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42827 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42829         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
42830         __mpn_add_n for PowerPC64/POWER7.
42831         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
42832         __mpn_sub_n for PowerPC64/POWER7.
42834         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
42835         __mpn_addmul_1 for PowerPC64.
42836         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
42837         __mpn_submul_1 for PowerPC64.
42838         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
42839         for PowerPC64.
42840         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
42841         for PowerPC64.
42843 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
42845         [BZ #15089]
42846         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
42848 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42850         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
42852         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
42853         add multiarch folders.
42854         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
42855         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
42856         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
42857         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
42858         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
42859         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
42860         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
42861         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
42862         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
42863         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
42864         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
42865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
42866         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
42867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
42868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
42869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
42870         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
42872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42873         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
42874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
42875         New file.
42876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
42877         New file.
42878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
42879         multiarch __ieee754_hypot for PowerPC32.
42880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
42881         New file.
42882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
42883         New file.
42884         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
42885         multiarch __ieee754_hypotf for PowerPC32.
42887         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
42888         long_double_symbol only if __logbl is defined.
42889         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
42890         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
42891         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
42892         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
42893         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
42894         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
42895         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
42896         path for implementation.
42897         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
42898         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
42899         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
42900         logb, and logbl multiarch implementations for PowerPC32.
42901         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
42902         file.
42903         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
42904         file.
42905         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
42906         multiarch logb for PowerPC32.
42907         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
42908         file.
42909         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
42910         file.
42911         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
42912         multiarch logbf for PowerPC32.
42913         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
42914         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
42915         file.
42916         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
42917         multiarch logbl implementation for PowerPC32.
42919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
42920         and modff multiarch implementations.
42921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
42922         New file.
42923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
42924         New file.
42925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
42926         multiarch modf for PowerPC32.
42927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
42928         New file.
42929         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
42930         New file.
42931         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
42932         multiarch modff for PowerPC32.
42934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
42935         and lrintf multiarch implementations.
42936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
42937         New file.
42938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
42939         New file.
42940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
42941         multiarch lrint for PowerPC32.
42942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
42943         file: multiarch lrintf for PowerPC32.
42945         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
42946         and lroundf multiarch implementations.
42947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
42948         New file.
42949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
42950         New file.
42951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
42952         New file.
42953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
42954         multiarch lround for PowerPC32.
42955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
42956         file: multiarch lroundf for PowerPC32.
42958         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
42959         copysign and copysignf multiarch implementations.
42960         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
42961         New file.
42962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
42963         New file.
42964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
42965         file: multiarch copysign for PowerPC32.
42966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
42967         file: multiarch copysignf for PowerPC32.
42969         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
42970         and truncf multiarch implementations.
42971         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
42972         New file.
42973         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
42974         file.
42975         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
42976         multiarch trunc for PowerPC32.
42977         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
42978         New file.
42979         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
42980         New file.
42981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
42982         multiarch truncf for PowerPC32.
42984         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
42985         and roundf multiarch implementations.
42986         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
42987         New file.
42988         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
42989         file.
42990         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
42991         multiarch round for PowerPC32.
42992         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
42993         New file.
42994         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
42995         New file.
42996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
42997         multiarch roundf for PowerPC32.
42999         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
43000         and floorf multiarch implementations.
43001         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
43002         New file.
43003         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
43004         file.
43005         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
43006         multiarch floor for PowerPC32.
43007         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
43008         New file.
43009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
43010         New file.
43011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
43012         multiarch floorf for PowerPC32.
43014         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
43015         and ceilf multiarch implementations.
43016         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
43017         New file.
43018         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
43019         file.
43020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
43021         multiarch ceil for PowerPC32.
43022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
43023         New file.
43024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
43025         file.
43026         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
43027         multiarch ceilf for PowerPC32.
43029         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
43030         is defined.
43031         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
43032         FINITEF is defined.
43033         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
43034         and finitef multiarch implementations.
43035         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
43036         New file.
43037         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
43038         file.
43039         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
43040         multiarch finite for PowerPC32.
43041         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
43042         New file.
43043         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
43044         file: multiarch finitef for PowerPC32.
43046         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
43047         and isinff multiarch implementations.
43048         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
43049         file.
43050         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
43051         file.
43052         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
43053         multiarch isinf for PowerPC32.
43054         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
43055         New file.
43056         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
43057         multiarch isinff for PowerPC32.
43059         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
43060         alias when __isnan is defined.
43061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
43062         and isnanf multiarch implementations.
43063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
43064         file.
43065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
43066         file.
43067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
43068         file.
43069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
43070         file.
43071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
43072         multiarch isnan for PowerPC32.
43073         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
43074         New file.
43075         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
43076         New file.
43077         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
43078         multiarch isnanf for PowerPC32.
43080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
43081         and sqrtf multiarch implementations.
43082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
43083         file.
43084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
43085         file.
43086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
43087         multiarch sqrt for PowerPC32.
43088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
43089         file.
43090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
43091         file.
43092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
43093         multiarch sqrtf for PowerPC32.
43095         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
43096         and llroundf multiarch implementations.
43097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
43098         New file.
43099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
43100         New file.
43101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
43102         New file.
43103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
43104         file: multiarch llround for PowerPC32.
43105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
43106         file: multiarch llroundf for PowerPC32.
43108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
43109         multiarch PowerPC32 fpu implementations.
43110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
43111         New file.
43112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
43113         New file.
43114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
43115         multiarch llrint for PowerPC32.
43116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
43117         New file.
43118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
43119         New file.
43120         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
43121         file.
43123         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
43125         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
43126         file.
43127         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
43128         file.
43129         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
43130         file.
43131         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
43132         multiarch wordcopy for PPC32.
43133         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43134         wordcopy objects.
43135         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43136         (__libc_ifunc_impl_list): Likewise.
43137         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
43138         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
43139         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
43140         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
43141         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
43142         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
43144         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
43145         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
43146         file.
43147         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
43148         file.
43149         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
43150         file.
43151         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
43152         multiarch wcscpy for PPC32.
43153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
43154         multiarch objects.
43155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43156         (__libc_ifunc_impl_list): Likewise.
43157         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43158         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43159         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
43160         sysdeps/powerpc/power6/wcscpy.c.
43162         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
43163         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
43164         file.
43165         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
43166         file.
43167         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
43168         file.
43169         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
43170         multiarch wcsrchr for PPC32.
43171         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43172         multiarch objects.
43173         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43174         (__libc_ifunc_impl_list): Likewise.
43175         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
43176         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
43177         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
43178         sysdeps/powerpc/power6/wcsrchr.c.
43180         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
43181         file.
43182         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
43183         file.
43184         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
43185         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
43186         multiarch wcschr for PPc32.
43187         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
43188         multiarch objects.
43189         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43190         (__libc_ifunc_impl_list): Likewise.
43191         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
43192         * sysdeps/powerpc/power6/wcschr.c: ... to here.
43193         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
43194         sysdeps/powerpc/power6/wcschr.c.
43196         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
43197         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
43198         file.
43199         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
43200         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
43201         file: multiarch strchr for PPC32.
43202         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
43203         multiarch objects.
43204         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43205         (__libc_ifunc_impl_list): Likewise.
43207         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
43208         name.
43209         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
43210         file.
43211         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
43212         file.
43213         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
43214         multiarch strchrnul for PPC32.
43215         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
43216         multiarch objects.
43217         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43218         (__libc_ifunc_impl_list): Likewise.
43220         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
43221         file.
43222         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
43223         multiarch strncasecmp for PPC32.
43224         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
43225         file.
43226         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
43227         multiarch strncasecmp_l for PPC32.
43228         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
43229         strncasecmp multiarch objects.
43230         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43231         (__libc_ifunc_impl_list): Likewise.
43233         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
43234         file.
43235         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
43236         multiarch strncasecmp for PPC32.
43237         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
43238         New file.
43239         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
43240         multiarch strcasecmp_l for PPC32.
43241         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
43242         multiarch objects.
43243         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43244         (__libc_ifunc_impl_list): Likewise.
43246         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
43247         file.
43248         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
43249         file.
43250         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
43251         multiarch strncmp for PPC32.
43252         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
43253         multiarch objects.
43254         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43255         (__libc_ifunc_impl_list): Likewise.
43257         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
43258         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
43259         file.
43260         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
43261         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
43262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
43263         multiarch objects.
43264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43265         (__libc_ifunc_impl_list): Likewise.
43267         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
43268         file.
43269         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
43270         file.
43271         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
43272         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
43273         multiarch objects.
43274         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43275         (__libc_ifunc_impl_list): Likewise.
43277         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
43278         file.
43279         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
43280         file.
43281         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
43282         multiarch rawmemchr for PPC32.
43283         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
43284         multiarch objects.
43285         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43286         (__libc_ifunc_impl_list): Likewise.
43288         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
43289         file.
43290         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
43291         file.
43292         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
43293         file: memrchr multiarch for PPC32.
43294         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
43295         multiarch objects.
43296         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
43297         (__libc_ifunc_impl_list): Likewise.
43299         * string/memchr.c (__memchr): Using macro to redefine symbol name.
43300         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
43301         file.
43302         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
43303         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
43304         multiarch memchr for PPC32.
43305         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
43306         multiarch objects.
43307         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43308         (__libc_ifunc_impl_list): Likewise.
43310         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
43311         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
43312         file.
43313         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
43314         file.
43315         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
43316         file: multiarch mempcpy for PPC32.
43317         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
43318         multiarch objects.
43319         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43320         (__libc_ifunc_impl_list): Likewise.
43322         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
43323         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
43324         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
43325         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
43326         multiarch bzero for PPC32.
43327         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
43328         file.
43329         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
43330         file.
43331         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
43332         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
43333         file: multiarch memset for PPC32.
43334         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
43335         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
43336         memset multiarch objects.
43337         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43338         (__libc_ifunc_impl_list): Likewise.
43340         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
43341         file.
43342         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
43343         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
43344         memcmp for PPC32.
43345         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
43346         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
43347         multiarch objects.
43348         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43349         (__libc_ifunc_impl_list): Likewise.
43351         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
43352         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
43353         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
43354         file.
43355         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
43356         file.
43357         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
43358         file.
43359         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
43360         multiarch memcpy for PPC32.
43361         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
43362         multiarch objects.
43363         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
43364         (__libc_ifunc_impl_list): Likewise.
43366         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
43367         support multiarch for POWER/PPC32.
43368         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
43369         Likewise.
43370         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
43371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
43372         Implies file to make multiarch folder appers before the fpu and
43373         default folder for power4 configuration.
43375 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
43377         * scripts/bench.pl: Append volatile keyword to type.
43379 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
43381         * sysdeps/sh/sotruss-lib.c: New file.
43382         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
43384 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43386         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43388 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
43390         [BZ #6810]
43391         * math/w_tgamma.c: Include <errno.h>.
43392         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
43393         * math/w_tgammaf.c: Include <errno.h>.
43394         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
43395         * math/w_tgammal.c: Include <errno.h>.
43396         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
43397         * math/auto-libm-test-in: Do not allow missing errno on tgamma
43398         underflow.  Add more tgamma tests.
43399         * math/auto-libm-test-out: Regenerated.
43400         * sysdeps/i386/fpu/libm-test-ulps: Update.
43401         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43403         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
43404         sin, sinh, tan, tanh, tgamma, y0 and y1.
43405         * math/auto-libm-test-out: Regenerated.
43406         * math/libm-test.inc (TEST_COND_x86_64): New macro.
43407         (TEST_COND_x86): Likewise.
43408         (M_E2l): Remove macro.
43409         (M_E3l): Likewise.
43410         (M_2_SQRT_PIl): Likewise.
43411         (M_SQRT_PIl): Likewise.
43412         (M_1_DIV_El): Likewise.
43413         (log_test_data): Use AUTO_TESTS_f_f.
43414         (log10_test_data): Likewise.
43415         (log1p_test_data): Likewise.
43416         (log2_test_data): Likewise.
43417         (sin_test_data): Likewise.
43418         (sin_tonearest_test_data): Likewise.
43419         (sin_towardzero_test_data): Likewise.
43420         (sin_downward_test_data): Likewise.
43421         (sin_upward_test_data): Likewise.
43422         (sinh_test_data): Likewise.
43423         (sinh_tonearest_test_data): Likewise.
43424         (sinh_towardzero_test_data): Likewise.
43425         (sinh_downward_test_data): Likewise.
43426         (sinh_upward_test_data): Likewise.
43427         (tan_test_data): Likewise.
43428         (tan_tonearest_test_data): Likewise.
43429         (tan_towardzero_test_data): Likewise.
43430         (tan_downward_test_data): Likewise.
43431         (tan_upward_test_data): Likewise.
43432         (tanh_test_data): Likewise.
43433         (tgamma_test_data): Likewise.
43434         (y0_test_data): Likewise.
43435         (y1_test_data): Likewise.
43436         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
43437         (special_real_inputs): Add pi/4.
43438         * sysdeps/i386/fpu/libm-test-ulps: Update.
43439         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43441 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43443         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
43444         "longjmp_target" static probes.
43445         (__longjmp): Rename to __longjmp_symbol.
43446         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
43447         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
43448         on which longjmp to generate.
43449         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
43450         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
43451         probe.
43452         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43453         (__sigjmp_save): Rename to __sigjmp_save_symbol.
43454         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43455         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
43456         and __sigjmp_save_symbol based on which sigsetjmp to generated.
43457         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
43458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
43459         __longjmp_symbol based on which __longjmp to generate.
43460         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
43461         probe.
43462         (setjmp): Rename to setjmp_symbol.
43463         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43464         (_setjmp): Rename to _setjmp_symbol.
43465         (__sigsetjmp): Rename to __sigsetjmp_symbol.
43466         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
43467         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
43468         which setjmp to generate.
43469         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
43470         "longjmp_target" static probes.
43472 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
43474         * benchtests/README: Add note about output arguments.
43475         * benchtests/bench-sincos.c: Remove file.
43476         * benchtests/sincos-inputs: New file.
43477         * scripts/bench.pl: Identify output arguments and define
43478         static variables for them.
43480         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
43482         [BZ #15941]
43483         * Makefile (INSTALL): Add install-plain.texi as the primary
43484         dependency.
43485         * manual/install-plain.texi: New file.
43486         * manual/install.texi: Include node directive only for
43487         non-plaintext output.
43489 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
43491         * stdlib/longlong.h: Update from GCC.
43493         [BZ #6807]
43494         [BZ #15901]
43495         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
43496         * math/w_j0f.c (y0f): Likewise.
43497         * math/w_j0l.c (__y0l): Likewise.
43498         * math/w_j1.c (y1): Likewise.
43499         * math/w_j1f.c (y1f): Likewise.
43500         * math/w_j1l.c (__y1l): Likewise.
43501         * math/w_jn.c (yn): Likewise.
43502         * math/w_jnf.c (ynf): Likewise.
43503         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
43504         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
43505         value for Bessel function domain errors outside _SVID_ mode.
43506         Adjust sign of return value for yn (negative integer, 0).
43507         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
43508         by zero in return for negative x and set sign appropriately for
43509         negative n.
43510         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
43511         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
43512         * math/libm-test.inc (y0_test_data): Add more tests and adjust
43513         expectations in error cases.
43514         (y1_test_data): Likewise.
43515         (yn_test_data): Likewise.
43516         * sysdeps/i386/fpu/libm-test-ulps: Update.
43517         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43519 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43521         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
43522         "64" to "64-v1".  Add "64-v2".
43523         (abi-64-options): Rename to ...
43524         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
43525         (abi-64-condition): Rename to ...
43526         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
43527         (abi-64-ld-soname): Rename to ...
43528         (abi-64-v1-ld-soname): ... this.
43529         (abi-64-v2-options): Define.
43530         (abi-64-v2-condition): Likewise.
43531         (abi-64-v2-ld-soname): Likewise.
43532         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
43533         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
43534         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
43535         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
43536         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
43538 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43539             Alan Modra  <amodra@gmail.com>
43541         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
43542         New versions for use with the ELFv2 ABI.
43543         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
43544         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
43545         declaration.
43546         (struct La_ppc64v2_retval): Likewise.
43547         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
43548         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
43549         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
43550         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
43551         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
43552         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
43553         Do not save or restore CR.
43554         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
43555         (_dl_profile_resolve): Do no save or restore CR.  Support extended
43556         return values for ELFv2 ABI.  Fix location of FPR return registers.
43557         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
43558         updated values for _CALL_ELF == 2.
43559         (La_regs, La_retval, int_retval): Likewise.
43561 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43563         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
43564         (FRAME_MIN_SIZE_PARM): Likewise.
43565         (FRAME_BACKCHAIN): Likewise.
43566         (FRAME_CR_SAVE): Likewise.
43567         (FRAME_LR_SAVE): Likewise.
43568         (FRAME_TOC_SAVE): Likewise.
43569         (FRAME_PARM_SAVE): Likewise.
43570         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
43571         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
43572         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43573         (call_mcount_parm_offset): New macro.
43574         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
43575         (PROF): Use symbolic stack frame offsets.
43576         (TAIL_CALL_SYSCALL_ERROR): Likewise.
43577         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
43578         Redefine in terms of FRAME_MIN_SIZE.
43579         (_dl_runtime_resolve): Use symbolic stack frame offsets.
43580         (_dl_profile_resolve): Likewise.  Update comment.
43581         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
43582         symbols stack frame offsets.
43583         (__sigsetjmp): Likewise.
43584         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
43585         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
43586         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
43587         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
43589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
43590         (FRAME_BACKCHAIN): Remove.
43591         (FRAME_CR_SAVE): Likewise.
43592         (FRAME_LR_SAVE): Likewise.
43593         (FRAME_COMPILER_DW): Likewise.
43594         (FRAME_LINKER_DW): Likewise.
43595         (FRAME_TOC_SAVE): Likewise.
43596         (FRAME_PARM_SAVE): Likewise.
43597         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
43598         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
43599         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
43600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
43601         (CHECK_SP): Use symbolic stack frame offsets.
43602         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
43603         zone" instead of caller's parameter save area for temp storage.
43604         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
43605         Likewise.  Also, use symbolic stack frame offsets.
43606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
43607         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
43608         our own stack frame instead of the caller's.
43609         (__socket): Use symbolic stack frame offsets.
43611 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43612             Alan Modra  <amodra@gmail.com>
43614         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
43615         Define.
43616         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
43617         (PPC64_LOCAL_ENTRY_OFFSET): Define.
43618         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
43619         New function.
43620         (elf_machine_fixup_plt): Call it.
43621         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
43622         reloc arguments.
43623         (elf_machine_rela): Update call to elf_machine_plt_conflict.
43624         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43625         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
43626         r2 before calling target.
43628 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43629             Alan Modra  <amodra@gmail.com>
43631         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
43632         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
43633         versions of macros to support ELFv2 ABI.
43634         (LOCALENTRY): New macro.
43635         (ENTRY, EALIGN): Use it.
43636         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
43637         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
43638         fall through into ENTRY entry point.
43639         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
43640         Only define if _CALL_ELF != 2.
43642         (elf_machine_matches_host): Verify ABI version matches.
43643         (RTLD_START): Use LOCALENTRY.
43644         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
43645         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
43646         (PLT_ENTRY_WORDS): New macro.
43647         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
43648         (elf_machine_runtime_setup): Support ELFv2 ABI.
43649         (elf_machine_fixup_plt): Likewise.
43650         (elf_machine_plt_conflict): Likewise.
43651         (resolve_ifunc): Likewise.
43652         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
43653         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
43654         Likewise.
43655         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
43656         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
43657         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43658         (makecontext): Support ELFv2 ABI.
43659         * elf/elf.h (EF_PPC64_ABI): Define.
43661 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43663         * sysdeps/powerpc/powerpc64/sysdep.h
43664         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
43665         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
43666         (ENTRY) [ASSEMBLER]: ... but instead here ...
43667         (EALIGN) [ASSEMBLER]: ... and here.
43668         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
43669         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
43670         (ENTRY_2) [!ASSEMBLER]: Use it.
43671         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
43672         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
43673         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
43674         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
43675         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
43676         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
43677         Use PPC64_LOAD_FUNCPTR.
43679         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
43681 2013-12-04  Alan Modra  <amodra@gmail.com>
43683         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
43684         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
43685         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
43686         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
43688         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
43689         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
43690         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
43691         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
43692         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
43693         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
43695 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
43697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
43698         (__makecontext): Fix incorrect CFI when backtracing out of
43699         context created via makecontext.
43700         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
43701         (__setcontext): Fix incorrect CFI during switch to new context.
43702         (__novec_setcontext): Likewise.
43704 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43706         [BZ #4772]
43707         * time/strptime_l.c (__strptime_internal): Allow modifiers
43708         in strptime.
43709         * time/tst-strptime.c (day_tests): Add testcase.
43711 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
43713         * scripts/bench.pl: Skip over blank lines.
43715 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
43717         [BZ #926]
43718         * manual/time.texi (Calendar Time): Clarify what timezone functions
43719         use.
43721 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43723         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43725 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
43727         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
43728         implementation.
43729         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
43730         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
43731         * debug/memset_chk.c (__memset_chk): Likewise.
43732         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
43733         * debug/strncpy_chk.c: Likewise.
43735 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43737         [BZ #15268]
43738         [BZ #15425]
43739         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
43740         (__ieee754_exp): For possibly underflowing results, check size of
43741         result and force underflow exception if required.
43742         * math/auto-libm-test-in: Add more tests of exp.
43743         * math/auto-libm-test-out: Regenerated.
43744         * sysdeps/i386/fpu/libm-test-ulps: Update.
43745         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43747         [BZ #16283]
43748         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
43749         * math/w_exp2f.c (__exp2f): Likewise.
43750         * math/w_exp2l.c (__exp2l): Likewise.
43751         * math/auto-libm-test-in: Do not allow missing errno on exp2
43752         underflow.
43753         * math/auto-libm-test-out: Regenerated.
43755 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
43757         [BZ #16274]
43758         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
43759         handle filename validation.
43760         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
43761         (do_open): Delete.
43763 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
43765         [BZ #6786]
43766         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
43767         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
43768         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
43769         <float.h>.
43770         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
43771         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
43772         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43773         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
43774         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43775         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
43776         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
43777         * math/auto-libm-test-in: Don't allow missing errno from erfc.
43778         Add more erfc tests.
43779         * math/auto-libm-test-out: Regenerated.
43780         * sysdeps/i386/fpu/libm-test-ulps: Update.
43781         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43783         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
43784         exp2, expm1, j0 and j1.
43785         * math/auto-libm-test-out: Regenerated.
43786         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
43787         (erfc_test_data): Likewise.
43788         (exp_test_data): Likewise.
43789         (exp_tonearest_test_data): Likewise.
43790         (exp_towardzero_test_data): Likewise.
43791         (exp_downward_test_data): Likewise.
43792         (exp_upward_test_data): Likewise.
43793         (exp10_test_data): Likewise.
43794         (exp2_test_data): Likewise.
43795         (expm1_test_data): Likewise.
43796         (j0_test_data): Likewise.
43797         (j1_test_data): Likewise.
43798         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
43799         (input_flag_type): Add flag_xfail_rounding.
43800         (input_flags): Add xfail-rounding.
43801         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
43802         (output_for_one_input_case): Handle flag_xfail_rounding.
43803         * sysdeps/i386/fpu/libm-test-ulps: Update.
43804         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43806 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
43808         [BZ #16289]
43809         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
43810         division by 0.
43812 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
43814         [BZ #16195]
43815         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
43816         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
43817         (STAP_PROBE0): New macro.
43818         (STAP_PROBE1): Likewise.
43819         (STAP_PROBE2): Likewise.
43820         (STAP_PROBE3): Likewise.
43821         (STAP_PROBE4): Likewise.
43823 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
43825         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
43827 2013-12-02  Steve Ellcey  <sellcey@mips.com>
43829         * benchtests/Makefile (bench): Add sqrt.
43830         (LDLIBS-bench-sqrt): New.
43831         * benchtests/sqrt-input: New.
43833 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
43835         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
43836         (GAIH_EAI): Likewise.
43837         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
43838         (gaih_inet): Likewise.
43839         (getaddrinfo): Don't use GAIH_EAI.
43841         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
43842         (struct gaih): Remove definition.
43844 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
43846         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
43847         Use HERRNOP directly.
43849 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43851         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43853 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
43855         * math/gen-auto-libm-tests.c (test_functions): Add more
43856         single-argument functions.
43857         (special_fill_pi_2): New function.
43858         (special_fill_minus_pi_2): Likewise.
43859         (special_fill_pi_6): Likewise.
43860         (special_fill_minus_pi_6): Likewise.
43861         (special_fill_pi_3): Likewise.
43862         (special_fill_2pi_3): Likewise.
43863         (special_fill_e): Likewise.
43864         (special_fill_1_e): Likewise.
43865         (special_fill_e_minus_1): Likewise.
43866         (special_real_inputs): Add more special inputs.
43867         (output_for_one_input_case): Do not require ERANGE on underflow to
43868         zero if round-to-nearest result does not underflow to zero, unless
43869         exact results required.
43870         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
43871         atan, atanh, cbrt, cos and cosh.
43872         * math/auto-libm-test-out: Regenerated.
43873         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
43874         (acos_tonearest_test_data): Likewise.
43875         (acos_towardzero_test_data): Likewise.
43876         (acos_downward_test_data): Likewise.
43877         (acos_upward_test_data): Likewise.
43878         (acosh_test_data): Likewise.
43879         (asin_test_data): Likewise.
43880         (asin_tonearest_test_data): Likewise.
43881         (asin_towardzero_test_data): Likewise.
43882         (asin_upward_test_data): Likewise.
43883         (asinh_test_data): Likewise.
43884         (atan_test_data): Likewise.
43885         (atanh_test_data): Likewise.
43886         (cbrt_test_data): Likewise.
43887         (cos_test_data): Likewise.
43888         (cos_tonearest_test_data): Likewise.
43889         (cos_towardzero_test_data): Likewise.
43890         (cos_downward_test_data): Likewise.
43891         (cos_upward_test_data): Likewise.
43892         (cosh_test_data): Likewise.
43893         (cosh_tonearest_test_data): Likewise.
43894         (cosh_towardzero_test_data): Likewise.
43895         (cosh_downward_test_data): Likewise.
43896         (cosh_upward_test_data): Likewise.
43897         * sysdeps/i386/fpu/libm-test-ulps: Update.
43898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43900 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
43902         [BZ #6787]
43903         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
43904         * math/w_exp10f.c (__exp10f): Likewise.
43905         * math/w_exp10l.c (__exp10l): Likewise.
43906         * math/libm-test.inc (exp10_test_data): Add more tests and expect
43907         errno settings in existing tests.
43909         [BZ #14032]
43910         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
43911         precision control set to double precision.
43912         * sysdeps/i386/fpu/w_sqrt.c: New file.
43913         * math/auto-libm-test-in: Add more tests.
43914         * math/auto-libm-test-out: Update.
43916         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
43917         (sqrt_test_tonearest): New function.
43918         (sqrt_towardzero_test_data): New variable.
43919         (sqrt_test_towardzero): New function.
43920         (sqrt_downward_test_data): New variable.
43921         (sqrt_test_downward): New function.
43922         (sqrt_upward_test_data): New variable.
43923         (sqrt_test_upward): New function.
43924         (main): Call the new functions.
43926         * math/gen-auto-libm-tests.c: New file.
43927         * math/auto-libm-test-in: Likewise.
43928         * math/auto-libm-test-out: New generated file.
43929         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
43930         variables.
43931         (%beautify): Add generated representations of zero.
43932         (top level): Set $auto_input and call parse_auto_input.
43933         (beautify): Remove trailing "f" from hex float constants.
43934         (parse_args): Handle XFAIL_TEST.
43935         (convert_condition): New function.
43936         (or_value): Likewise.
43937         (or_cond_value): Likewise.
43938         (generate_testfile): Handle AUTO_TESTS_* lines.
43939         (parse_auto_input): New function.
43940         * math/libm-test.inc (XFAIL_TEST): New macro.
43941         (ERRNO_UNCHANGED): Update value.
43942         (ERRNO_EDOM): Likewise.
43943         (ERRNO_ERANGE): Likewise.
43944         (IGNORE_RESULT): Likewise.
43945         (TEST_COND_flt_32): New macro.
43946         (TEST_COND_dbl_64): Likewise.
43947         (TEST_COND_ldbl_96_intel): Likewise.
43948         (TEST_COND_ldbl_96_m68k): Likewise.
43949         (TEST_COND_ldbl_128): Likewise.
43950         (TEST_COND_ldbl_128ibm): Likewise.
43951         (TEST_COND_long32): Likewise.
43952         (TEST_COND_long64): Likewise.
43953         (TEST_COND_before_rounding): Likewise.
43954         (TEST_COND_after_rounding): Likewise.
43955         (enable_test): Handle XFAIL_TEST flag.
43956         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
43957         with finite results.
43958         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
43959         auto-libm-test-out.
43961 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
43962             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43964         [BZ #16214]
43965         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
43966         __tls_get_addr_internal instead of __tls_get_offset in order to
43967         avoid GOT pointer dependency.  Make rtld export
43968         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
43969         __tls_get_addr since we are a __tls_get_offset platform.
43970         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
43971         GOT pointer being set up before.
43972         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
43974 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
43976         * manual/math.texi (Errors in Math Functions): Document accuracy
43977         goals.
43979         [BZ #15004]
43980         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
43981         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
43982         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
43983         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
43984         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
43985         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
43986         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
43987         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
43988         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
43989         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
43990         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
43991         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
43992         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
43993         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
43994         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
43995         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
43997         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
43998         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
43999         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
44000         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
44001         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
44002         Likewise.
44003         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
44004         Likewise.
44005         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
44006         Likewise.
44007         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
44008         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
44009         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
44010         atomic-feupdateenv and flt-rounds.
44011         * sysdeps/powerpc/nofpu/Versions (libc): Add
44012         __atomic_feholdexcept, __atomic_feclearexcept,
44013         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
44014         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
44015         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
44016         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
44017         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
44018         here.
44019         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
44020         Update.
44022         * manual/arith.texi (FP Exceptions): Document that exceptions may
44023         not be raised when matherr is used.
44024         (Math Error Reporting): Document overflow in directed rounding
44025         modes.  Document that errno may not be set when finite values are
44026         returned on overflow.  Document intent to set errno on underflow
44027         only for underflow to zero.
44029         [BZ #16271]
44030         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
44031         round-to-nearest then adjust result for other rounding modes.
44032         * include/fenv.h (fegetround): Use libm_hidden_proto.
44033         * math/fegetround.c (fegetround): Use libm_hidden_def.
44034         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
44035         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
44036         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44037         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
44038         Likewise.
44039         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
44040         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
44041         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
44042         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
44044 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44046         [BZ #16077]
44047         * nss/Versions (libnss_files): Add
44048         _nss_files_gethostbyname3_r.
44049         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
44050         New function.
44051         (HOST_DB_LOOKUP): Remove macro.
44052         (_nss_files_gethostbyname_r): Implement function without the
44053         HOST_DB_LOOKUP macro.
44054         (_nss_files_gethostbyname2_r): Likewise.
44056 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
44058         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
44060 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
44062         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
44063         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
44064         warning.
44066 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44068         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
44069         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
44070         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
44071         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
44072         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
44073         __fe_nomask_env_priv and attribute_hidden.
44074         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
44075         (libc_feupdateenv_test_ppc): Likewise.
44076         (libc_feresetround_ppc): Likewise.
44077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44078         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
44079         compat_symbol macro.
44080         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44081         (__fe_nomask_env): Likewise.
44082         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
44084 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44086         * string/Makefile: Remove ifunc tests.
44087         * string/test-string.h: Define TEST_IFUNC.
44088         * string/test-bcopy-ifunc.c: Remove.
44089         * string/test-bzero-ifunc.c: Likewise.
44090         * string/test-memccpy-ifunc.c: Likewise.
44091         * string/test-memchr-ifunc.c: Likewise.
44092         * string/test-memcmp-ifunc.c: Likewise.
44093         * string/test-memcpy-ifunc.c: Likewise.
44094         * string/test-memmem-ifunc.c: Likewise.
44095         * string/test-memmove-ifunc.c: Likewise.
44096         * string/test-mempcpy-ifunc.c: Likewise.
44097         * string/test-memrchr-ifunc.c: Likewise.
44098         * string/test-memset-ifunc.c: Likewise.
44099         * string/test-rawmemchr-ifunc.c: Likewise.
44100         * string/test-stpcpy-ifunc.c: Likewise.
44101         * string/test-stpncpy-ifunc.c: Likewise.
44102         * string/test-strcasecmp-ifunc.c: Likewise.
44103         * string/test-strcasestr-ifunc.c: Likewise.
44104         * string/test-strcat-ifunc.c: Likewise.
44105         * string/test-strchr-ifunc.c: Likewise.
44106         * string/test-strchrnul-ifunc.c: Likewise.
44107         * string/test-strcmp-ifunc.c: Likewise.
44108         * string/test-strcpy-ifunc.c: Likewise.
44109         * string/test-strcspn-ifunc.c: Likewise.
44110         * string/test-strlen-ifunc.c: Likewise.
44111         * string/test-strncasecmp-ifunc.c: Likewise.
44112         * string/test-strncat-ifunc.c: Likewise.
44113         * string/test-strncmp-ifunc.c: Likewise.
44114         * string/test-strncpy-ifunc.c: Likewise.
44115         * string/test-strnlen-ifunc.c: Likewise.
44116         * string/test-strpbrk-ifunc.c: Likewise.
44117         * string/test-strrchr-ifunc.c: Likewise.
44118         * string/test-strspn-ifunc.c: Likewise.
44119         * string/test-strstr-ifunc.c: Likewise.
44121 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44123         * benchtests/Makefile: Remove ifunc tests.
44124         * benchtests/bench-string.h: Define TEST_IFUNC.
44125         * benchtests/bench-bcopy-ifunc.c: Remove.
44126         * benchtests/bench-bzero-ifunc.c: Likewise.
44127         * benchtests/bench-memccpy-ifunc.c: Likewise.
44128         * benchtests/bench-memchr-ifunc.c: Likewise.
44129         * benchtests/bench-memcmp-ifunc.c: Likewise.
44130         * benchtests/bench-memcpy-ifunc.c: Likewise.
44131         * benchtests/bench-memmem-ifunc.c: Likewise.
44132         * benchtests/bench-memmove-ifunc.c: Likewise.
44133         * benchtests/bench-mempcpy-ifunc.c: Likewise.
44134         * benchtests/bench-memrchr-ifunc.c: Likewise.
44135         * benchtests/bench-memset-ifunc.c: Likewise.
44136         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
44137         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
44138         * benchtests/bench-stpcpy-ifunc.c: Likewise.
44139         * benchtests/bench-stpncpy-ifunc.c: Likewise.
44140         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
44141         * benchtests/bench-strcasestr-ifunc.c: Likewise.
44142         * benchtests/bench-strcat-ifunc.c: Likewise.
44143         * benchtests/bench-strchr-ifunc.c: Likewise.
44144         * benchtests/bench-strchrnul-ifunc.c: Likewise.
44145         * benchtests/bench-strcmp-ifunc.c: Likewise.
44146         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
44147         * benchtests/bench-strcpy-ifunc.c: Likewise.
44148         * benchtests/bench-strcspn-ifunc.c: Likewise.
44149         * benchtests/bench-strlen-ifunc.c: Likewise.
44150         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
44151         * benchtests/bench-strncat-ifunc.c: Likewise.
44152         * benchtests/bench-strncmp-ifunc.c: Likewise.
44153         * benchtests/bench-strncpy-ifunc.c: Likewise.
44154         * benchtests/bench-strnlen-ifunc.c: Likewise.
44155         * benchtests/bench-strpbrk-ifunc.c: Likewise.
44156         * benchtests/bench-strrchr-ifunc.c: Likewise.
44157         * benchtests/bench-strsep-ifunc.c: Likewise.
44158         * benchtests/bench-strspn-ifunc.c: Likewise.
44159         * benchtests/bench-strstr-ifunc.c: Likewise.
44161 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44163         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
44165 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
44167         * resolv/netdb.h: Use __glibc_reserved instead __unused.
44168         * rt/aio.h: Likewise.
44169         * sysdeps/gnu/bits/utmp.h: Likewise.
44170         * sysdeps/gnu/bits/utmpx.h: Likewise.
44171         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
44172         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
44173         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
44174         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
44175         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
44176         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
44177         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
44178         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
44179         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
44180         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
44181         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
44182         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
44183         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
44184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
44185         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
44186         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
44187         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
44188         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
44189         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
44190         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
44191         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
44192         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
44193         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
44194         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
44195         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
44196         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44197         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
44198         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
44199         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
44200         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
44201         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
44202         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
44203         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
44204         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
44205         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
44206         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
44207         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
44208         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
44209         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
44210         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
44211         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
44212         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
44214 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
44216         [BZ #16245]
44217         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
44218         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
44220 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
44222         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
44223         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
44224         Likewise.
44226 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44228         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
44229         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
44230         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
44231         (__fesetround): Remove define.
44232         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
44233         rounding and exceptions handling.
44234         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
44235         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
44236         (__fe_nomask_env): Likewise.
44237         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
44238         __fegetround instead of fegetround.
44239         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
44240         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
44242 2013-11-21  Roland McGrath  <roland@hack.frob.com>
44244         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
44245         it's there.
44247         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
44249 2013-11-21  Meador Inge  <meadori@codesourcery.com>
44251         [BZ #11157]
44252         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
44253         (encrypt_r): Likewise.
44254         * malloc/obstack.h (obstack_free): Likewise.
44255         * posix/unistd.h (encrypt): Likewise.
44257 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
44259         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
44260         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
44261         DL_CALL_DT_FINI() that call the functions directly.
44262         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
44263         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
44264         * elf/dl-fini.c: Likewise.
44266 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
44268         * malloc/hooks.c (memalign_check): Add alignment rounding.
44269         * malloc/malloc.c (_mid_memalign): New function.
44270         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
44271         Implement by calling _mid_memalign.
44272         * manual/probes.texi (Memory Allocation Probes): Remove
44273         memory_valloc_retry and memory_pvalloc_retry.
44275 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
44277         * locale/programs/locarchive.c (open_archive): Add const
44278         qualifier to ARCHIVEFNAME and copy default fname to
44279         DEFAULT_FNAME.
44281         [BZ #15601]
44282         * libio/tst-widetext.input: Rename Oriya to Odia.
44283         * locale/iso-639.def: Likewise.
44285         * manual/probes.texi (Mathematical Function Probes): Add
44286         documentation for sin, cos, asin and acos probes.
44287         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
44288         (__sin32): Add slowasin probe.
44289         (__cos32): Add slowacos probe.
44290         (__mpsin): Add slowsin probe.
44291         (__mpcos): Add slowcos probe.
44293 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
44295         [BZ #15483]
44296         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
44297         thread-local __sim_exceptions_thread and global
44298         __sim_exceptions_global.
44299         (__sim_disabled_exceptions): Change to thread-local
44300         __sim_disabled_exceptions_thread and global
44301         __sim_disabled_exceptions_global.
44302         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44303         and global __sim_round_mode_global.
44304         (__simulate_exceptions): Use thread-local floating-point state and
44305         set global state from it as needed.
44306         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
44307         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
44308         __sim_round_mode_thread.
44309         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
44310         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
44311         and global __sim_exceptions_global.
44312         (__sim_disabled_exceptions): Change to thread-local
44313         __sim_disabled_exceptions_thread and global
44314         __sim_disabled_exceptions_global.
44315         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
44316         and global __sim_round_mode_global.
44317         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
44318         (SIM_SET_GLOBAL): Likewise.
44319         * sysdeps/powerpc/soft-fp/sfp-machine.h
44320         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
44321         __sim_round_mode_thread.
44322         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
44323         __sim_disabled_exceptions_thread.
44324         (__sim_exceptions): Change to __sim_exceptions_thread.
44325         (__sim_disabled_exceptions): Change to
44326         __sim_disabled_exceptions_thread.
44327         (__sim_round_mode): Change to __sim_round_mode_thread.
44328         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
44329         thread-local floating-point state and set global state from it as
44330         needed.
44331         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
44332         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
44333         (__sim_disabled_exceptions): Remove extern declaration.
44334         (feenableexcept): Use thread-local floating-point state and set
44335         global state from it as needed.
44336         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
44337         extern declaration.
44338         (__sim_disabled_exceptions): Likewise.
44339         (__sim_round_mode): Likewise.
44340         (__fegetenv): Use thread-local floating-point state.
44341         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
44342         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
44343         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
44344         floating-point state and set global state from it as needed.
44345         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
44346         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
44347         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
44348         Likewise.
44349         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
44350         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
44351         Likewise.
44352         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
44353         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
44354         Use __sim_round_mode_thread.
44355         * math/test-fenv-tls.c: New file.
44356         * math/Makefile (tests): Add test-fenv-tls.
44357         ($(objpfx)test-fenv-tls): Depend on
44358         $(common-objpfx)nptl/libpthread.so.
44360 2013-11-19  Andreas Schwab  <schwab@suse.de>
44362         * locale/programs/locale.c (show_info): Decode wordarray elements.
44363         * locale/categories.def (LC_MONETARY): Add element for
44364         _NL_MONETARY_CRNCYSTR.
44365         * locale/C-monetary.c (conversion_rate): New variable.
44366         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
44367         element.
44369 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
44371         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
44372         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
44374 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
44376         * elf/Makefile (tst-auxv): New test.
44377         * elf/tst-auxv.c: New
44378         * elf/rtld.c (dl_main): Adjust AT_EXECFN
44380 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
44382         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
44383         (hidden_proto): Caller changed.
44384         (hidden_tls_proto): New macro.
44385         (libc_hidden_tls_proto): Likewise.
44386         (rtld_hidden_tls_proto): Likewise.
44387         (libm_hidden_tls_proto): Likewise.
44388         (libresolv_hidden_tls_proto): Likewise.
44389         (librt_hidden_tls_proto): Likewise.
44390         (libdl_hidden_tls_proto): Likewise.
44391         (libnss_files_hidden_tls_proto): Likewise.
44392         (libnsl_hidden_tls_proto): Likewise.
44393         (libnss_nisplus_hidden_tls_proto): Likewise.
44394         (libutil_hidden_tls_proto): Likewise.
44396 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
44398         [BZ #10253]
44399         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
44400         (decompose_rpath): Defer expansion to fillin_rpath.
44401         (_dl_init_paths): Pass linkmap to fillin_rpath.
44403 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
44405         * benchtests/Makefile: Add strsep.
44406         * benchtests/bench-strsep.c: New file: strsep benchtest.
44407         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
44409 2013-11-18  Andreas Schwab  <schwab@suse.de>
44411         * locale/programs/locale.c (show_info) [case byte]: Check for
44412         '\377' instead of '\177'.
44413         * locale/C-monetary.c (not_available): Always use "\377".
44414         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
44415         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
44416         detect unavailable sign_posn locale elements.
44417         * locale/localeconv.c (__localeconv): For grouping and
44418         mon_grouping handle "\177" and "\377" like no grouping.
44419         (INT_ELEM): New macro.  Use it to set all numeric members.
44420         * locale/programs/ld-monetary.c (monetary_read)
44421         <tok_mon_grouping>: Normalize single -1 to the empty string.
44422         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
44423         Likewise.
44425 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44427         [BZ #16055]
44428         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
44429         when we match (nil).
44430         * stdio-common/tst-sscanf.c (struct test): Add testcase.
44432 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
44434         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
44435         (NO_TEST_INLINE): Update value.
44436         (ERRNO_UNCHANGED): Likewise.
44437         (ERRNO_EDOM): Likewise.
44438         (ERRNO_ERANGE): Likewise.
44439         (IGNORE_RESULT): Likewise.
44440         (check_float_internal): Check signs of NaN results if
44441         TEST_NAN_SIGN used.
44442         (check_complex): Pass TEST_NAN_SIGN flag through to second
44443         check_float_internal call.
44444         (copysign_test_data): Add tests with quiet NaNs as second
44445         argument.  Use TEST_NAN_SIGN.
44446         (fabs_test_data): Add test of negative quiet NaN argument.  Use
44447         TEST_NAN_SIGN.
44448         (signbit_test_data): Add tests of quiet NaN argument.
44449         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
44451         * math/gen-libm-test.pl (show_exceptions): Take extra argument
44452         $ignore_result.
44453         (parse_args): Handle function results specified as IGNORE.
44454         * math/libm-test.inc (IGNORE_RESULT): New macro.
44455         (check_float_internal): Do not check numerical result if flag
44456         IGNORE_RESULT set.
44457         (check_complex): Pass through IGNORE_RESULT to second
44458         check_float_internal call.
44459         (check_int): Do not check numerical result if flag IGNORE_RESULT
44460         set.
44461         (check_long): Likewise.
44462         (check_bool): Likewise.
44463         (check_longlong): Likewise.
44464         (lrint_test_data): Add tests of infinite and NaN arguments.
44465         (lrint_tonearest_test_data): Likewise.
44466         (lrint_towardzero_test_data): Likewise.
44467         (lrint_downward_test_data): Likewise.
44468         (lrint_upward_test_data): Likewise.
44469         (llrint_test_data): Likewise.
44470         (llrint_tonearest_test_data): Likewise.
44471         (llrint_towardzero_test_data): Likewise.
44472         (llrint_downward_test_data): Likewise.
44473         (llrint_upward_test_data): Likewise.
44474         (lround_test_data): Likewise.
44475         (llround_test_data): Likewise.
44477         * math/libm-test.inc (NO_TEST_INLINE): New macro.
44478         (ERRNO_UNCHANGED): Update value.
44479         (ERRNO_EDOM): Likewise.
44480         (ERRNO_ERANGE): Likewise.
44481         (NO_TEST_INLINE_FLOAT): New macro.
44482         (NO_TEST_INLINE_DOUBLE): Likewise.
44483         (enable_test): New function.
44484         (RUN_TEST_f_f): Check enable_test before running test.
44485         (RUN_TEST_2_f): Likewise.
44486         (RUN_TEST_fff_f): Likewise.
44487         (RUN_TEST_c_f): Likewise.
44488         (RUN_TEST_f_f1): Likewise.
44489         (RUN_TEST_fF_f1): Likewise.
44490         (RUN_TEST_fI_f1): Likewise.
44491         (RUN_TEST_ffI_f1): Likewise.
44492         (RUN_TEST_c_c): Likewise.
44493         (RUN_TEST_cc_c): Likewise.
44494         (RUN_TEST_f_i): Likewise.
44495         (RUN_TEST_f_i_tg): Likewise.
44496         (RUN_TEST_ff_i_tg): Likewise.
44497         (RUN_TEST_f_b): Likewise.
44498         (RUN_TEST_f_b_tg): Likewise.
44499         (RUN_TEST_f_l): Likewise.
44500         (RUN_TEST_f_L): Likewise.
44501         (RUN_TEST_fFF_11): Likewise.
44502         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
44503         conditionals.
44504         (cosh_test_data): Likewise.
44505         (exp_test_data): Likewise.
44506         (expm1_test_data): Likewise.
44507         (hypot_test_data): Likewise.
44508         (pow_test_data): Likewise.
44509         (sinh_test_data): Likewise.
44510         (tanh_test_data): Likewise.
44511         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
44512         flags argument.
44514         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
44515         tests with quiet NaN input and output.
44516         (acosh_test_data): Likewise.
44517         (asin_test_data): Likewise.
44518         (asinh_test_data): Likewise.
44519         (atan_test_data): Likewise.
44520         (atanh_test_data): Likewise.
44521         (atan2_test_data): Likewise.
44522         (cbrt_test_data): Likewise.
44523         (cos_test_data): Likewise.
44524         (cosh_test_data): Likewise.
44525         (erf_test_data): Likewise.
44526         (erfc_test_data): Likewise.
44527         (exp_test_data): Likewise.
44528         (exp10_test_data): Likewise.
44529         (exp2_test_data): Likewise.
44530         (expm1_test_data): Likewise.
44531         (hypot_test_data): Likewise.
44532         (j0_test_data): Likewise.
44533         (j1_test_data): Likewise.
44534         (jn_test_data): Likewise.
44535         (lgamma_test_data): Likewise.
44536         (log_test_data): Likewise.
44537         (log10_test_data): Likewise.
44538         (log1p_test_data): Likewise.
44539         (log2_test_data): Likewise.
44540         (pow_test_data): Likewise.
44541         (scalb_test_data): Likewise.
44542         (sin_test_data): Likewise.
44543         (sincos_test_data): Likewise.
44544         (sinh_test_data): Likewise.
44545         (tan_test_data): Likewise.
44546         (tanh_test_data): Likewise.
44547         (tgamma_test_data): Likewise.
44548         (y0_test_data): Likewise.
44549         (y1_test_data): Likewise.
44550         (yn_test_data): Likewise.
44552         [BZ #16167]
44553         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
44554         argument being NaN and avoid computations with second argument in
44555         that case.
44556         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
44557         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
44558         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
44560 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
44562         * locale/iso-639.def: Add Chitwani Tharu (the).
44564 2013-11-14  Andreas Schwab  <schwab@suse.de>
44566         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
44567         word instead of empty string.
44569 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44572         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
44573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44574         (__fe_nomask_env): Likewise.
44576 2013-11-13  Steve Ellcey  <sellcey@mips.com>
44578         * benchtests/bench-timing.h: Include time.h.
44580 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
44582         [BZ #15997]
44583         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
44584         to 3.4.0 for x32.
44585         * sysdeps/unix/sysv/linux/configure: Regenerated.
44587 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
44589         [BZ #16151]
44590         * stdlib/strtod_l.c (round_and_return): Do not consider
44591         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
44592         exponent one less than half the least subnormal exponent.
44593         * stdlib/test-strtod-round-data: Add more tests.
44594         * stdlib/tst-strtod-round.c (tests): Regenerated.
44596 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44598         [BZ #14143]
44599         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
44600         (__fe_mask_env): Likewise.
44601         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
44602         libm_hidden_proto and add function prototype.
44603         (__fe_mask_env): Add function prototype.
44604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
44605         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
44606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
44607         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
44608         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
44609         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
44611 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44613         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
44614         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
44616 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
44618         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
44619         of htab_find_slot().
44621 2013-11-11  David S. Miller  <davem@davemloft.net>
44623         [BZ #16150]
44624         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
44625         symbol in the non-vis3 case in static builds.
44626         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
44627         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
44628         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
44629         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
44631 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
44633         [BZ #387]
44634         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
44635         it is empty.
44637 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44639         * benchtests/Makefile: Add bench-strtod.
44640         * benchtests/bench-strtod.c: New file: strtod benchtest
44642 2013-11-11  Andreas Schwab  <schwab@suse.de>
44644         [BZ #16153]
44645         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
44646         terminating NUL in key length.
44648 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44650         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
44651         Add artificial ODP entry for vDSO symbol for PPC64.
44652         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
44653         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
44655 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
44657         [BZ #15374]
44658         * nss/getent.c (services_keys): Recognize services starting with digit.
44660 2013-11-06  David S. Miller  <davem@davemloft.net>
44662         [BZ #15985]
44663         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
44664         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
44666 2013-11-06  Will Newton  <will.newton@linaro.org>
44668         * manual/memory.texi (Malloc Examples): Remove register
44669         keyword from examples.
44671 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
44673         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
44675 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
44677         [BZ #6981]
44678         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
44679         depending on [__GCC_IEC_559 > 0].
44680         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
44681         depending on [__GCC_IEC_559_COMPLEX > 0].
44683 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
44685         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
44686         to iso-639.def.
44688 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
44690         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
44692 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
44694         [BZ #16112]
44695         * malloc/malloc (malloc_info): Do not handle first bin as
44696         special case.
44698 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
44700         * locale/iso-639.def: Add Central Nahuatl (nhn).
44702 2013-11-01  Bruno Haible  <bruno@clisp.org>
44704         [BZ #7003]
44705         * manual/math.texi (BSD Random): Specify range upper bound as
44706         in POSIX.
44708 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
44710         * locale/iso-639.def: Add Meadow Mari (mhr).
44712 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
44714         [BZ #14752], [BZ #15763]
44715         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
44716         Validate name.
44717         * rt/tst_shm.c: Add test for escaping directory.
44719 2013-10-31  Andreas Schwab  <schwab@suse.de>
44721         [BZ #15917]
44722         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
44723         followed by 'x' as part of digit sequence.
44724         * stdio-common/tst-sscanf.c (double_tests2): New tests.
44726 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
44728         [BZ #16037]
44729         * configure.ac: allow GNU Make 4.0 and greater.
44730         * configure: Regenerated.
44732 2013-10-30  Will Newton  <will.newton@linaro.org>
44734         [BZ #16038]
44735         * malloc/hooks.c (memalign_check): Limit alignment to the
44736         maximum representable power of two.
44737         * malloc/malloc.c (__libc_memalign): Likewise.
44738         * malloc/tst-memalign.c (do_test): Add test for very
44739         large alignment values.
44740         * malloc/tst-posix_memalign.c (do_test): Likewise.
44742 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44744         [BZ #11087]
44745         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
44746         (munmap_chunk): Likewise.
44747         (mremap_chunk): Likewise.
44749 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
44751         [BZ #15799]
44752         * stdlib/div.c (div): Remove obsolete code.
44753         * stdlib/ldiv.c (ldiv): Likewise.
44754         * stdlib/lldiv.c (lldiv): Likewise.
44756 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
44758         [BZ #16071]
44759         * nss/nss_files/files-XXX.c (get_contents_ret): New
44760         enumerator.
44761         (get_contents): New function.
44762         (internal_getent): Use it.  Expand size of LINEBUFLEN.
44764 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
44766         * configure.in: Moved to ...
44767         * configure.ac: ... here. Change reference to configure.in
44768         to configure.ac.
44769         * sysdeps/arm/preconfigure.ac: ... here.
44770         configure.in to configure.ac.
44771         * sysdeps/gnu/configure.in: Moved to ...
44772         * sysdeps/gnu/configure.ac: ... here.
44773         * sysdeps/i386/configure.in: Moved to ...
44774         * sysdeps/i386/configure.ac: ... here.
44775         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
44776         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
44777         * sysdeps/mach/configure.in: Moved to ...
44778         * sysdeps/mach/configure.ac: ... here.
44779         * sysdeps/mach/hurd/configure.in: Moved to ...
44780         * sysdeps/mach/hurd/configure.ac: ... here.
44781         * sysdeps/powerpc/configure.in: Moved to ...
44782         * sysdeps/powerpc/configure.ac: ... here.
44783         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
44784         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
44785         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
44786         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
44787         * sysdeps/s390/s390-32/configure.in: Moved to ...
44788         * sysdeps/s390/s390-32/configure.ac: ... here.
44789         * sysdeps/s390/s390-64/configure.in: Moved to ...
44790         * sysdeps/s390/s390-64/configure.ac: ... here.
44791         * sysdeps/sh/configure.in: Moved to ...
44792         * sysdeps/sh/configure.ac: ... here.
44793         * sysdeps/sparc/configure.in: Moved to ...
44794         * sysdeps/sparc/configure.ac: ... here.
44795         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
44796         * sysdeps/unix/sysv/linux/configure.ac: ... here.
44797         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
44798         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
44799         * sysdeps/x86_64/configure.in: Moved to ...
44800         * sysdeps/x86_64/configure.ac: ... here.
44801         * sysdeps/x86_64/preconfigure.in: Moved to ...
44802         * sysdeps/x86_64/preconfigure.ac: ... here.
44803         * aclocal.m4: Change reference to configure.in to configure.ac.
44804         * config.h.in: Likewise.
44805         * manual/install.texi: Likewise.
44806         * manual/maint.texi: Likewise.
44807         * Makefile: Likewise.
44808         * malloc/Makefile: Likewise.
44809         * nscd/Makefile: Likewise.
44810         * Makeconfig: Change reference to configure.in and
44811         preconfigure.in to configure.ac and preconfigure.ac
44812         respectively.
44813         * INSTALL: Regenerated.
44814         * configure: Likewise.
44815         * sysdeps/gnu/configure: Likewise.
44816         * sysdeps/i386/configure: Likewise.
44817         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
44818         * sysdeps/mach/configure: Likewise.
44819         * sysdeps/mach/hurd/configure: Likewise.
44820         * sysdeps/powerpc/configure: Likewise.
44821         * sysdeps/powerpc/powerpc32/configure: Likewise.
44822         * sysdeps/powerpc/powerpc64/configure: Likewise.
44823         * sysdeps/s390/s390-32/configure: Likewise.
44824         * sysdeps/s390/s390-64/configure: Likewise.
44825         * sysdeps/sh/configure: Likewise.
44826         * sysdeps/sparc/configure: Likewise.
44827         * sysdeps/unix/sysv/linux/configure: Likewise.
44828         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
44829         * sysdeps/x86_64/configure: Likewise.
44830         * sysdeps/x86_64/preconfigure: Likewise.
44832 2013-10-29  Andreas Schwab  <schwab@suse.de>
44834         * stdio-common/Makefile (tst-swscanf-ENV): Define.
44836 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
44838         * benchtests/pow-inputs: Add new inputs.
44840         * benchtests/exp-inputs: Add new inputs.
44842         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
44843         conditional check for return value.
44844         (__cos32): Likewise.
44846 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44848         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
44849         to provide a boost for large inputs with word alignment.
44850         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
44851         implementation based on optimized PPC64 strcpy.
44852         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
44853         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
44854         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
44855         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
44857 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44859         [BZ #2801]
44860         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
44862 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44864         [BZ #14876]
44865         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
44866         * time/tst-strptime.c (day_tests): Add testcase.
44868 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
44870         [BZ #14029]
44871         * manual/pattern.texi: Acknowledge that fnmatch can fail.
44873 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
44875         [BZ #16074]
44876         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
44877         MAP_FAILED on error.
44879 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
44881         [BZ #16072]
44882         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
44883         heap for large requests.
44885 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
44887         [BZ #9954]
44888         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
44889         result if the result has no associated interface.
44890         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
44891         interface for all 127.X.Y.Z addresses.
44893 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
44895         * locale/iso-639.def: Add Ligurian (lij)
44897 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
44899         [BZ #15825]
44900         * sunrpc/rpc_main.c: Document rpcgen -5.
44902 2013-10-19  Michael Stahl  <mstahl@redhat.com>
44904         * elf/rtld.c (do_preload): Print the reason why preloading failed.
44906 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44908         [BZ #10278]
44909         * posix/glob.c: Match only directories when trailing slash is present.
44910         * posix/tst-gnuglob.c (my_opendir): Do not open files.
44911         (main): Add testcase.
44913 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
44915         [BZ #15670]
44916         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
44918 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
44920         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
44921         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
44922         AUTH_DES and cindex for FIPS 140-2.
44923         (DES Encryption): Add cindex FIPS 46-3.
44925         * locale/locarchive.h (struct locarhandle): Add fname.
44926         * locale/programs/localedef.c (main): Pass ARGV[remaining]
44927         if an optional argument was specified to --list-archive,
44928         otherwise NULL.
44929         * locale/programs/locarchive.c (show_archive_content): Take new
44930         argument fname and pass it via ah.fname to open_archive.
44931         * locale/programs/localedef.h: Update decl.
44932         (open_archive): If AH->fname is non-null, open that file
44933         rather than the default file name, and don't ignore ENOENT.
44934         (create_archive): Set AH.fname to NULL.
44935         (delete_locales_from_archive): Likewise.
44936         (add_locales_to_archive): Likewise.
44937         * locale/programs/locfile.c (write_all_categories): Likewise.
44939 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
44940             Aldy Hernandez  <aldyh@redhat.com>
44942         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
44943         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
44944         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
44945         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
44946         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
44947         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
44948         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
44949         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
44950         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
44951         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
44952         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
44953         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
44954         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
44955         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
44956         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
44957         Likewise.
44958         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
44959         Likewise.
44960         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
44961         Likewise.
44962         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
44963         Likewise.
44964         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
44965         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
44966         Likewise.
44967         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
44968         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
44969         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
44970         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
44971         Likewise.
44972         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
44973         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
44974         * sysdeps/powerpc/preconfigure: Likewise.
44975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
44976         Likewise.
44977         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
44978         Replace contents of file by #include of <fenv_libc.h>.
44979         * sysdeps/powerpc/soft-fp/sfp-machine.h
44980         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
44981         and <sys/prctl.h>.
44982         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
44983         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
44984         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
44985         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
44986         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
44987         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
44988         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
44989         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
44990         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
44991         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
44992         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
44993         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
44994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
44995         Allow copysignl PLT reference to be missing.
44997 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
44998             Joseph Myers  <joseph@codesourcery.com
45000         [BZ #15948]
45001         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
45002         single character.
45003         (add_to_tablewc): Assert sequence of wide characters is nonempty.
45005 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
45007         * elf/tst-tls-dlinfo.c: Don't include tls.h.
45008         * elf/tst-tls1.c: Likewise.
45009         * elf/tst-tls10.h: Likewise.
45010         * elf/tst-tls14.c: Likewise.
45011         * elf/tst-tls2.c: Likewise.
45012         * elf/tst-tls3.c: Likewise.
45013         * elf/tst-tls4.c: Likewise.
45014         * elf/tst-tls5.c: Likewise.
45015         * elf/tst-tls6.c: Likewise.
45016         * elf/tst-tls7.c: Likewise.
45017         * elf/tst-tls8.c: Likewise.
45018         * elf/tst-tls9.c: Likewise.
45019         * elf/tst-tlsmod1.c: Likewise.
45020         * elf/tst-tlsmod13.c: Likewise.
45021         * elf/tst-tlsmod13a.c: Likewise.
45022         * elf/tst-tlsmod14a.c: Likewise.
45023         * elf/tst-tlsmod16a.c: Likewise.
45024         * elf/tst-tlsmod16b.c: Likewise.
45025         * elf/tst-tlsmod2.c: Likewise.
45026         * elf/tst-tlsmod3.c: Likewise.
45027         * elf/tst-tlsmod4.c: Likewise.
45028         * elf/tst-tlsmod5.c: Likewise.
45029         * elf/tst-tlsmod6.c: Likewise.
45031 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
45033         [BZ #12486]
45034         * malloc/malloc.c: remove checks for statistics.
45036 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45038         [BZ #15277]
45039         * inet/inet_net.c (inet_network): Detect additional invalid strings.
45040         * inet/tst-network.c: Add testcase.
45042 2013-10-17  Andreas Schwab  <schwab@suse.de>
45044         [BZ #15218]
45045         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
45046         to determine canonical name.
45048 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
45050         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
45051         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
45052         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45053         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45054         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45055         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45056         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
45057         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45058         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
45059         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45060         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
45061         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45062         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45063         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45064         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45065         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45066         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45067         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45068         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45069         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45070         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45071         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45072         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45073         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
45074         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
45075         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
45076         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
45077         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
45078         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
45079         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
45080         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45081         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45082         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45083         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45084         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45085         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45086         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45087         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45088         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45089         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45090         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45091         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45092         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45093         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45094         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45095         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45096         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45097         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45098         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45099         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45100         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45101         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45102         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45103         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45104         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45105         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45106         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45107         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45109 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
45111         [BZ #16041]
45112         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
45113         make result into a quiet NaN.
45115 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
45117         * soft-fp/adddf3.c: Fix horizontal whitespace.
45118         * soft-fp/addsf3.c: Likewise.
45119         * soft-fp/addtf3.c: Likewise.
45120         * soft-fp/divdf3.c: Likewise.
45121         * soft-fp/divsf3.c: Likewise.
45122         * soft-fp/divtf3.c: Likewise.
45123         * soft-fp/double.h: Likewise.
45124         * soft-fp/eqdf2.c: Likewise.
45125         * soft-fp/eqsf2.c: Likewise.
45126         * soft-fp/eqtf2.c: Likewise.
45127         * soft-fp/extenddftf2.c: Likewise.
45128         * soft-fp/extended.h: Likewise.
45129         * soft-fp/extendsfdf2.c: Likewise.
45130         * soft-fp/extendsftf2.c: Likewise.
45131         * soft-fp/extendxftf2.c: Likewise.
45132         * soft-fp/fixdfdi.c: Likewise.
45133         * soft-fp/fixdfsi.c: Likewise.
45134         * soft-fp/fixdfti.c: Likewise.
45135         * soft-fp/fixsfdi.c: Likewise.
45136         * soft-fp/fixsfsi.c: Likewise.
45137         * soft-fp/fixsfti.c: Likewise.
45138         * soft-fp/fixtfdi.c: Likewise.
45139         * soft-fp/fixtfsi.c: Likewise.
45140         * soft-fp/fixtfti.c: Likewise.
45141         * soft-fp/fixunsdfdi.c: Likewise.
45142         * soft-fp/fixunsdfsi.c: Likewise.
45143         * soft-fp/fixunsdfti.c: Likewise.
45144         * soft-fp/fixunssfdi.c: Likewise.
45145         * soft-fp/fixunssfsi.c: Likewise.
45146         * soft-fp/fixunssfti.c: Likewise.
45147         * soft-fp/fixunstfdi.c: Likewise.
45148         * soft-fp/fixunstfsi.c: Likewise.
45149         * soft-fp/fixunstfti.c: Likewise.
45150         * soft-fp/floatdidf.c: Likewise.
45151         * soft-fp/floatdisf.c: Likewise.
45152         * soft-fp/floatditf.c: Likewise.
45153         * soft-fp/floatsidf.c: Likewise.
45154         * soft-fp/floatsisf.c: Likewise.
45155         * soft-fp/floatsitf.c: Likewise.
45156         * soft-fp/floattidf.c: Likewise.
45157         * soft-fp/floattisf.c: Likewise.
45158         * soft-fp/floattitf.c: Likewise.
45159         * soft-fp/floatundidf.c: Likewise.
45160         * soft-fp/floatundisf.c: Likewise.
45161         * soft-fp/floatunditf.c: Likewise.
45162         * soft-fp/floatunsidf.c: Likewise.
45163         * soft-fp/floatunsisf.c: Likewise.
45164         * soft-fp/floatunsitf.c: Likewise.
45165         * soft-fp/floatuntidf.c: Likewise.
45166         * soft-fp/floatuntisf.c: Likewise.
45167         * soft-fp/floatuntitf.c: Likewise.
45168         * soft-fp/fmadf4.c: Likewise.
45169         * soft-fp/fmasf4.c: Likewise.
45170         * soft-fp/fmatf4.c: Likewise.
45171         * soft-fp/gedf2.c: Likewise.
45172         * soft-fp/gesf2.c: Likewise.
45173         * soft-fp/getf2.c: Likewise.
45174         * soft-fp/ledf2.c: Likewise.
45175         * soft-fp/lesf2.c: Likewise.
45176         * soft-fp/letf2.c: Likewise.
45177         * soft-fp/muldf3.c: Likewise.
45178         * soft-fp/mulsf3.c: Likewise.
45179         * soft-fp/multf3.c: Likewise.
45180         * soft-fp/negdf2.c: Likewise.
45181         * soft-fp/negsf2.c: Likewise.
45182         * soft-fp/negtf2.c: Likewise.
45183         * soft-fp/op-1.h: Likewise.
45184         * soft-fp/op-2.h: Likewise.
45185         * soft-fp/op-4.h: Likewise.
45186         * soft-fp/op-8.h: Likewise.
45187         * soft-fp/op-common.h: Likewise.
45188         * soft-fp/quad.h: Likewise.
45189         * soft-fp/single.h: Likewise.
45190         * soft-fp/soft-fp.h: Likewise.
45191         * soft-fp/sqrtdf2.c: Likewise.
45192         * soft-fp/sqrtsf2.c: Likewise.
45193         * soft-fp/sqrttf2.c: Likewise.
45194         * soft-fp/subdf3.c: Likewise.
45195         * soft-fp/subsf3.c: Likewise.
45196         * soft-fp/subtf3.c: Likewise.
45197         * soft-fp/truncdfsf2.c: Likewise.
45198         * soft-fp/trunctfdf2.c: Likewise.
45199         * soft-fp/trunctfsf2.c: Likewise.
45200         * soft-fp/trunctfxf2.c: Likewise.
45201         * soft-fp/unorddf2.c: Likewise.
45202         * soft-fp/unordsf2.c: Likewise.
45203         * soft-fp/unordtf2.c: Likewise.
45205 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
45207         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
45208         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
45210 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
45212         * elf/dl-libc.c: Clear initfini list after freeing.
45214 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
45216         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
45217         * soft-fp/addsf3.c: Likewise.
45218         * soft-fp/addtf3.c: Likewise.
45219         * soft-fp/divdf3.c: Likewise.
45220         * soft-fp/divsf3.c: Likewise.
45221         * soft-fp/divtf3.c: Likewise.
45222         * soft-fp/double.h: Likewise.
45223         * soft-fp/eqdf2.c: Likewise.
45224         * soft-fp/eqsf2.c: Likewise.
45225         * soft-fp/eqtf2.c: Likewise.
45226         * soft-fp/extenddftf2.c: Likewise.
45227         * soft-fp/extended.h: Likewise.
45228         * soft-fp/extendsfdf2.c: Likewise.
45229         * soft-fp/extendsftf2.c: Likewise.
45230         * soft-fp/extendxftf2.c: Likewise.
45231         * soft-fp/fixdfdi.c: Likewise.
45232         * soft-fp/fixdfsi.c: Likewise.
45233         * soft-fp/fixdfti.c: Likewise.
45234         * soft-fp/fixsfdi.c: Likewise.
45235         * soft-fp/fixsfsi.c: Likewise.
45236         * soft-fp/fixsfti.c: Likewise.
45237         * soft-fp/fixtfdi.c: Likewise.
45238         * soft-fp/fixtfsi.c: Likewise.
45239         * soft-fp/fixtfti.c: Likewise.
45240         * soft-fp/fixunsdfdi.c: Likewise.
45241         * soft-fp/fixunsdfsi.c: Likewise.
45242         * soft-fp/fixunsdfti.c: Likewise.
45243         * soft-fp/fixunssfdi.c: Likewise.
45244         * soft-fp/fixunssfsi.c: Likewise.
45245         * soft-fp/fixunssfti.c: Likewise.
45246         * soft-fp/fixunstfdi.c: Likewise.
45247         * soft-fp/fixunstfsi.c: Likewise.
45248         * soft-fp/fixunstfti.c: Likewise.
45249         * soft-fp/floatdidf.c: Likewise.
45250         * soft-fp/floatdisf.c: Likewise.
45251         * soft-fp/floatditf.c: Likewise.
45252         * soft-fp/floatsidf.c: Likewise.
45253         * soft-fp/floatsisf.c: Likewise.
45254         * soft-fp/floatsitf.c: Likewise.
45255         * soft-fp/floattidf.c: Likewise.
45256         * soft-fp/floattisf.c: Likewise.
45257         * soft-fp/floattitf.c: Likewise.
45258         * soft-fp/floatundidf.c: Likewise.
45259         * soft-fp/floatundisf.c: Likewise.
45260         * soft-fp/floatunsidf.c: Likewise.
45261         * soft-fp/floatunsisf.c: Likewise.
45262         * soft-fp/floatuntidf.c: Likewise.
45263         * soft-fp/floatuntisf.c: Likewise.
45264         * soft-fp/floatuntitf.c: Likewise.
45265         * soft-fp/fmadf4.c: Likewise.
45266         * soft-fp/fmasf4.c: Likewise.
45267         * soft-fp/fmatf4.c: Likewise.
45268         * soft-fp/gedf2.c: Likewise.
45269         * soft-fp/gesf2.c: Likewise.
45270         * soft-fp/getf2.c: Likewise.
45271         * soft-fp/ledf2.c: Likewise.
45272         * soft-fp/lesf2.c: Likewise.
45273         * soft-fp/letf2.c: Likewise.
45274         * soft-fp/muldf3.c: Likewise.
45275         * soft-fp/mulsf3.c: Likewise.
45276         * soft-fp/multf3.c: Likewise.
45277         * soft-fp/negdf2.c: Likewise.
45278         * soft-fp/negsf2.c: Likewise.
45279         * soft-fp/negtf2.c: Likewise.
45280         * soft-fp/op-1.h: Likewise.
45281         * soft-fp/op-2.h: Likewise.
45282         * soft-fp/op-4.h: Likewise.
45283         * soft-fp/op-8.h: Likewise.
45284         * soft-fp/op-common.h: Likewise.
45285         * soft-fp/quad.h: Likewise.
45286         * soft-fp/single.h: Likewise.
45287         * soft-fp/soft-fp.h: Likewise.
45288         * soft-fp/sqrtdf2.c: Likewise.
45289         * soft-fp/sqrtsf2.c: Likewise.
45290         * soft-fp/sqrttf2.c: Likewise.
45291         * soft-fp/subdf3.c: Likewise.
45292         * soft-fp/subsf3.c: Likewise.
45293         * soft-fp/subtf3.c: Likewise.
45294         * soft-fp/truncdfsf2.c: Likewise.
45295         * soft-fp/trunctfdf2.c: Likewise.
45296         * soft-fp/trunctfsf2.c: Likewise.
45297         * soft-fp/trunctfxf2.c: Likewise.
45298         * soft-fp/unorddf2.c: Likewise.
45299         * soft-fp/unordsf2.c: Likewise.
45300         * soft-fp/unordtf2.c: Likewise.
45302 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
45304         [BZ #15672]
45305         * misc/error.c (error_tail): Fix possible buffer overflow.
45307 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
45309         [BZ #13028]
45310         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
45311         address.
45313 2013-10-14  P. J. McDermott  <pj@pehjota.net>
45315         [BZ #832]
45316         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
45317         testing pipefail option.
45319 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45321         * soft-fp/double.h: Indent preprocessor directives inside #if.
45322         * soft-fp/extended.h: Likewise.
45323         * soft-fp/op-2.h: Likewise.
45324         * soft-fp/op-4.h: Likewise.
45325         * soft-fp/op-common.h: Likewise.
45326         * soft-fp/quad.h: Likewise.
45327         * soft-fp/single.h: Likewise.
45328         * soft-fp/soft-fp.h: Likewise.
45330 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
45332         * iconv/iconv_prog.c: Fix typos.
45333         * stdio-common/psiginfo-data.h: Likewise.
45335 2013-10-12   Reuben Thomas <rrt@sc3d.org>
45337         [BZ #15764]
45338         * locale/setlocale.c: Fix typo.
45340 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
45342         [BZ #16036]
45343         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
45344         signaling NaN arguments.
45345         * soft-fp/unordsf2.c (__unordsf2): Likewise.
45346         * soft-fp/unordtf2.c (__unordtf2): Likewise.
45348         [BZ #14910]
45349         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
45350         unordered operands.
45351         * soft-fp/gesf2.c (__gesf2): Likewise.
45352         * soft-fp/getf2.c (__getf2): Likewise.
45353         * soft-fp/ledf2.c (__ledf2): Likewise.
45354         * soft-fp/lesf2.c (__lesf2): Likewise.
45355         * soft-fp/letf2.c (__letf2): Likewise.
45357         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
45358         * soft-fp/eqsf2.c (__eqsf2): Likewise.
45359         * soft-fp/eqtf2.c (__eqtf2): Likewise.
45360         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
45361         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
45362         * soft-fp/fixdfti.c (__fixdfti): Likewise.
45363         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
45364         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
45365         * soft-fp/fixsfti.c (__fixsfti): Likewise.
45366         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
45367         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
45368         * soft-fp/fixtfti.c (__fixtfti): Likewise.
45369         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
45370         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
45371         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
45372         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
45373         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
45374         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
45375         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
45376         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
45377         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
45378         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
45379         * soft-fp/floatdisf.c (__floatdisf): Likewise.
45380         * soft-fp/floatsisf.c (__floatsisf): Likewise.
45381         * soft-fp/floattidf.c (__floattidf): Likewise.
45382         * soft-fp/floattisf.c (__floattisf): Likewise.
45383         * soft-fp/floattitf.c (__floattitf): Likewise.
45384         * soft-fp/floatundidf.c (__floatundidf): Likewise.
45385         * soft-fp/floatundisf.c (__floatundisf): Likewise.
45386         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
45387         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
45388         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
45389         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
45390         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
45391         * soft-fp/gesf2.c (__gesf2): Likewise.
45392         * soft-fp/getf2.c (__getf2): Likewise.
45393         * soft-fp/ledf2.c (__ledf2): Likewise.
45394         * soft-fp/lesf2.c (__lesf2): Likewise.
45395         * soft-fp/letf2.c (__letf2): Likewise.
45397         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
45398         Undefine and redefine.
45399         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
45400         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
45401         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
45402         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
45403         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45404         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
45405         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45406         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
45407         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45408         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
45409         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45410         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
45411         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45412         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
45413         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
45415         [BZ #16032]
45416         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
45417         without decrementing exponent if mantissa >= that for the
45418         denominator, not >.
45419         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
45420         denominator, not >.  Decrement exponent in < case instead of
45421         incrementing in >= case.
45422         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
45423         without decrementing exponent if mantissa >= that for the
45424         denominator, not >.
45426         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
45427         computing saturated result for unsigned overflow.
45429 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
45430             Jeff Law  <law@redhat.com>
45432         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
45433         (atan2Mp): Add systemtap probe marker.
45434         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
45435         (__ieee754_log): Add systemtap probe marker.
45436         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
45437         (atanMp): Add systemtap probe marker.
45438         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
45439         (tanMp): Add systemtap probe marker.
45440         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
45441         (__slowexp): Add systemtap probe marker.
45442         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
45443         (__slowpow): Add systemtap probe marker.
45444         * manual/probes.texi: Document probes.
45446 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
45448         [BZ #15362]
45449         * libio/fileops.c (_IO_new_file_write): Return count of bytes
45450         written.
45451         (_IO_new_file_xsputn): Don't return EOF if nothing has been
45452         written.
45453         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
45454         written to buffer but not flushed.
45455         * libio/iofwrite_u.c:  Likewise.
45456         * libio/iopadn.c:  Return bytes returned even if EOF was
45457         encountered.
45458         * libio/iowpadn.c:  Likewise.
45459         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
45460         if _IO_padn does not write the whole buffer.
45461         [!COMPILE_WPRINTF] (PAD): Likewise.
45463 2013-10-10  David S. Miller  <davem@davemloft.net>
45465         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
45466         directory block.
45468 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45470         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
45471         instead of FSF address.
45472         * soft-fp/fixdfti.c: Likewise.
45473         * soft-fp/fixsfti.c: Likewise.
45474         * soft-fp/fixtfti.c: Likewise.
45475         * soft-fp/fixunsdfti.c: Likewise.
45476         * soft-fp/fixunssfti.c: Likewise.
45477         * soft-fp/fixunstfti.c: Likewise.
45478         * soft-fp/floattidf.c: Likewise.
45479         * soft-fp/floattisf.c: Likewise.
45480         * soft-fp/floattitf.c: Likewise.
45481         * soft-fp/floatuntidf.c: Likewise.
45482         * soft-fp/floatuntisf.c: Likewise.
45483         * soft-fp/floatuntitf.c: Likewise.
45484         * soft-fp/trunctfxf2.c: Likewise.
45486         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
45487         * soft-fp/fixdfti.c: Likewise.
45488         * soft-fp/fixsfti.c: Likewise.
45489         * soft-fp/fixtfti.c: Likewise.
45490         * soft-fp/fixunsdfti.c: Likewise.
45491         * soft-fp/fixunssfti.c: Likewise.
45492         * soft-fp/fixunstfti.c: Likewise.
45493         * soft-fp/floattidf.c: Likewise.
45494         * soft-fp/floattisf.c: Likewise.
45495         * soft-fp/floattitf.c: Likewise.
45496         * soft-fp/floatuntidf.c: Likewise.
45497         * soft-fp/floatuntisf.c: Likewise.
45498         * soft-fp/floatuntitf.c: Likewise.
45499         * soft-fp/trunctfxf2.c: Likewise.
45501 2013-10-10  David S. Miller  <davem@davemloft.net>
45503         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45505 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
45507         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
45508         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
45509         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
45510         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
45511         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
45512         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
45513         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
45515         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
45516         for NaNs before doing comparisons on argument.
45517         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
45518         Likewise.
45520 2013-10-10  Will Newton  <will.newton@linaro.org>
45522         * malloc/hooks.c (memalign_check): Ensure the value of bytes
45523         passed to _int_memalign does not overflow.
45525 2013-10-10  Torvald Riegel  <triegel@redhat.com>
45527         * scripts/bench.pl: Add include-sources directive.
45528         * benchtests/README: Update documentation.
45530 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
45532         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
45533         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
45534         instead of FP_INIT_ROUNDMODE.
45535         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
45536         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
45538         [BZ #16034]
45539         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
45540         copy class of input value.
45541         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
45542         not handle exceptions.
45543         * soft-fp/negsf2.c (__negsf2): Likewise.
45544         * soft-fp/negtf2.c (__negtf2): Likewise.
45545         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
45547 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
45549         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
45550         semicolon.  From Linux kernel.
45552 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
45554         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
45556 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
45558         [BZ #156]
45559         * manual/socket.texi: Added statement about buffer
45560         for gethostbyname2_r.
45562 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
45564         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
45565         Use .p2align directive instead, throughout.
45566         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
45567         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
45568         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
45569         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
45570         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
45571         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
45572         * sysdeps/x86_64/strchr.S: Likewise.
45573         * sysdeps/x86_64/strrchr.S: Likewise.
45575 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
45577         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
45579         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
45581         * sysdeps/generic/math_private.h (__mpsin1): Remove
45582         declaration.
45583         (__mpcos1): Likewise.
45584         (__mpsin): New argument __range_reduce.
45585         (__mpcos): Likewise.
45586         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45587         (slow): Use __mpsin and __mpcos.
45588         (slow1): Likewise.
45589         (slow2): Likewise.
45590         (sloww): Likewise.
45591         (sloww1): Likewise.
45592         (sloww2): Likewise.
45593         (bsloww): Likewise.
45594         (bsloww1): Likewise.
45595         (bsloww2): Likewise.
45596         (cslow2): Likewise.
45597         (csloww): Likewise.
45598         (csloww1): Likewise.
45599         (csloww2): Likewise.
45600         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
45601         range_reduce.  Merge in __mpsin1.
45602         (__mpcos): Likewise.
45603         (__mpsin1): Remove.
45604         (__mpcos1): Likewise.
45606 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
45608         * locale/loadlocale.c (_nl_intern_locale_data): Use
45609         LOCFILE_ALIGNED_P.
45610         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
45611         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
45612         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
45613         obstack data is appropriately aligned.
45614         (obstack_int32_grow_fast): Likewise.
45615         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
45616         * locale/programs/locfile.c (add_locale_uint32): Likewise.
45617         (add_locale_uint32_array): Likewise.
45619 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
45621         * benchtests/Makefile: Remove ARGLIST and RET variables.
45622         ($(objpfx)bench-%.c): Pass only function name to the script.
45623         * benchtests/README: Update documentation.
45624         * benchtests/acos-inputs: Add new directives.
45625         * benchtests/acosh-inputs: Likewise.
45626         * benchtests/asin-inputs: Likewise.
45627         * benchtests/asinh-inputs: Likewise.
45628         * benchtests/atan-inputs: Likewise.
45629         * benchtests/atanh-inputs: Likewise.
45630         * benchtests/cos-inputs: Likewise.
45631         * benchtests/cosh-inputs: Likewise.
45632         * benchtests/exp-inputs: Likewise.
45633         * benchtests/log-inputs: Likewise.
45634         * benchtests/pow-inputs: Likewise.
45635         * benchtests/rint-inputs: Likewise.
45636         * benchtests/sin-inputs: Likewise.
45637         * benchtests/sinh-inputs: Likewise.
45638         * benchtests/tan-inputs: Likewise.
45639         * benchtests/tanh-inputs: Likewise.
45640         * scripts/bench.pl: Add support for new directives.
45642 2013-10-07  Alan Modra  <amodra@gmail.com>
45644         * README: Fix careless merge.
45646 2013-10-05  Alan Modra  <amodra@gmail.com>
45648         * NEWS: Mention powerpc64le support and bugs fixed.
45649         * README: Both big-endian and little-endian powerpc64 supported.
45651 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
45653         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
45654         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
45655         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
45656         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
45658 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
45660         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
45661         match prototype.
45663 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
45665         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
45666         Move -mhard-float appending from
45667         ports/sysdeps/powerpc/powerpc32/Makefile.
45668         [$(with-fp) = yes] (ASFLAGS): Likewise.
45669         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
45670         * sysdeps/powerpc/nofpu: Move directory from
45671         ports/sysdeps/powerpc/nofpu.
45672         * sysdeps/powerpc/soft-fp: Move directory from
45673         ports/sysdeps/powerpc/soft-fp.
45674         * sysdeps/powerpc/powerpc32/405: Move directory from
45675         ports/sysdeps/powerpc/powerpc32/405.
45676         * sysdeps/powerpc/powerpc32/440: Move directory from
45677         ports/sysdeps/powerpc/powerpc32/440.
45678         * sysdeps/powerpc/powerpc32/464: Move directory from
45679         ports/sysdeps/powerpc/powerpc32/464.
45680         * sysdeps/powerpc/powerpc32/476: Move directory from
45681         ports/sysdeps/powerpc/powerpc32/476.
45682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
45683         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
45684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
45685         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
45686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
45687         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
45688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
45689         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
45690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
45691         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
45692         * README: Update for powerpc-*-linux-gnu software floating point
45693         support in libc.
45695         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
45696         case to powerpc/powerpc32*.
45697         * sysdeps/unix/sysv/linux/configure: Regenerated.
45699         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
45700         (_FPU_MASK_OM): Define as 0x04.
45701         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
45702         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
45703         0x00c10080.
45704         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
45705         0x0000003c.
45706         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
45708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
45709         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45710         getcontext_e500.
45711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
45712         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
45713         setcontext_e500.
45714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
45715         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
45716         and setcontext_e500.
45718 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
45720         * locale/iso-3166.def: Update iso-1366.def and related occurrences
45722 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
45724         * manual/threads.texi (Default Thread Attributes): Fix typo.
45726 2013-10-04  Will Newton  <will.newton@linaro.org>
45728         * malloc/Makefile: Add tst-memalign.
45729         * malloc/tst-memalign.c: New file.
45731         * malloc/tst-posix_memalign.c: Add comments.
45732         (do_test): Add comments and call free on all potentially
45733         allocated pointers. Add space after cast.
45735         * malloc/tst-pvalloc.c: Add comments.
45736         (do_test): Add comments and call free on all potentially
45737         allocated pointers. Remove duplicate check for NULL pointer.
45738         Add space after cast.
45740         * malloc/tst-valloc.c: Add comments.
45741         (do_test): Add comments and call free on all potentially
45742         allocated pointers. Remove duplicate check for NULL pointer.
45743         Add space after cast.
45745 2013-10-04  Alan Modra  <amodra@gmail.com>
45747         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45748         Use stdint types in rather than __attribute__((mode())).
45749         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45751 2013-10-04  Alan Modra  <amodra@gmail.com>
45753         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
45754         Correct handling of unaligned relocs for little-endian.
45755         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
45757 2013-10-04  Alan Modra  <amodra@gmail.com>
45759         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
45760         * configure: Regenerate.
45761         * nptl/shlib-versions: Powerpc*le starts at 2.18.
45762         * shlib-versions: Likewise.
45764 2013-10-04  Alan Modra  <amodra@gmail.com>
45766         * string/tester.c (test_memrchr): Increment reported test cycle.
45768 2013-10-04  Alan Modra  <amodra@gmail.com>
45770         * string/test-memcpy.c (do_one_test): When reporting errors, print
45771         string address and don't overrun end of string.
45773 2013-10-04  Alan Modra  <amodra@gmail.com>
45775         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
45776         insrdi.  Make better use of reg selection to speed exit slightly.
45777         Schedule entry path a little better.  Remove useless "are we done"
45778         checks on entry to main loop.  Handle wrapping around zero address.
45779         Correct main loop count.  Handle single left-over word from main
45780         loop inline rather than by using loop_small.  Remove extra word
45781         case in loop_small caused by wrong loop count.  Add little-endian
45782         support.
45783         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
45784         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
45785         cache hint.
45786         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
45787         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
45788         support.  Avoid rlwimi.
45789         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
45791 2013-10-04  Alan Modra  <amodra@gmail.com>
45793         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
45794         insrdi.  Formatting.
45795         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
45796         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
45797         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
45798         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
45799         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
45800         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
45802 2013-10-04  Alan Modra  <amodra@gmail.com>
45804         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
45805         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
45806         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
45807         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
45808         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
45809         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
45810         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
45811         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
45812         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
45813         use of regs.  Use power7 mtocrf.  Tidy function tails.
45815 2013-10-04  Alan Modra  <amodra@gmail.com>
45817         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
45818         Formatting.  Consistently use rXXX register defines or rN defines.
45819         Use early exit labels that avoid restoring unused non-volatile regs.
45820         Make cr field use more consistent with rWORDn compares.  Rename
45821         regs used as shift registers for unaligned loop, using rN defines
45822         for short lifetime/multiple use regs.
45823         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
45824         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
45825         addi 1,1,64 to pop stack frame.  Simplify return value code.
45826         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
45828 2013-10-04  Alan Modra  <amodra@gmail.com>
45830         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
45831         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
45832         rather than rlwimi.
45833         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
45834         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
45835         little-endian support.  Correct typos.
45836         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
45837         rather than rlwimi.
45838         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
45839         in loop and entry code to keep "and." results.
45840         (strchr): Add little-endian support.  Comment.  Move cntlzd
45841         earlier in tail.
45842         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
45844 2013-10-04  Alan Modra  <amodra@gmail.com>
45846         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
45847         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
45848         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
45849         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
45851 2013-10-04  Alan Modra  <amodra@gmail.com>
45853         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
45854         (rTMP): Define as r11.
45855         (strcmp): Add little-endian support.  Optimise tail.
45856         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
45857         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
45858         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
45859         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
45860         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
45861         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
45862         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
45864 2013-10-04  Alan Modra  <amodra@gmail.com>
45866         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
45867         little-endian support.  Remove unnecessary "are we done" tests.
45868         Handle "s" wrapping around zero and extremely large "size".
45869         Correct main loop count.  Handle single left-over word from main
45870         loop inline rather than by using small_loop.  Correct comments.
45871         Delete "zero" tail, use "end_max" instead.
45872         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
45874 2013-10-04  Alan Modra  <amodra@gmail.com>
45876         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
45877         support.  Don't branch over align.
45878         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
45879         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
45880         support.  Rearrange tmp reg use to suit.  Comment.
45881         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
45883 2013-10-04  Alan Modra  <amodra@gmail.com>
45885         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
45887 2013-10-04  Alan Modra  <amodra@gmail.com>
45889         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
45890         conditional form of branch and link when obtaining pc.
45891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45893 2013-10-04  Alan Modra  <amodra@gmail.com>
45895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
45896         HIWORD/LOWORD.
45897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
45898         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
45900 2013-10-04  Alan Modra  <amodra@gmail.com>
45902         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
45903         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
45904         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
45905         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
45906         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
45907         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
45908         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
45909         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
45910         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
45911         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
45913 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45914             Alistair Popple <alistair@ozlabs.au.ibm.com>
45915             Alan Modra <amodra@gmail.com>
45917         [BZ #15723]
45918         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
45919         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
45920         _dl_hwcap access for little-endian.
45921         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
45922         destroy vmx regs when saving unaligned.
45923         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
45924         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
45925         destroy vmx regs when saving unaligned.
45927 2013-10-04  Alan Modra  <amodra@gmail.com>
45929         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
45930         Don't use a union to pack hi/low value.
45932 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45934         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
45935         for little-endian.
45936         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
45937         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
45938         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
45939         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
45940         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
45942 2013-10-04  Alan Modra  <amodra@gmail.com>
45944         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
45945         constants to usual value for .cst8 section, and remove redundant
45946         high address load.
45947         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
45948         constant for 0x1p52.  Load little-endian words of double from
45949         correct stack offsets.
45951 2013-10-04  Alan Modra  <amodra@gmail.com>
45953         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
45954         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
45955         words of double from correct stack offsets.
45956         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
45957         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
45958         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
45959         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
45960         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
45961         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
45962         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
45963         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
45964         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
45965         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
45966         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
45967         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
45968         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
45969         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
45970         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
45971         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
45972         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
45974 2013-10-04  Alan Modra  <amodra@gmail.com>
45976         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
45977         64-bit int/double union.
45978         (_FPU_SETCW): Likewise.
45979         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
45980         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
45982 2013-10-04  Alan Modra  <amodra@gmail.com>
45984         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
45985         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
45987 2013-10-04  Alan Modra  <amodra@gmail.com>
45989         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
45990         use vector int constants.
45991         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
45993 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
45995         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
45996         array with long long.
45997         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
45998         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
45999         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
46000         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
46001         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
46002         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
46003         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
46004         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
46005         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
46006         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
46007         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
46008         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
46009         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
46011 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
46013         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
46014         (__signbit): Likewise.  Correct for little-endian.
46015         (__signbitl): Call __signbit.
46016         (lrint): Correct for little-endian.
46017         (lrintf): Call lrint.
46019 2013-10-04  Alan Modra  <amodra@gmail.com>
46021         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
46022         union 32-bit int array member with 64-bit int array.
46023         (t515, tm256): Double rather than long double.
46024         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
46026 2013-10-04  Alan Modra  <amodra@gmail.com>
46028         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
46029         Delete.
46030         (IEEE854_LONG_DOUBLE_BIAS): Delete.
46031         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
46032         version of math_ldbl.h.
46034 2013-10-04  Alan Modra  <amodra@gmail.com>
46036         [BZ #15734], [BZ #15735]
46037         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
46038         all uses of ieee875 long double macros and unions.  Simplify test
46039         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
46040         ldbl_extract_mantissa value for ix,iy exponents.  Properly
46041         normalize after ldbl_extract_mantissa, and don't add hidden bit
46042         already handled.  Don't treat low word of ieee854 mantissa like
46043         low word of IBM long double and mask off bit when testing for
46044         zero.
46045         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
46046         all uses of ieee875 long double macros and unions.  Simplify tests
46047         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
46048         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
46049         two1022, instead use their values.  Recognise that tests for large
46050         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
46051         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
46052         Rewrite all uses of ieee875 long double macros and unions.  Simplify
46053         test for 0.0L and nan.  Correct negation.
46054         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
46055         ieee875 long double macros and unions.  Correct output for large
46056         magnitude x.  Correct absolute value calculation.
46057         (__erfcl): Likewise.
46058         * math/libm-test.inc: Add tests for errors discovered in IBM long
46059         double versions of fmodl, remainderl, erfl and erfcl.
46061 2013-10-04  Alan Modra  <amodra@gmail.com>
46063         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
46064         all uses of ieee854 long double macros and unions.  Simplify tests
46065         for long doubles that are fully specified by the high double.
46066         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
46067         Likewise.
46068         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
46069         Remove dead code too.
46070         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
46071         (__ieee754_ynl): Likewise.
46072         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
46073         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
46074         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
46075         Remove dead code too.
46076         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
46077         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
46078         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
46079         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
46080         Simplify.
46081         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
46082         Simplify.
46083         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
46084         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
46085         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
46086         Comment on variable precision.
46087         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
46088         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
46089         Likewise.
46090         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
46091         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
46092         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
46093         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
46094         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
46096 2013-10-04  Alan Modra  <amodra@gmail.com>
46098         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
46099         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
46100         all uses of ieee854 long double macros and unions.
46101         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
46102         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
46103         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
46104         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
46105         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
46106         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
46107         Likewise.
46108         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
46109         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
46110         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
46111         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
46112         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
46113         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
46114         Simplify sign and nan test too.
46115         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
46116         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
46117         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
46118         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
46119         Likewise.
46120         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
46121         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
46122         Likewise.
46123         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
46124         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
46125         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
46126         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
46127         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
46128         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
46130 2013-10-04  Alan Modra  <amodra@gmail.com>
46132         * stdio-common/printf_size.c (__printf_size): Don't use
46133         union ieee854_long_double in fpnum union.
46134         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
46135         signbit macro to retrieve sign from long double.
46136         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
46137         retrieve sign from long double.
46138         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
46139         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
46140         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
46141         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
46142         * math/test-misc.c (main): Don't use union ieee854_long_double.
46144 2013-10-04  Alan Modra  <amodra@gmail.com>
46146         [BZ #15680]
46147         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
46148         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
46149         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
46150         calculation.  Remove unnecessary test for denormal exponent.
46151         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
46152         Correct handling of denormals.  Avoid undefined shift behaviour.
46153         Correct normalisation of low mantissa when low double is denormal.
46154         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
46155         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
46156         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
46157         Correct normalisation of low mantissa.  Test for overflow of high
46158         mantissa and normalise.
46159         (ldbl_nearbyint): Use more readable constant for two52.
46160         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
46161         (__mpn_construct_long_double): Fix test for overflow of high
46162         mantissa and correct normalisation.  Avoid undefined shift.
46164 2013-10-04  Alan Modra  <amodra@gmail.com>
46166         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
46167         (union ibm_extended_long_double): Define as an array of ieee754_double.
46168         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
46169         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
46170         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
46171         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
46172         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
46173         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
46174         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
46175         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
46176         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
46177         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
46178         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
46180 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
46182         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
46183         page size instead of calling getpagesize.
46185         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
46186         (LOCFILE_ALIGN_MASK): Likewise.
46187         (LOCFILE_ALIGN_UP): Likewise.
46188         (LOCFILE_ALIGNED_P): Likewise.
46189         * locale/programs/ld-collate.c (collate_output): Use the new
46190         macros instead of __alignof__ (int32_t).
46191         * locale/weight.h (findidx): Likewise.
46193 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
46195         [BZ #431]
46196         * manual/string.texi: Fix strncat and wcsncat.
46198 2013-10-03  Brooks Moses  <bmoses@google.com>
46200         [BZ #15915]
46201         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
46202         * Makerules: ...here, and adjust associated comments.
46204 2013-10-02  Will Newton  <will.newton@linaro.org>
46206         * malloc/Makefile: Add tst-pvalloc.
46207         * malloc/tst-pvalloc.c: New file.
46209 2013-10-02  Will Newton  <will.newton@linaro.org>
46211         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
46212         improve test coverage.
46214 2013-10-02  Will Newton  <will.newton@linaro.org>
46216         * malloc/Makefile: Add tst-posix_memalign.
46217         * malloc/tst-posix_memalign.c: New file.
46219 2013-10-01  Eric Blake  <eblake@redhat.com>
46221         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
46222         Use __THROWNL rather than __THROW on static functions.
46224 2013-09-30  Petr Machata  <pmachata@redhat.com>
46226         * elf/elf.h (R_AARCH64_ABS16): New macro.
46227         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
46228         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
46229         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
46230         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
46231         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
46232         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
46233         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
46234         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
46235         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
46236         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
46237         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
46238         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
46239         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
46240         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
46241         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
46242         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
46243         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
46244         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
46245         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
46246         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
46247         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
46248         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
46249         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
46250         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
46251         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
46252         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
46253         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
46254         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
46255         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
46256         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
46257         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
46258         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
46259         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
46260         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
46261         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
46262         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
46263         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
46264         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
46265         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
46266         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
46267         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
46268         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
46269         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
46270         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
46271         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
46272         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
46273         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
46274         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
46275         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
46276         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
46277         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
46278         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
46279         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
46280         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
46281         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
46282         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
46283         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
46284         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
46285         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
46286         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
46287         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
46288         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
46289         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
46290         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
46291         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
46292         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
46293         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
46294         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
46295         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
46296         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
46297         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
46298         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
46299         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
46300         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
46301         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
46302         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
46303         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
46304         (R_AARCH64_TLSDESC_LDR): Likewise.
46305         (R_AARCH64_TLSDESC_ADD): Likewise.
46306         (R_AARCH64_TLSDESC_CALL): Likewise.
46308 2013-09-30  Andreas Schwab  <schwab@suse.de>
46310         [BZ #15048]
46311         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
46312         the nss database lookup.
46313         * nscd/initgrcache.c (addinitgroupsX): Likewise.
46314         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
46316 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
46318         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
46320 2013-09-28  P. J. McDermott  <pj@pehjota.net>
46322         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
46323         ${Bash-specific parameter/pattern/string} parameter expansion.
46324         * sysdeps/unix/make-syscalls.sh: Likewise.
46326 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46328         * sysdeps/sh/stackguard-macros.h: New file.
46330 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
46332         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
46333         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
46334         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
46335         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
46336         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
46337         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
46339 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46341         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
46342         Fix thread ID register.
46344 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
46346         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
46347         [POSIX || UNIX98]: Require rather than permitting all symbols from
46348         <time.h>.
46349         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
46350         element of struct sched_param.
46351         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
46352         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
46353         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
46354         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
46355         constant.
46357 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
46359         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
46360         argument calculation.
46362 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46364         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
46365         Expect macro.
46366         [POSIX] (pthread_attr_t): Do not require type.
46367         [POSIX] (pthread_cond_t): Likewise.
46368         [POSIX] (pthread_condattr_t): Likewise.
46369         [POSIX] (pthread_key_t): Likewise.
46370         [POSIX] (pthread_mutex_t): Likewise.
46371         [POSIX] (pthread_mutexattr_t): Likewise.
46372         [POSIX] (pthread_once_t): Likewise.
46373         [POSIX] (pthread_t): Likewise.
46374         [POSIX-based standards] (pthread_atfork): Expect function.
46376 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
46377             Richard Sandiford  <richard@codesourcery.com>
46379         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
46380         (swap_endianness_p): New extern variable.
46381         (set_big_endian): New inline function.
46382         (maybe_swap_uint32): Likewise.
46383         (maybe_swap_uint32_array): Likewise.
46384         (maybe_swap_uint32_obstack): Likewise.
46385         * locale/programs/locfile.c: Include <stdbool.h>.
46386         (swap_endianness_p): New variable.
46387         (add_locale_uint32): Call maybe_swap_uint32.
46388         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
46389         (write_locale_data): Call maybe_swap_uint32_array.
46390         * locale/programs/ld-collate.c (obstack_int32_grow): Call
46391         maybe_swap_uint32.
46392         (obstack_int32_grow_fast): Likewise.
46393         (output_weightwc): Call maybe_swap_uint32_obstack.
46394         (collate_output): Likewise.
46395         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
46396         (OPT_LITTLE_ENDIAN): Likewise.
46397         (options): Add --little-endian and --big-endian options.
46398         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
46399         * locale/programs/locarchive.c: Include "locfile.h".
46400         (GET): New macro.
46401         (SET): Likewise.
46402         (INC): Likewise.
46403         (create_archive): Use the new macros to access fields of
46404         structures directly mapped from or written to locale archives.
46405         (oldlocrecentcmp): Likewise.
46406         (enlarge_archive): Likewise.
46407         (insert_name): Likewise.
46408         (add_alias): Likewise.
46409         (add_locale): Likewise.
46410         (delete_locales_from_archive): Likewise.
46411         (show_archive_content): Likewise.
46412         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
46413         locale data.
46415 2013-09-24  Roland McGrath  <roland@hack.frob.com>
46417         * manual/freemanuals.texi: Updated from (newly) canonical copy at
46418         http://www.gnu.org/doc/freemanuals.texi.
46419         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
46421 2013-09-24  Will Newton  <will.newton@linaro.org>
46423         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
46424         macro.
46426 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
46428         * locale/hashval.h (compute_hashval): Interpret bytes of key as
46429         unsigned char.
46431 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
46433         * manual/threads.texi (POSIX Threads): Fix a typo.
46435 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
46437         [BZ #14547]
46438         * string/tst-strcoll-overflow.c: New test case.
46439         * string/Makefile (xtests): Add tst-strcoll-overflow.
46440         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
46441         cache if string sizes may cause integer overflow.
46443         [BZ #14547]
46444         * string/strcoll_l.c (coll_seq): New members rule, idx,
46445         save_idx and back_us.
46446         (get_next_seq_nocache): New function.
46447         (do_compare_nocache): New function.
46448         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
46449         when malloc fails.
46451 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
46453         [BZ #15754]
46454         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
46455         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
46456         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
46458         [BZ #15754]
46459         * elf/Makefile (tests): Add tst-ptrguard1.
46460         (tests-static): Add tst-ptrguard1-static.
46461         (tst-ptrguard1-ARGS): Define.
46462         (tst-ptrguard1-static-ARGS): Define.
46463         * elf/tst-ptrguard1.c: New file.
46464         * elf/tst-ptrguard1-static.c: New file.
46465         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
46466         * sysdeps/i386/stackguard-macros.h: Likewise.
46467         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
46468         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
46469         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
46470         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
46471         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
46472         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
46474 2013-09-23  Hector Marco  <hecmargi@upv.es>
46475             Ismael Ripoll  <iripoll@disca.upv.es>
46476             Carlos O'Donell  <carlos@redhat.com>
46478         [BZ #15754]
46479         * sysdeps/generic/stackguard-macros.h: Define
46480         __pointer_chk_guard_local and POINTER_CHK_GUARD.
46481         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
46482         Define __pointer_chk_guard_local.
46483         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
46484         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
46486 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
46488         [BZ #15859]
46489         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
46491 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
46493         * include/string.h (__ffs): Declare as hidden.
46494         * string/ffs.c (__ffs): Define as hidden.
46495         * sysdeps/i386/ffs.c (__ffs): Likewise.
46496         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
46497         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
46498         * sysdeps/s390/ffs.c (__ffs): Likewise.
46499         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
46501 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
46503         * NEWS: Mention malloc probes.
46505         * malloc/arena.c (new_heap): New memory_heap_new probe.
46506         (grow_heap): New memory_heap_more probe.
46507         (shrink_heap): New memory_heap_less probe.
46508         (heap_trim): New memory_heap_free probe.
46509         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
46510         (systrim): New memory_sbrk_less probe.
46511         * manual/probes.texi: Document them.
46513         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
46514         * manual/probes.texi: Document it.
46516         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
46517         (__libc_realloc): Add memory_realloc_retry probe.
46518         (__libc_memalign): Add memory_memalign_retry probe.
46519         (__libc_valloc): Add memory_valloc_retry probe.
46520         (__libc_pvalloc): Add memory_pvalloc_retry probe.
46521         (__libc_calloc): Add memory_calloc_retry probe.
46522         * manual/probes.texi: Document them.
46524         * malloc/arena.c (get_free_list): Add probe
46525         memory_arena_reuse_free_list.
46526         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
46527         and memory_arena_reuse.
46528         (arena_get2) [!PER_THREAD]: Likewise.
46529         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
46530         memory_arena_reuse_realloc.
46531         * manual/probes.texi: Document them.
46533         * malloc/malloc.c (__libc_free): Add
46534         memory_mallopt_free_dyn_thresholds probe.
46535         (__libc_mallopt): Add multiple memory_mallopt probes.
46536         * manual/probes.texi: Document them.
46538         * malloc/malloc.c: Include stap-probe.h.
46539         (__libc_mallopt): Add memory_mallopt probe.
46540         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
46541         * manual/probes.texi: New.
46542         * manual/Makefile (chapters): Add probes.
46543         * manual/threads.texi: Set next node.
46545 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
46547         [BZ #15963, #13985]
46548         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
46549         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
46550         Add `Chinese' to `nan' entry name.
46552 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46554         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
46555         (POLYNOMIAL): Likewise.
46556         (TAYLOR_SINCOS): Likewise.
46557         (TAYLOR_SLOW): Likewise.
46558         (__sin): Use TAYLOR_SINCOS.
46559         (__cos): Likewise.
46560         (slow): Use TAYLOR_SLOW.
46561         (sloww): Likewise.
46562         (bsloww): Likewise.
46563         (csloww): Likewise.
46565 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
46567         * stdlib/strtod_l.c: Fix buffer overrun.
46569 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
46571         * benchtests/Makefile (bench): Add sincos.
46572         * benchtests/bench-sincos.c: New file.
46574         * math/libm-test.inc (cos_test_data): New test inputs.
46575         (sin_test_data): Likewise.
46577         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
46578         macro.
46579         (__sin): Use it.
46580         (__cos): Likewise.
46581         (slow1): Likewise.
46582         (slow2): Likewise.
46583         (sloww1): Likewise.
46584         (sloww2): Likewise.
46585         (bsloww1): Likewise.
46586         (bsloww2): Likewise.
46587         (cslow2): Likewise.
46588         (csloww1): Likewise.
46589         (csloww2): Likewise.
46591         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
46592         function.
46593         (__sin): Use it.
46594         (__cos): Likewise.
46596         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
46597         gotos.
46598         (__cos): Likewise.
46600 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
46602         * config.h.in (HAVE_MIPS_NAN2008): New macro.
46603         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
46604         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
46605         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
46606         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
46607         * elf/cache.c (print_entry): Handle the new cache flags.
46609 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46610             Aldy Hernandez  <aldyh@redhat.com>
46612         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
46613         Change condition to [_SOFT_FLOAT].
46614         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
46615         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
46616         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
46617         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
46618         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
46619         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
46620         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
46621         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
46622         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
46623         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
46624         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
46625         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
46626         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
46627         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
46628         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
46629         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
46630         declaration.
46632 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
46634         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
46635         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46636         (__longjmp): Use LOAD_GP to load saved GPRs.
46637         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
46638         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
46639         (__sigsetjmp): Use SAVE_GP to save GPRs.
46641         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
46642         Do not append -msoft-float.
46643         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
46645 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
46647         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
46649 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
46651         [BZ #15966]
46652         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
46653         (_FPU_GETCW): Use initial "__" on variable and field names but not
46654         on macro parameter name.
46655         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
46656         parentheses around reference to macro parameter.
46658 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
46660         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
46661         prototype.
46662         (ctype_startup): Use uint32_t in cast and sizeof for
46663         ctype->charnames.
46665 2013-09-11  Jia Liu  <proljc@gmail.com>
46667         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
46668         __daddr_t_defined.
46669         [__FreeBSD__]: Likewise.
46671 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
46673         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
46674         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
46675         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
46676         (strchr): Remove __strchr_sse42 ifunc selection.
46677         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
46678         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
46680 2013-09-11  Will Newton  <will.newton@linaro.org>
46682         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
46683         parameter to RES. Remove hardcoded 1000 value.
46684         * benchtests/bench-skeleton.c (main): Pass RES parameter
46685         to TIMING_INIT and multiply result by 1000.
46687 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46689         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46691 2013-09-11  Andreas Schwab  <schwab@suse.de>
46693         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
46694         if not defined.
46695         (O_TMPFILE) [__USE_GNU]: Define.
46696         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
46697         Define.
46699 2013-09-11  Will Newton  <will.newton@linaro.org>
46701         [BZ #15857]
46702         * malloc/malloc.c (__libc_memalign): Check the value of bytes
46703         does not overflow.
46705 2013-09-11  Will Newton  <will.newton@linaro.org>
46707         [BZ #15856]
46708         * malloc/malloc.c (__libc_valloc): Check the value of bytes
46709         does not overflow.
46711 2013-09-11  Will Newton  <will.newton@linaro.org>
46713         [BZ #15855]
46714         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
46715         does not overflow.
46717 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
46719         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
46720         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
46721         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
46722         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
46723         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
46725 2013-09-10  Allan McRae  <allan@archlinux.org>
46727         [BZ #15748]
46728         * manual/arith.texi (Parsing of Floats): Clarify
46729         cross-reference.
46731         [BZ #15849]
46732         * manual/install.texi (Running make install): Mention
46733         --enable-pt-chown.
46734         * INSTALL: Regenerated.
46736 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
46738         * csu/init-first.c (_init): Remove the !SHARED condition around
46739         FPU control word initialization.
46740         * elf/dl-support.c (_dl_fpu_control): New variable.
46741         (_dl_aux_init) <AT_FPUCW>: Initialize it.
46742         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
46743         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
46744         * math/test-fpucw-static.c: New file.
46745         * math/test-fpucw-ieee.c: New file.
46746         * math/test-fpucw-ieee-static.c: New file.
46747         * math/Makefile (tests): Add `test-fpucw-ieee' and
46748         `$(tests-static)'.
46749         (tests-static): New variable.
46750         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
46751         dependency to...
46752         [($(build-shared),yes)]
46753         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
46754         ... this.
46755         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
46756         New dependency.
46758 2013-09-09  Allan McRae  <allan@archlinux.org>
46760         [BZ #15939]
46761         * manual/string.texi (Collation Functions): Fix typo in
46762         strcoll example.
46763         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
46765         [BZ #15893]
46766         * stdlib/isomac.c (get_null_defines): Fix memory leak.
46768         [BZ #15892]
46769         * libio/memstream.c (open_memstream): Fix memory leak.
46770         * libio/wmemstream.c (open_wmemstream): Likewise.
46772         [BZ #15895]
46773         * nscd/netgroupcache.c: Fix nesting of ifdefs.
46775 2013-09-09  Will Newton  <will.newton@linaro.org>
46777         * malloc/Makefile: Add tst-realloc to tests.
46778         * malloc/tst-realloc.c: New file.
46780 2013-09-09  Allan McRae  <allan@archlinux.org>
46782         [BZ #15844]
46783         * COPYING: Update from GNU website to fix FSF address.
46784         * COPYING.LIB: Likewise.
46786 2013-09-06  David S. Miller  <davem@davemloft.net>
46788         * po/zh_TW.po: Update Chinese (traditional) translation from
46789         translation project.
46791 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
46792             Joseph Myers  <joseph@codesourcery.com>
46794         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
46795         "localeinfo.h".
46796         (obstack_chunk_alloc): New macro.
46797         (obstack_chunk_free): Likewise.
46798         (record_offset): New function.
46799         (init_locale_data): Likewise.
46800         (align_locale_data): Likewise.
46801         (add_locale_empty): Likewise.
46802         (add_locale_raw_data): Likewise.
46803         (add_locale_raw_obstack): Likewise.
46804         (add_locale_string): Likewise.
46805         (add_locale_wstring): Likewise.
46806         (add_locale_uint32): Likewise.
46807         (add_locale_uint32_array): Likewise.
46808         (add_locale_char): Likewise.
46809         (start_locale_structure): Likewise.
46810         (end_locale_structure): Likewise.
46811         (start_locale_prelude): Likewise.
46812         (end_locale_prelude): Likewise.
46813         (write_locale_data): Take locale_file structure rather than an
46814         iovec.
46815         * locale/programs/locfile.h: Include "obstack.h".
46816         (struct locale_file): Change to store locale file contents instead
46817         of header.
46818         (init_locale_data): New prototype.
46819         (align_locale_data): Likewise.
46820         (add_locale_empty): Likewise.
46821         (add_locale_raw_data): Likewise.
46822         (add_locale_raw_obstack): Likewise.
46823         (add_locale_string): Likewise.
46824         (add_locale_wstring): Likewise.
46825         (add_locale_uint32): Likewise.
46826         (add_locale_uint32_array): Likewise.
46827         (add_locale_char): Likewise.
46828         (start_locale_structure): Likewise.
46829         (end_locale_structure): Likewise.
46830         (start_locale_prelude): Likewise.
46831         (end_locale_prelude): Likewise.
46832         (write_locale_data): Update prototype.
46833         * locale/programs/3level.h (struct TABLE): Remove result field.
46834         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
46835         Use new locale_file interface.
46836         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
46837         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
46838         * locale/programs/ld-address.c (address_output): Use new
46839         locale_file interface.
46840         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
46841         NO_ADD_LOCALE.
46842         (collate_finish): Don't call collseq_table_finalize.
46843         (collate_output): Use new locale_file interface.
46844         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
46845         in file.
46846         (NO_FINALIZE): Change to NO_ADD_LOCALE.
46847         (TABLE): Move defines earlier in file.
46848         (ELEMENT): Likewise.
46849         (DEFAULT): Likewise.
46850         (wctrans_table_add): Move macro and inline function earlier in
46851         file.
46852         (struct wctype_table): Move type earlier in file.
46853         (add_locale_wctype_table): New static prototype.
46854         (struct locale_ctype_t): Use logical types instead of struct iovec
46855         pointers for members.
46856         (ctype_output): Use new locale_file interface.
46857         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
46858         new locale_file interface.
46859         (allocate_arrays): Update for use of new locale_file interface.
46860         * locale/programs/ld-identification.c (identification_output): Use
46861         new locale_file interface.
46862         * locale/programs/ld-measurement.c (measurement_output): Likewise.
46863         * locale/programs/ld-messages.c (messages_output): Likewise.
46864         * locale/programs/ld-monetary.c (monetary_output): Likewise.
46865         * locale/programs/ld-name.c (name_output): Likewise.
46866         * locale/programs/ld-numeric.c (numeric_output): Likewise.
46867         * locale/programs/ld-paper.c (paper_output): Likewise.
46868         * locale/programs/ld-telephone.c (telephone_output): Likewise.
46869         * locale/programs/ld-time.c (time_output): Likewise.
46871 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46873         * benchtests/Makefile: Add memrchr benchmark.
46874         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
46875         benchmark as memrchr.
46876         * benchtests/bench-memrchr-ifunc.c: New file.
46877         * benchtests/bench-memrchr.c: New file.
46879 2013-09-06   Will Newton  <will.newton@linaro.org>
46881         * benchtests/Makefile (string-bench): Add memcpy.
46883 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
46884             Cong Wang  <amwang@redhat.com>
46886         [BZ #15850]
46887         * sysdeps/unix/sysv/linux/bits/in.h
46888         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
46889         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
46890         before __USE_KERNEL_IPV6_DEFS uses.
46891         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
46892         IPPROTO_BEETPH.
46893         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
46894         sockaddr_in6, or ipv6_mreq.
46896 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46898         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
46899         memory access for final bytes in some large inputs.
46900         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
46902 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46904         * string/test-memrchr.c: New file.
46905         * string/test-memrchr-ifunc.c: New file.
46906         * string/Makefile: Add new memrchr testcase.
46908 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
46910         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
46911         fanotify_init returns EPERM.
46913 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46915         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
46916         errors.
46917         (top level): Treat second token from macro or constant entries for
46918         allowed headers as allowed.
46919         * include/complex.h: Condition internal declarations on
46920         [!_ISOMAC].
46921         * include/fenv.h: Condition include of <stdbool.h> and internal
46922         declarations on [!_ISOMAC].
46924 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
46926         [BZ #15923]
46927         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
46929 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
46931         * configure.in (--enable-versioning): Remove configure option.
46932         (libc_cv_asm_symver_directive): Remove configure test.
46933         (libc_cv_ld_version_script_option): Likewise.
46934         (VERSIONING): Remove variable and AC_SUBST.
46935         (DO_VERSIONING): Remove AC_DEFINE.
46936         * configure: Regenerated.
46937         * config.h.in (DO_VERSIONING): Remove macro.
46938         * Makerules [$(versioning) = yes]: Change conditionals to
46939         [$(build-shared) = yes].
46940         * config.make.in (versioning): Remove variable.
46941         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
46942         [$(build-shared) = yes].
46943         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
46944         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
46945         * elf/Makefile [$(versioning) = yes]: Change conditionals to
46946         [$(build-shared) = yes].
46947         * extra-lib.mk [$(versioning) = yes]: Likewise.
46948         * hurd/Makefile [$(versioning) = yes]: Likewise.
46949         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
46950         [SHARED].
46951         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
46952         [SHARED].
46953         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46954         [SHARED && !NO_HIDDEN].
46955         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
46956         [SHARED].
46957         [SHARED && DO_VERSIONING]: Likewise..
46958         * libio/Makefile [$(versioning) = yes]: Change conditionals to
46959         [$(build-shared) = yes].
46960         * manual/install.texi (--disable-versioning): Remove
46961         documentation.
46962         * INSTALL: Regenerated.
46963         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
46964         to [SHARED].
46965         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
46966         [$(build-shared) = yes].
46967         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
46968         * sysdeps/i386/i686/multiarch/strstr-c.c
46969         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
46970         [SHARED && !NO_HIDDEN].
46971         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
46972         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
46973         * sysdeps/powerpc/powerpc32/dl-machine.c
46974         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
46975         * sysdeps/powerpc/powerpc32/sysdep.h
46976         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
46977         to [SHARED && PIC && !NO_HIDDEN].
46978         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
46979         conditional to [SHARED].
46981 2013-09-04   Will Newton  <will.newton@linaro.org>
46983         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
46984         * benchtests/bench-string.h: Include bench-timing.h instead
46985         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
46986         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
46987         call to HP_TIMING_DIFF_INIT.
46988         * benchtests/bench-memccpy.c: Use bench-timing.h macros
46989         instead of hp-timing.h macros.
46990         * benchtests/bench-memchr.c: Likewise.
46991         * benchtests/bench-memcmp.c: Likewise.
46992         * benchtests/bench-memcpy.c: Likewise.
46993         * benchtests/bench-memmem.c: Likewise.
46994         * benchtests/bench-memmove.c: Likewise.
46995         * benchtests/bench-memset.c: Likewise.
46996         * benchtests/bench-rawmemchr.c: Likewise.
46997         * benchtests/bench-strcasecmp.c: Likewise.
46998         * benchtests/bench-strcasestr.c: Likewise.
46999         * benchtests/bench-strcat.c: Likewise.
47000         * benchtests/bench-strchr.c: Likewise.
47001         * benchtests/bench-strcmp.c: Likewise.
47002         * benchtests/bench-strcpy.c: Likewise.
47003         * benchtests/bench-strcpy_chk.c: Likewise.
47004         * benchtests/bench-strlen.c: Likewise.
47005         * benchtests/bench-strncasecmp.c: Likewise.
47006         * benchtests/bench-strncat.c: Likewise.
47007         * benchtests/bench-strncmp.c: Likewise.
47008         * benchtests/bench-strncpy.c: Likewise.
47009         * benchtests/bench-strnlen.c: Likewise.
47010         * benchtests/bench-strpbrk.c: Likewise.
47011         * benchtests/bench-strrchr.c: Likewise.
47012         * benchtests/bench-strspn.c: Likewise.
47013         * benchtests/bench-strstr.c: Likewise.
47015 2013-09-04  Will Newton  <will.newton@linaro.org>
47017         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
47019 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
47021         [BZ #15427]
47022         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
47023         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
47024         * math/libm-test.inc (lgamma_test_data): Add more tests.
47025         * sysdeps/i386/fpu/libm-test-ulps: Update.
47026         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47028 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
47030         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
47031         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
47032         Add ifunc.
47033         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
47034         Add strcmp-sse2-unaligned
47035         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
47037 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47039         * Versions.def (libc): Add GLIBC_2.19.
47041 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
47043         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
47044         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
47046 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
47048         [BZ #14155]
47049         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
47050         intermediate calculations in recurrence.
47051         (__ieee754_ynf): Likewise.
47052         * math/libm-test.inc (jn_test_data): Do not allow spurious
47053         underflow exception.  Add more tests.
47054         (yn_test_data): Add more tests.
47055         * sysdeps/i386/fpu/libm-test-ulps: Update.
47056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47058 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
47060         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
47062 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47064         * csu/init-first.c: Fix then/than typos.
47065         * locale/programs/ld-collate.c: Likewise.
47066         * locale/programs/linereader.h: Likewise.
47067         * manual/charset.texi: Likewise.
47068         * manual/filesys.texi: Likewise.
47069         * manual/stdio.texi: Likewise.
47070         * manual/string.texi: Likewise.
47071         * stdlib/fmtmsg.c: Likewise.
47072         * sysdeps/i386/stpncpy.S: Likewise.
47073         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
47074         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
47075         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
47076         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
47078 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
47080         * elf/dl-open.c: Fix typos.
47081         * iconvdata/gbbig5.c: Likewise.
47082         * iconvdata/iso-2022-jp.c: Likewise.
47083         * iconv/gconv_int.h: Likewise.
47084         * iconv/loop.c: Likewise.
47085         * nis/rpcsvc/nis.h: Likewise.
47086         * resolv/ns_name.c: Likewise.
47087         * stdio-common/vfscanf.c: Likewise.
47088         * streams/stropts.h: Likewise.
47089         * sunrpc/rpc_thread.c: Likewise.
47090         * sysdeps/i386/strpbrk.S: Likewise.
47091         * sysdeps/ieee754/k_standard.c: Likewise.
47092         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
47093         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
47094         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
47095         * sysdeps/mach/hurd/profil.c: Likewise.
47096         * sysdeps/s390/dl-procinfo.h: Likewise.
47097         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
47098         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
47099         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
47100         * sysdeps/x86_64/dl-trampoline.S: Likewise.
47101         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
47103 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
47105         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
47106         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
47108 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
47110         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
47111         aix specific files.
47112         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
47113         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
47114         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
47115         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
47116         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
47117         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
47118         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
47119         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
47121 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47122             Roland McGrath  <roland@hack.frob.com>
47124         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
47125         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
47127 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47129         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
47130         __executable_start symbol instead of _start.
47132 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
47134         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
47135         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
47136         Move macros to...
47137         * sysdeps/gnu/ldsodefs.h: ... this new file.
47139         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
47140         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
47141         instead of ELFOSABI_LINUX.
47143         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
47144         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
47145         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
47146         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
47147         Likewise.
47148         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
47149         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
47150         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
47151         Likewise.
47152         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
47153         (ibm_extended_long_double): Add ieee_nan member.
47154         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
47155         (do_test): New function.
47157         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
47158         TEST_TRUNC.
47159         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
47160         functions, renamed from truncdfsf_test, trunctfsf_test,
47161         trunctfdf_test.
47162         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
47163         functions.
47164         (do_test): Run all these.
47166 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
47168         * argp/argp-help.c: Fix typos.
47169         * argp/argp-parse.c: Likewise.
47170         * debug/backtracesyms.c: Likewise.
47171         * elf/elf.h: Likewise.
47172         * malloc/malloc.c: Likewise.
47173         * nis/nis_print.c: Likewise.
47174         * resolv/res_comp.c: Likewise.
47175         * stdlib/stdlib.h: Likewise.
47176         * sunrpc/clnt_tcp.c: Likewise.
47177         * sunrpc/clnt_udp.c: Likewise.
47178         * sunrpc/clnt_unix.c: Likewise.
47179         * sysdeps/unix/bsd/ptsname.c: Likewise.
47180         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
47181         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
47182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
47183         Likewise.
47184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
47185         Likewise.
47186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
47187         Likewise.
47188         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
47190 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
47192         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
47193         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
47195 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
47197         [BZ #15897]
47198         * dlfcn/Makefile (tests): Add bug-dl-leaf.
47199         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
47200         ($(objpfx)bug-dl-leaf): New rule.
47201         ($(objpfx)bug-dl-leaf.so): Likewise.
47202         ($(objpfx)bug-dl-leaf.out): Likewise.
47203         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
47204         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
47205         * dlfcn/bug-dl-leaf.c: New test.
47206         * dlfcn/bug-dl-leaf-lib.c: Likewise.
47207         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
47208         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
47209         (dlclose): Likewise.
47210         (dlmopen): Likewise.
47212 2013-08-27  Roland McGrath  <roland@hack.frob.com>
47214         * include/netdb.h [!_ISOMAC]:
47215         Don't include <tls.h>.
47216         (h_errno, __libc_h_errno): Move declaration and macros out of
47217         [_LIBC_REENTRANT].
47219         * include/resolv.h [_RESOLV_H_]:
47220         Don't include <tls.h>.
47221         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
47222         * resolv/res_libc.c: Don't include <tls.h>.
47223         (_res): Use __attribute__ ((nocommon)) in place of
47224         __attribute__ ((section (".bss"))).
47226         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
47227         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
47229         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
47231         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
47232         only under [SIOCGIFCONF && SIOCGIFNETMASK].
47234         * resolv/res_mkquery.c: Include <sys/time.h>.
47236         * inet/ifreq.c: Moved to ...
47237         * sysdeps/unix/ifreq.c: ... here.
47238         * inet/ifreq.c: New file, true stub version.
47240         * socket/sa_len.c: New file.
47241         * socket/Makefile (aux): Add it.
47242         * sysdeps/unix/sysv/linux/Makefile
47243         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
47244         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
47245         and #include <socket/sa_len.c>.
47246         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
47247         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
47249         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
47250         * bits/socket.h: ... here.
47252         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
47253         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
47254         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
47256 2013-08-27  Andreas Schwab  <schwab@suse.de>
47258         [BZ #15736]
47259         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
47260         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
47261         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
47262         * string/test-strcasecmp.c (test_main): Run tests in several
47263         locales.
47264         * string/test-strncasecmp.c (test_main): Likewise.
47266         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
47267         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
47268         to __strcasecmp_nonascii and __strncasecmp_nonascii.
47269         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
47270         (__strncasecmp_ssse3) [PIC]: Likewise.
47272 2013-08-26  Roland McGrath  <roland@hack.frob.com>
47274         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
47276         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
47277         instead of explicitly declaring xdecrypt.
47278         * nis/nss_nis/nis-publickey.c: Likewise.
47280 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47282         [BZ #15890]
47283         * nscd/aicache.c: Include res_hconf.h.
47284         (addhstaiX): Initialize res_hconf.
47286 2013-08-26  Andreas Schwab  <schwab@suse.de>
47288         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
47289         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
47291 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
47293         * nscd/aicache.c (addhstaiX): Fix indentation.
47295 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
47297         * configure.ac: Quote $build_pt_chown test.
47298         * configure: Regenerated.
47300 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
47302         [BZ #15532]
47303         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
47304         * math/s_cexpf.c (__cexpf): Likewise.
47305         * math/s_cexpl.c (__cexpl): Likewise.
47306         * math/libm-test.inc (cexp_test_data): Correct expected return
47307         value for NaN + i0.  Add another test.
47309 2013-08-22  David S. Miller  <davem@davemloft.net>
47311         * po/ca.po: Update Catalan translation from translation project.
47312         * po/uk.po: Add Ukrainian translations from translation project.
47314 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
47316         [BZ #15797]
47317         * math/s_fdim.c (__fdim): Check for infinite arguments if result
47318         is infinite, not alongside NaN test.
47319         * math/s_fdimf.c (__fdimf): Likewise.
47320         * math/s_fdiml.c (__fdiml): Likewise.
47321         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
47322         errno is unchanged.
47324 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
47326         * argp/argp-help.c: Fix typos.
47327         * crypt/speeds.c: Likewise.
47328         * csu/check_fds.c: Likewise.
47329         * elf/dl-load.c: Likewise.
47330         * elf/dl-open.c: Likewise.
47331         * elf/reldep3.c: Likewise.
47332         * elf/reldep.c: Likewise.
47333         * elf/sprof.c: Likewise.
47334         * iconv/iconv_charmap.c: Likewise.
47335         * iconv/skeleton.c: Likewise.
47336         * iconv/strtab.c: Likewise.
47337         * io/lockf64.c: Likewise.
47338         * libio/libioP.h: Likewise.
47339         * resolv/gai_notify.c: Likewise.
47340         * resolv/ns_name.c: Likewise.
47341         * resolv/ns_samedomain.c: Likewise.
47342         * resolv/res_send.c: Likewise.
47343         * stdlib/random.c: Likewise.
47344         * sunrpc/rpc/xdr.h: Likewise.
47345         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
47346         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47347         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47348         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47349         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47350         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47351         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47352         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47353         * sysdeps/mach/hurd/check_fds.c: Likewise.
47354         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
47355         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
47356         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
47357         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
47358         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
47359         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
47360         * sysdeps/pthread/aio_notify.c: Likewise.
47361         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
47362         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
47363         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
47364         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
47365         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
47367 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47369         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
47370         version if bit_Slow_SSE4_2 is set.
47371         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47372         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47374 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47376         [BZ #15867]
47377         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
47378         trampoline stack frame information.
47379         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
47380         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
47381         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
47382         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
47383         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
47384         * sysdeps/unix/sysv/linux/powerpc/init-first.c
47385         (_libc_vdso_platform_setup): Initialize the signal trampolines.
47386         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
47387         sa_flags value.
47388         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
47389         interrupting a syscall and set with option SA_SIGINFO.
47391 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47393         [BZ #15531]
47394         * math/s_cproj.c (__cproj): Only return an infinity if one part of
47395         argument is infinite.
47396         * math/s_cprojf.c (__cprojf): Likewise.
47397         * math/s_cprojl.c (__cprojl): Likewise.
47398         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
47399         * math/libm-test.inc (cproj_test_data): Add more tests.
47401         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
47403         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
47404         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
47405         size.  Use __ffs to determine corresponding shift.
47407 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
47408             Roland McGrath  <roland@hack.frob.com>
47410         * Makefile (INSTALL): Remove trailing blank lines from output of
47411         makeinfo.
47413 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47415         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
47416         Align 32 bit compat elf_greg to 8 bytes.
47418 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
47420         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
47422 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
47424         * string/strcoll_l.c (coll_seq): New structure.
47425         (get_next_seq_cached): New function.
47426         (get_next_seq): New function.
47427         (do_compare): New function.
47428         (STRCOLL): Use GNU style definition.  Simplify implementation
47429         by using get_next_seq, get_next_seq_cached and do_compare.
47431 2013-08-16  Florian Weimer  <fweimer@redhat.com>
47433         [BZ #14699]
47434         CVE-2013-4237
47435         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
47436         member.
47437         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
47438         member.
47439         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
47440         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
47441         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
47442         conditional.
47443         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
47444         GETDENTS_64BIT_ALIGNED.
47445         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
47446         * manual/filesys.texi (Reading/Closing Directory): Document
47447         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
47448         strongly.
47449         * manual/conf.texi (Limits for Files): Add portability note to
47450         NAME_MAX, PATH_MAX.
47451         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
47453 2013-08-13  Andreas Schwab  <schwab@suse.de>
47455         [BZ #15749]
47456         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
47457         of fabs.
47458         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
47459         LDBL_MAX_EXP >= 16384]: Add tests for it.
47461 2013-08-12  David S. Miller  <davem@davemloft.net>
47463         * version.h (RELEASE): Set to "development".
47464         (VERSION): Set to "2.18.90".
47465         * NEWS: Add 2.19 section.
47467 2013-08-03  David S. Miller  <davem@davemloft.net>
47469         * po/ko.po: Update Korean translation from translation project.
47471 2013-08-01  David S. Miller  <davem@davemloft.net>
47473         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
47474         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
47475         Bilka.
47477 2013-07-30  David S. Miller  <davem@davemloft.net>
47479         * po/fr.po: Update French translation from translation project.
47481 2013-07-28  David S. Miller  <davem@davemloft.net>
47483         * po/cs.po: Update Czech translation from translation project.
47485         * po/sv.po: Update Swedish translation from translation project.
47487 2013-07-27  David S. Miller  <davem@davemloft.net>
47489         * po/eo.po: Update Esperanto translation from translation project.
47491         * po/vi.po: Update Vietnamese translation from translation project.
47493         * po/de.po: Update German translation from translation project.
47495 2013-07-26  David S. Miller  <davem@davemloft.net>
47497         * po/bg.po: Update Bulgarian translation from translation project.
47499         * po/nl.po: Update Dutch translation from translation project.
47500         * po/pl.po: Update Polish translation from translation project.
47501         * po/ru.po: Update Russian translation from translation project.
47503 2013-07-24  David S. Miller  <davem@davemloft.net>
47505         * po/libc.pot: Update.
47507 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47509         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
47510         variable page size.
47511         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
47512         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
47513         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
47515 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
47517         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
47519 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
47520             Andreas Schwab  <schwab@suse.de>
47521             Roland McGrath  <roland@hack.frob.com>
47522             Joseph Myers  <joseph@codesourcery.com>
47523             Carlos O'Donell  <carlos@redhat.com>
47525         [BZ #15755]
47526         * config.h.in: Define HAVE_PT_CHOWN.
47527         * config.make.in (build-pt-chown): New variable.
47528         * configure.in (--enable-pt_chown): New configure option.
47529         * configure: Regenerate.
47530         * login/Makefile: Include Makeconfig.  Build pt_chown only if
47531         build-pt-chown is enabled.
47532         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
47533         pt_chown to fix pty ownership.
47534         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
47535         CLOSE_ALL_FDS.
47536         * manual/install.texi (Configuring and compiling): Mention
47537         --enable-pt_chown. Add @findex for grantpt.
47538         * INSTALL: Regenerate.
47540 2013-07-20  David S. Miller  <davem@davemloft.net>
47542         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
47543         difference between 32-bit and 64-bit.
47545 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
47547         [BZ #15711]
47548         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
47549         Avoid system header dependency with -ffreestanding.
47550         ($(objpfx)bits/syscall%d): Likewise.
47552 2013-07-13  David S. Miller  <davem@davemloft.net>
47554         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
47555         underflows from atanl/atan2l due to bug 15319.
47556         (casinh_test_data): Likewise.
47558 2013-07-07  David S. Miller  <davem@davemloft.net>
47560         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
47562 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
47564         * sysdeps/i386/fpu/libm-test-ulps: Update.
47565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47567 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
47569         * configure.in (--enable-lock-elision): Fix message text.
47570         * INSTALL: Regenerate.
47571         * configure: Regenerate.
47573 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47577 2013-07-03  Andreas Jaeger  <aj@suse.de>
47579         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
47580         define.
47581         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
47582         (ptrace_peeksiginfo_args): Add.
47583         (__ptrace_peeksiginfo_flags): Add.
47584         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
47585         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
47586         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
47588 2013-07-03  Allan McRae  <allan@archlinux.org>
47590         * sysdeps/i386/fpu/libm-test-ulps: Update.
47592 2013-07-02  David S. Miller  <davem@davemloft.net>
47594         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47596 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
47598         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47600 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47602         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
47603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47605 2013-07-02  Andi Kleen <ak@linux.intel.com>
47607         * config.h.in (ENABLE_LOCK_ELISION): Add.
47608         * configure.in (--enable-lock-elision): Add option.
47609         * manual/install.texi: Document --enable lock elision.
47610         * configure: Regenerate
47611         * INSTALL: Regenerate.
47613 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
47615         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
47616         SSE4.2 strcasecmp for libc.a.
47617         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
47619 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
47621         [BZ #13304]
47622         * soft-fp/op-common.h (_FP_FMA): New macro.
47623         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
47624         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
47625         (_FP_MUL_MEAT_1_imm): ... here.
47626         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
47627         (_FP_MUL_MEAT_1_wide): ... here.
47628         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
47629         (_FP_MUL_MEAT_1_hard): ... here.
47630         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
47631         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
47632         (_FP_MUL_MEAT_2_wide): ... here.
47633         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
47634         (_FP_MUL_MEAT_2_wide_3mul): ... here.
47635         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
47636         (_FP_MUL_MEAT_2_gmp): ... here.
47637         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
47638         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
47639         (_FP_MUL_MEAT_4_wide): ... here.
47640         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
47641         (_FP_MUL_MEAT_4_gmp): ... here.
47642         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
47643         (_FP_WFRACBITS_DW_S): Likewise.
47644         (_FP_WFRACXBITS_DW_S): Likewise.
47645         (_FP_HIGHBIT_DW_S): Likewise.
47646         (FP_FMA_S): Likewise.
47647         (_FP_FRAC_HIGH_DW_S): Likewise.
47648         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
47649         (_FP_WFRACBITS_DW_D): Likewise.
47650         (_FP_WFRACXBITS_DW_D): Likewise.
47651         (_FP_HIGHBIT_DW_D): Likewise.
47652         (FP_FMA_D): Likewise.
47653         (_FP_FRAC_HIGH_DW_D): Likewise.
47654         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
47655         (_FP_WFRACBITS_DW_E): Likewise.
47656         (_FP_WFRACXBITS_DW_E): Likewise.
47657         (_FP_HIGHBIT_DW_E): Likewise.
47658         (FP_FMA_E): Likewise.
47659         (_FP_FRAC_HIGH_DW_E): Likewise.
47660         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
47661         (_FP_WFRACBITS_DW_Q): Likewise.
47662         (_FP_WFRACXBITS_DW_Q): Likewise.
47663         (_FP_HIGHBIT_DW_Q): Likewise.
47664         (FP_FMA_Q): Likewise.
47665         (_FP_FRAC_HIGH_DW_Q): Likewise.
47666         * soft-fp/fmasf4.c: New file.
47667         * soft-fp/fmadf4.c: Likewise.
47668         * soft-fp/fmatf4.c: Likewise.
47670 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47672         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
47673         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
47674         Silvermont.
47675         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
47676         macro.
47677         (index_Slow_SSE4_2): Likewise.
47678         (index_Prefer_PMINUB_for_stringop): Likewise.
47679         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
47680         bit_Slow_SSE4_2 is set.
47681         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
47682         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
47684 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47686         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
47687         rtld_global._dl_hwcap2.
47688         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
47689         POWER8.
47690         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
47691         POWER8 feature descriptions defined in _dl_hwcap2.
47692         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
47693         string handling for POWER8 feature bits.
47694         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
47695         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
47696         _dl_powerpc_cap_flags.
47697         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
47698         * sysdeps/powerpc/rtld-global-offsets.sym
47699         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
47700         _dl_hwcap2 in the rtld_global_ro structure.
47702 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47704         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
47705         hardware capabilities in support of AT_HWCAP2.
47706         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
47707         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
47708         GLRO(dl_hwcap2).
47709         (_dl_show_auxv): Add support for calling _dl_procinfo to display
47710         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
47711         explicitly the unknown a_type display mechanism is used.
47712         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
47713         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
47714         struct member.
47715         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
47716         to macro prototype for AT_HWCAP2 support.
47717         * sysdeps/i386/dl-procinfo.h: Likewise.
47718         * sysdeps/s390/dl-procinfo.h: Likewise.
47719         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
47720         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
47721         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
47722         return -1 for unknown a_type display fallback.
47723         * sysdeps/sparc/dl-procinfo.h: Likewise.
47724         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
47725         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
47727 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
47729         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
47730         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
47732 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
47734         [BZ #12492]
47735         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
47736         mprotect making __stack_prot writable.
47738 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
47739             Joseph Myers  <joseph@codesourcery.com>
47741         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
47742         as being properly aligned.
47744 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
47746         * dlfcn/modstatic5.c: New file.
47747         * dlfcn/tststatic5.c: New file.
47748         * dlfcn/Makefile (tests): Add tststatic5.
47749         (tests-static): Likewise.
47750         (modules-names): Add modstatic5.
47751         (tststatic5-ENV): New variable.
47752         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
47754         [BZ #15022]
47755         * elf/dl-support.c (_dl_main_map): New variable.
47756         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
47757         (_dl_nns, _dl_load_adds): Set to 1.
47758         (_dl_initial_searchlist): Refer to _dl_main_map.
47759         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
47760         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
47761         call to _dl_get_origin.
47762         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
47763         around call_map.
47764         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
47765         * dlfcn/modstatic3.c: New file.
47766         * dlfcn/tststatic3.c: New file.
47767         * dlfcn/tststatic4.c: New file.
47768         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
47769         (tests-static): Likewise.
47770         (modules-names): Add modstatic3.
47771         (tststatic3-ENV, tststatic4-ENV): New variables.
47772         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
47773         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
47775 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
47777         * configure.in (CC): Require GCC version 4.4 or later.
47778         * configure: Regenerated.
47779         * manual/install.texi (Tools for Compilation): Update GCC version
47780         requirement.
47781         * INSTALL: Regenerated.
47783 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47785         [BZ #15674]
47786         * string/test-memcmp.c (check2): New.
47787         (main): Call check2.
47789         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
47791 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
47793         [BZ #15022]
47794         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
47795         over to...
47796         (dl_open_worker) [!SHARED]: ... here.
47798 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47800         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
47802 2013-06-25  Richard Henderson  <rth@redhat.com>
47804         * locale/programs/locarchive.c: Include <libc-internal.h>
47806 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
47808         * manual/texinfo.tex: Update to version 2013-06-21.17, with
47809         trailing whitespace removed.
47811 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47813         [BZ #10283]
47814         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
47815         * locale/programs/locarchive.c: Include libc-mmap.h.
47816         (prepare_address_space): Take two new outputs (the mmap base and len).
47817         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
47818         values.
47819         (create_archive): Declare new mmap base and len values for
47820         prepare_address_space, and store the result in ah.
47821         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
47822         (enlarge_archive): If ah->mmap_base is not NULL, use that and
47823         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47824         Declare new mmap base and len values for
47825         prepare_address_space, and store the result in new_ah.
47826         (open_archive): Declare new mmap base and len values for
47827         prepare_address_space, and store the result in ah.
47828         (close_archive): If ah->mmap_base is not NULL, use that and
47829         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
47830         * sysdeps/generic/libc-mmap.h: New file.
47832 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
47834         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
47835         (ALIGN_UP): Likewise.
47836         (PTR_ALIGN_DOWN): Likewise.
47837         (PTR_ALIGN_UP): Likewise.
47839 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
47841         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
47842         entry mapped to PPC_PLATFORM_POWER8.
47843         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
47844         POWER8.
47845         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
47846         (_dl_string_platform): Add case for exporting platform position for
47847         POWER8.
47848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
47849         search path to sysdeps/powerpc/powerpc32/power8 directory.
47850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
47851         search path to sysdeps/powerpc/powerpc64/power8 directory.
47852         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
47853         power7 directories.
47854         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
47855         power7 directories.
47857 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
47859         * INSTALL: Regenerate.
47861         * nscd/connections.c (nscd_init): Fix comment.
47863 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
47865         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
47867         [BZ #15667]
47868         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
47869         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
47871 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47873         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
47874         DL_DST_REQ_STATIC.
47875         (DL_DST_REQ_STATIC): Remove macro.
47877 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
47879         [BZ #7006]
47880         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
47881         with a shift of 0 bits.
47883 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
47885         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
47886         $(tststatic-ENV).
47888 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
47890         [BZ #15655]
47891         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
47893 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47895         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
47896         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
47897         accepts -fno-tree-loop-distribute-patterns.
47898         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
47899         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
47900         recursive call.
47901         * string/memset.c (memset): Likewise.
47902         * string/test-memmove.c (simple_memmove): Disable loop transformation
47903         to library calls.
47904         * string/test-memset.c (simple_memset): Likewise.
47905         * benchtests/bench-memmove.c (simple_memmove): Likewise.
47906         * benchtests/bench-memset.c (simple_memset): Likewise.
47907         * configure: Regenerated.
47909 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
47911         * math/test-misc.c (main): Ignore fesetround failure when failures
47912         of subsequent rounding tests would be ignored.
47914         [BZ #15654]
47915         * math/fedisblxcpt.c (fedisableexcept): Return 0.
47916         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
47917         * math/fegetenv.c (__fegetenv): Return 0.
47918         * math/fegetexcept.c (fegetexcept): Return 0.
47919         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
47920         FE_TONEAREST.
47921         * math/feholdexcpt.c (feholdexcept): Return 0.
47922         * math/fesetenv.c (__fesetenv): Return 0.
47923         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
47924         argument FE_TONEAREST.
47925         * math/feupdateenv.c (__feupdateenv): Return 0.
47926         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
47928 2013-06-18  Roland McGrath  <roland@hack.frob.com>
47930         * elf/rtld-Rules (rtld-compile-command.S): New variable.
47931         (rtld-compile-command.s, rtld-compile-command.c): New variables.
47932         ($(objpfx)rtld-%.os rules): Use them.
47934 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47936         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
47937         fields.
47939 2013-06-17  Roland McGrath  <roland@hack.frob.com>
47941         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
47942         length of target pattern, then descending length of dependency pattern.
47943         * configure.in (AWK): Require gawk 3.1.2 or newer.
47944         * manual/install.texi (Tools for Compilation): Say that we do.
47945         * configure: Regenerated.
47947         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
47948         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
47949         * scripts/sysd-rules.awk: ... this new script.
47950         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
47951         than a glob-style pattern.
47953 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
47955         * math/test-misc.c (main): Do not treat incorrectly rounded
47956         conversions as failure unless ROUNDING_TESTS passes.
47958 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
47960         [BZ #15631]
47961         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
47962         restore exception state around main square root computation, then
47963         check for inexactness explicitly.
47965         * math/libm-test.inc (fma_test_data): Add another test.
47967 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
47969         * manual/threads.texi (Non-POSIX Extensions): New document
47970         node.  Document pthread_getattr_default_np and
47971         pthread_setattr_default_np.
47973         * Versions.def (libpthread): Add GLIBC_2.18.
47974         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
47975         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
47976         Likewise.
47977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
47978         Likewise.
47979         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
47980         Likewise.
47981         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
47982         Likewise.
47983         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
47984         Likewise.
47985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
47986         Likewise.
47987         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
47988         Likewise.
47989         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
47990         Likewise.
47991         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
47992         Likewise.
47994 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
47996         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
47997         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
47999 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
48000             H.J. Lu  <hjl.tools@gmail.com>
48002         [BZ #15627]
48003         * sysdeps/x86_64/rtld-memset.c: Remove file.
48004         * sysdeps/x86_64/rtld-memset.S: New file.
48006 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
48008         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
48009         (test_in_one_mode): Take arguments for whether the rounding mode
48010         is supported for each floating-point type.
48011         (do_test): Pass new arguments to test_in_one_mode using
48012         ROUNDING_TESTS.
48014 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48016         * posix/tst-waitid.c (do_test): Distinguish different instances of
48017         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
48018         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
48019         before entering the kernel for waitpid.
48021 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48023         * NEWS: Fix note on clock function precision.  Text by Roland
48024         McGrath.
48026 2013-06-13  Roland McGrath  <roland@hack.frob.com>
48028         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
48029         it into place only when and if the sanity check passes.
48031 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
48033         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
48034         output for whether conversion result is exact.  Take argument
48035         indicating whether type is IBM long double.
48036         (round_for_all): Change need_exact field to ibm_ld.
48037         * stdlib/tst-strtod-round.c (struct exactness): New type.
48038         (struct test): Change bool ld_ok field to struct exactness exact.
48039         (TEST): Update all definitions for change to field.
48040         (tests): Regenerate array contents.
48041         (test_in_one_mode): Take pointer to new field instead of old ld_ok
48042         field value.  Check for IBM long double here.
48043         (do_test): Update calls to test_in_one_mode.
48045 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
48047         [BZ #12515]
48048         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
48049         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
48051 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48053         [BZ #15605]
48054         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
48055         generated by the compiler on loop optimizations.
48056         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
48057         general definitions.
48059 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
48061         * math/bug-nextafter.c: Include <math-tests.h>.
48062         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48063         the relevant type.
48064         * math/bug-nexttoward.c: Include <math-tests.h>.
48065         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48066         the relevant type.
48067         * math/test-misc.c: Include <math-tests.h>.
48068         (main): Only test for exceptions if EXCEPTION_TESTS is true for
48069         the relevant type.
48071 2013-06-12  Andreas Jaeger  <aj@suse.de>
48073         * po/ia.po: Update Interlingua translation from translation
48074         project.
48076 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
48078         * include/fenv.h: Include stdbool.h.
48079         (struct rm_ctx): New structure.
48080         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
48081         Define macro.
48082         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
48083         (SET_RESTORE_ROUNDF): Likewise.
48084         (SET_RESTORE_ROUNDL): Likewise.
48085         (SET_RESTORE_ROUND_NOEX): Likewise.
48086         (SET_RESTORE_ROUND_NOEXF): Likewise.
48087         (SET_RESTORE_ROUND_NOEXL): Likewise.
48088         (SET_RESTORE_ROUND_53BIT): Likewise.
48089         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
48090         (libc_feresetround_noexf_ctx): Likewise.
48091         (libc_feresetround_noexl_ctx): Likewise.
48092         (libc_feholdsetround_53bit_ctx): Likewise.
48093         (libc_feresetround_53bit_ctx): Likewise.
48094         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
48095         (libc_feholdexcept_setround_sse_ctx): New function.
48096         (libc_fesetenv_sse_ctx): Likewise.
48097         (libc_feupdateenv_sse_ctx): Likewise.
48098         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
48099         (libc_feholdexcept_setround_387_ctx): Likewise.
48100         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
48101         (libc_feholdsetround_387_prec_ctx): Likewise.
48102         (libc_feholdsetround_387_ctx): Likewise.
48103         (libc_feholdsetround_387_53bit_ctx): Likewise.
48104         (libc_feholdsetround_sse_ctx): Likewise.
48105         (libc_feresetround_sse_ctx): Likewise.
48106         (libc_feresetround_387_ctx): Likewise.
48107         (libc_feupdateenv_387_ctx): Likewise.
48108         (libc_feholdexcept_setroundf_ctx): Define macro.
48109         (libc_fesetenvf_ctx): Likewise.
48110         (libc_feupdateenvf_ctx): Likewise.
48111         (libc_feholdsetroundf_ctx): Likewise.
48112         (libc_feresetroundf_ctx): Likewise.
48113         (libc_feholdexcept_setround_ctx): Likewise.
48114         (libc_fesetenv_ctx): Likewise.
48115         (libc_feupdateenv_ctx): Likewise.
48116         (libc_feholdsetround_ctx): Likewise.
48117         (libc_feresetround_ctx): Likewise.
48118         (libc_feholdexcept_setroundl_ctx): Likewise.
48119         (libc_feupdateenvl_ctx): Likewise.
48120         (libc_feholdsetroundl_ctx): Likewise.
48121         (libc_feresetroundl_ctx): Likewise.
48122         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
48123         (libc_feresetround_53bit_ctx): Likewise.
48125 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48127         * locale/iso-639.def: Convert to UTF-8.
48129 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
48131         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
48132         (EXCEPTION_TESTS_double): Likewise.
48133         (EXCEPTION_TESTS_long_double): Likewise.
48134         (EXCEPTION_TESTS): Likewise.
48135         * math/libm-test.inc (test_exceptions): Only test exceptions if
48136         EXCEPTION_TESTS (FLOAT).
48138 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48140         * benchtests/Makefile (string-bench): Add strcpy_chk and
48141         stpcpy_chk.
48142         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
48143         * benchtests/bench-stpcpy_chk.c: New file.
48144         * benchtests/bench-strcpy_chk-ifunc.c: New file.
48145         * benchtests/bench-strcpy_chk.c: New file.
48146         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
48147         code.
48148         (do_test): Likewise.
48150 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48152         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
48153         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
48154         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
48155         with tabs where appropriate.
48156         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
48157         dl-procinfo.h.
48158         [PPC_PLATFORM_PPC440]: Likewise.
48159         [PPC_PLATFORM_PPC464]: Likewise.
48160         [PPC_PLATFORM_PPC476]: Likewise.
48161         (_dl_string_platform): Add support for detecting ppc405, ppc440,
48162         ppc464, and ppc476 platform strings merging from ports/
48163         dl-procinfo.h.
48165 2013-06-11  Andreas Schwab  <schwab@suse.de>
48167         [BZ #14991]
48168         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
48169         (from_ucs4_idx): Regenerate.
48170         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
48171         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
48172         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
48173         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
48174         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
48175         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
48176         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
48177         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
48178         from FROM_LOOP and TO_LOOP specific macros.
48179         (BODY): Handle combining characters.
48180         * iconvdata/BIG5HKSCS.irreversible: Update.
48181         * iconvdata/BIG5HKSCS.precomposed: New file.
48182         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
48183         characters.
48184         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
48186 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48188         * include/sys/time.h: Fix indentation and add copyright header.
48190         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
48191         (do_test): Likewise.
48192         * string/test-memchr.c (do_one_test): Likewise.
48193         (do_test): Likewise.
48194         * string/test-memcmp.c (do_one_test): Likewise.
48195         (do_test): Likewise.
48196         * string/test-memcpy.c (do_one_test): Likewise.
48197         (do_test): Likewise.
48198         * string/test-memmem.c (do_one_test): Likewise.
48199         (do_test): Likewise.
48200         (do_random_tests): Likewise.
48201         * string/test-memmove.c (do_one_test): Likewise.
48202         (do_test): Likewise.
48203         * string/test-memset.c (do_one_test): Likewise.
48204         (do_test): Likewise.
48205         * string/test-rawmemchr.c (do_one_test): Likewise.
48206         (do_test): Likewise.
48207         * string/test-strcasecmp.c (do_one_test): Likewise.
48208         (do_test): Likewise.
48209         * string/test-strcasestr.c (do_one_test): Likewise.
48210         (do_test): Likewise.
48211         * string/test-strcat.c (do_one_test): Likewise.
48212         (do_test): Likewise.
48213         * string/test-strchr.c (do_one_test): Likewise.
48214         (do_test): Likewise.
48215         * string/test-strcmp.c (do_one_test): Likewise.
48216         (do_test): Likewise.
48217         * string/test-strcpy.c (do_one_test): Likewise.
48218         (do_test): Likewise.
48219         * string/test-string.h: Likewise.
48220         (test_init): Likewise.
48221         * string/test-strlen.c (do_one_test): Likewise.
48222         (do_test): Likewise.
48223         * string/test-strncasecmp.c (do_one_test): Likewise.
48224         (do_test): Likewise.
48225         * string/test-strncat.c (do_one_test): Likewise.
48226         (do_test): Likewise.
48227         * string/test-strncmp.c (do_one_test): Likewise.
48228         (do_test_limit): Likewise.
48229         (do_test): Likewise.
48230         * string/test-strncpy.c (do_one_test): Likewise.
48231         (do_test): Likewise.
48232         * string/test-strnlen.c (do_one_test): Likewise.
48233         (do_test): Likewise.
48234         * string/test-strpbrk.c (do_one_test): Likewise.
48235         (do_test): Likewise.
48236         * string/test-strrchr.c (do_one_test): Likewise.
48237         (do_test): Likewise.
48238         * string/test-strspn.c (do_one_test): Likewise.
48239         (do_test): Likewise.
48240         * string/test-strstr.c (do_one_test): Likewise.
48241         (do_test): Likewise.
48243         * benchtests/Makefile (string-bench): Add string benchmarks.
48244         * benchtests/bench-bcopy-ifunc.c: New file.
48245         * benchtests/bench-bcopy.c: New file.
48246         * benchtests/bench-bzero-ifunc.c: New file.
48247         * benchtests/bench-bzero.c: New file.
48248         * benchtests/bench-memccpy-ifunc.c: New file.
48249         * benchtests/bench-memccpy.c: New file.
48250         * benchtests/bench-memchr-ifunc.c: New file.
48251         * benchtests/bench-memchr.c: New file.
48252         * benchtests/bench-memcmp-ifunc.c: New file.
48253         * benchtests/bench-memcmp.c: New file.
48254         * benchtests/bench-memmem-ifunc.c: New file.
48255         * benchtests/bench-memmem.c: New file.
48256         * benchtests/bench-memmove-ifunc.c: New file.
48257         * benchtests/bench-memmove.c: New file.
48258         * benchtests/bench-mempcpy-ifunc.c: New file.
48259         * benchtests/bench-mempcpy.c: New file.
48260         * benchtests/bench-memset-ifunc.c: New file.
48261         * benchtests/bench-memset.c: New file.
48262         * benchtests/bench-rawmemchr-ifunc.c: New file.
48263         * benchtests/bench-rawmemchr.c: New file.
48264         * benchtests/bench-stpcpy-ifunc.c: New file.
48265         * benchtests/bench-stpcpy.c: New file.
48266         * benchtests/bench-stpncpy-ifunc.c: New file.
48267         * benchtests/bench-stpncpy.c: New file.
48268         * benchtests/bench-strcasecmp-ifunc.c: New file.
48269         * benchtests/bench-strcasecmp.c: New file.
48270         * benchtests/bench-strcasestr-ifunc.c: New file.
48271         * benchtests/bench-strcasestr.c: New file.
48272         * benchtests/bench-strcat-ifunc.c: New file.
48273         * benchtests/bench-strcat.c: New file.
48274         * benchtests/bench-strchr-ifunc.c: New file.
48275         * benchtests/bench-strchr.c: New file.
48276         * benchtests/bench-strchrnul-ifunc.c: New file.
48277         * benchtests/bench-strchrnul.c: New file.
48278         * benchtests/bench-strcmp-ifunc.c: New file.
48279         * benchtests/bench-strcmp.c: New file.
48280         * benchtests/bench-strcpy-ifunc.c: New file.
48281         * benchtests/bench-strcpy.c: New file.
48282         * benchtests/bench-strcspn-ifunc.c: New file.
48283         * benchtests/bench-strcspn.c: New file.
48284         * benchtests/bench-strlen-ifunc.c: New file.
48285         * benchtests/bench-strlen.c: New file.
48286         * benchtests/bench-strncasecmp-ifunc.c: New file.
48287         * benchtests/bench-strncasecmp.c: New file.
48288         * benchtests/bench-strncat-ifunc.c: New file.
48289         * benchtests/bench-strncat.c: New file.
48290         * benchtests/bench-strncmp-ifunc.c: New file.
48291         * benchtests/bench-strncmp.c: New file.
48292         * benchtests/bench-strncpy-ifunc.c: New file.
48293         * benchtests/bench-strncpy.c: New file.
48294         * benchtests/bench-strnlen-ifunc.c: New file.
48295         * benchtests/bench-strnlen.c: New file.
48296         * benchtests/bench-strpbrk-ifunc.c: New file.
48297         * benchtests/bench-strpbrk.c: New file.
48298         * benchtests/bench-strrchr-ifunc.c: New file.
48299         * benchtests/bench-strrchr.c: New file.
48300         * benchtests/bench-strspn-ifunc.c: New file.
48301         * benchtests/bench-strspn.c: New file.
48302         * benchtests/bench-strstr-ifunc.c: New file.
48303         * benchtests/bench-strstr.c: New file.
48305         * benchtests/Makefile: Disable parallel execution of targets.
48306         (string-bench): Add memcpy.
48307         (benchset): New variable to store a list of benchmark sets.
48308         (bench-func): Renamed from bench.
48309         (bench-set): New target.
48310         (bench): Depend on bench-func and bench-set.
48311         * benchtests/README: Add section on benchmark sets.
48312         * benchtests/bench-memcpy-ifunc.c: New file.
48313         * benchtests/bench-memcpy.c: New file.
48314         * benchtests/bench-string.h: New file.
48316 2013-06-11  Andreas Schwab  <schwab@suse.de>
48318         [BZ #15577]
48319         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
48320         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
48321         values in the triple.
48322         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
48323         terminator in the group key.
48325 2013-06-11  Andreas Jaeger  <aj@suse.de>
48327         * po/zh_TW.po: Update Chinese (traditional) translation from
48328         translation project.
48330 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
48332         * include/time.h (__clock_gettime): Add libc_hidden_proto.
48333         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
48334         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
48335         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
48336         (clock_getcpuclockid): Likewise.
48337         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
48338         Add weak_alias and libc_hidden_def.
48339         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
48340         * rt/clock_gettime.c (clock_gettime): Rename to
48341         __clock_gettime.  Add weak_alias and libc_hidden_def.
48342         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
48343         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
48344         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
48345         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
48346         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
48347         Likewise.
48348         * rt/clock_settime.c (clock_settime): Rename to
48349         __clock_settime.  Add weak_alias and libc_hidden_def.
48350         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
48352 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
48354         * mach/err_boot.sub: Remove trailing whitespace.
48355         * mach/err_ipc.sub: Likewise.
48356         * mach/err_mach.sub: Likewise.
48358         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
48359         (ROUNDING_TESTS_double): Likewise.
48360         (ROUNDING_TESTS_long_double): Likewise.
48361         (ROUNDING_TESTS): Likewise.
48362         * math/libm-test.inc: Include <math-tests.h>.
48363         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
48364         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
48365         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
48366         (IF_ROUND_INIT_FE_UPWARD): Likewise.
48368 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
48370         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
48371         of assigning.
48373 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
48375         * sysdeps/gnu/errlist.awk: Do not generate space at end of
48376         otherwise empty TRANS lines.
48377         * sysdeps/gnu/errlist.c: Regenerated.
48379         * catgets/gencat.c (error_print): Use (void) in function
48380         definition.
48381         * crypt/crypt_util.c (__init_des): Likewise.
48382         * crypt/speeds.c (Stop): Likewise.
48383         (main): Likewise.
48384         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
48385         * inet/ruserpass.c (token): Likewise.
48386         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
48387         * intl/localealias.c (extend_alias_table): Likewise.
48388         * intl/plural-exp.c (init_germanic_plural): Likewise.
48389         * libio/fcloseall.c (__fcloseall): Likewise.
48390         * libio/genops.c (_IO_flush_all): Likewise.
48391         (_IO_flush_all_linebuffered): Likewise.
48392         (_IO_cleanup): Likewise.
48393         (_IO_iter_begin): Likewise.
48394         (_IO_iter_end): Likewise.
48395         (_IO_list_lock): Likewise.
48396         (_IO_list_unlock): Likewise.
48397         (_IO_list_resetlock): Likewise.
48398         * libio/getchar.c (getchar): Likewise.
48399         * libio/getchar_u.c (getchar_unlocked): Likewise.
48400         * libio/getwchar.c (getwchar): Likewise.
48401         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
48402         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
48403         * login/getpt.c (__getpt): Likewise.
48404         * login/tst-utmp.c (main): Likewise.
48405         * malloc/hooks.c (__malloc_check_init): Likewise.
48406         * malloc/malloc.c (__malloc_stats): Likewise.
48407         * malloc/mtrace.c (tr_break): Likewise.
48408         (mtrace): Likewise.
48409         (muntrace): Likewise.
48410         * misc/fstab.c (endfsent): Likewise.
48411         * misc/getclktck.c (__getclktck): Likewise.
48412         * misc/getdtsz.c (__getdtablesize): Likewise.
48413         * misc/gethostid.c (gethostid): Likewise.
48414         * misc/getpagesize.c (__getpagesize): Likewise.
48415         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
48416         (__get_nprocs): Likewise.
48417         (__get_phys_pages): Likewise.
48418         (__get_avphys_pages): Likewise.
48419         * misc/getttyent.c (getttyent): Likewise.
48420         (setttyent): Likewise.
48421         (endttyent): Likewise.
48422         * misc/getusershell.c (getusershell): Likewise.
48423         (endusershell): Likewise.
48424         (setusershell): Likewise.
48425         (initshells): Likewise.
48426         * misc/hsearch.c (__hdestroy): Likewise.
48427         * misc/sync.c (sync): Likewise.
48428         * misc/syslog.c (closelog_internal): Likewise.
48429         (closelog): Likewise.
48430         * misc/ttyslot.c (ttyslot): Likewise.
48431         * misc/vhangup.c (vhangup): Likewise.
48432         * posix/fork.c (__fork): Likewise.
48433         * posix/getegid.c (__getegid): Likewise.
48434         * posix/geteuid.c (__geteuid): Likewise.
48435         * posix/getgid.c (__getgid): Likewise.
48436         * posix/getpid.c (__getpid): Likewise.
48437         * posix/getppid.c (__getppid): Likewise.
48438         * posix/getuid.c (__getuid): Likewise.
48439         * posix/pause.c (pause): Likewise.
48440         * posix/setpgrp.c (setpgrp): Likewise.
48441         * posix/setsid.c (__setsid): Likewise.
48442         * posix/test-vfork.c (noop): Likewise.
48443         * resolv/gethnamaddr.c (_endhtent): Likewise.
48444         (_gethtent): Likewise.
48445         (ht_endhostent): Likewise.
48446         (gethostent): Likewise.
48447         (dns_service): Likewise.
48448         * stdlib/drand48.c (drand48): Likewise.
48449         * stdlib/lrand48.c (lrand48): Likewise.
48450         * stdlib/mrand48.c (mrand48): Likewise.
48451         * stdlib/rand.c (rand): Likewise.
48452         * stdlib/random.c (__random): Likewise.
48453         * stdlib/setenv.c (clearenv): Likewise.
48454         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
48455         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
48456         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
48457         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
48458         (__get_nprocs): Likewise.
48459         (__get_phys_pages): Likewise.
48460         (__get_avphys_pages): Likewise.
48461         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
48462         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
48463         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
48464         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
48465         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
48466         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
48467         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
48468         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
48469         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
48470         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
48471         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
48472         * sysdeps/mach/hurd/sync.c (sync): Likewise.
48473         * sysdeps/posix/clock.c (clock): Likewise.
48474         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
48475         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
48476         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
48477         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
48478         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
48479         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
48480         (__get_nprocs_conf): Likewise.
48481         (__get_phys_pages): Likewise.
48482         (__get_avphys_pages): Likewise.
48483         * time/clock.c (clock): Likewise.
48484         * time/tzset.c (__tzname_max): Likewise.
48486 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
48488         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
48489         (__bswap_32): Do not use "register".
48490         * crypt/crypt.c (_ufc_doit_r): Likewise.
48491         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
48492         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
48493         * gmon/gmon.c (__monstartup): Likewise.
48494         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
48495         * hurd/hurdmalloc.c (more_memory): Likewise.
48496         (malloc): Likewise.
48497         (free): Likewise.
48498         (realloc): Likewise.
48499         (malloc_fork_prepare): Likewise.
48500         (malloc_fork_parent): Likewise.
48501         (malloc_fork_child): Likewise.
48502         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
48503         (_svcauth_des): Likewise.
48504         * inet/inet_lnaof.c (inet_lnaof): Likewise.
48505         * inet/inet_net.c (inet_network): Likewise.
48506         * inet/inet_netof.c (inet_netof): Likewise.
48507         * inet/rcmd.c (__validuser2_sa): Likewise.
48508         * io/fts.c (fts_open): Likewise.
48509         (fts_load): Likewise.
48510         (fts_close): Likewise.
48511         (fts_read): Likewise.
48512         (fts_children): Likewise.
48513         (fts_build): Likewise.
48514         (fts_stat): Likewise.
48515         (fts_sort): Likewise.
48516         (fts_alloc): Likewise.
48517         (fts_lfree): Likewise.
48518         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
48519         (_IO_file_xsgetn): Likewise.
48520         (_IO_file_xsgetn_mmap): Likewise.
48521         * libio/iofopncook.c (_IO_cookie_read): Likewise.
48522         (_IO_cookie_write): Likewise.
48523         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
48524         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
48525         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
48526         * malloc/obstack.c (_obstack_begin): Likewise.
48527         (_obstack_begin_1): Likewise.
48528         (_obstack_newchunk): Likewise.
48529         (_obstack_allocated_p): Likewise.
48530         (obstack_free): Likewise.
48531         (_obstack_memory_used): Likewise.
48532         * misc/getttyent.c (getttynam): Likewise.
48533         (getttyent): Likewise.
48534         (skip): Likewise.
48535         (value): Likewise.
48536         * misc/getusershell.c (initshells): Likewise.
48537         * misc/syslog.c (__vsyslog_chk): Likewise.
48538         * misc/ttyslot.c (ttyslot): Likewise.
48539         * nis/nis_hash.c (__nis_hash): Likewise.
48540         * posix/fnmatch_loop.c (FCT): Likewise.
48541         * posix/getconf.c (print_all): Likewise.
48542         (main): Likewise.
48543         * posix/getopt.c (exchange): Likewise.
48544         * posix/glob.c (globfree): Likewise.
48545         (prefix_array): Likewise.
48546         (__glob_pattern_type): Likewise.
48547         * resolv/arpa/nameser.h (NS_GET16): Likewise.
48548         (NS_GET32): Likewise.
48549         (NS_PUT16): Likewise.
48550         (NS_PUT32): Likewise.
48551         * resolv/gethnamaddr.c (getanswer): Likewise.
48552         (gethostbyname2): Likewise.
48553         (gethostbyaddr): Likewise.
48554         (_gethtent): Likewise.
48555         (_gethtbyname2): Likewise.
48556         (_gethtbyaddr): Likewise.
48557         * resolv/ns_print.c (dst_s_get_int16): Likewise.
48558         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
48559         * resolv/res_init.c (__res_vinit): Likewise.
48560         (net_mask): Likewise.
48561         * resolv/res_mkquery.c (outchar): Likewise.
48562         (PRINT): Likewise.
48563         * stdio-common/printf_fp.c (outchar): Likewise.
48564         (PRINT): Likewise.
48565         * stdio-common/printf_fphex.c (outchar): Likewise.
48566         (PRINT): Likewise.
48567         * stdio-common/printf_size.c (outchar): Likewise.
48568         (PRINT): Likewise.
48569         * stdio-common/test_rdwr.c (main): Likewise.
48570         * stdio-common/tfformat.c (matches): Likewise.
48571         * stdio-common/vfprintf.c (outchar): Likewise.
48572         (printf_unknown): Likewise.
48573         (buffered_vfprintf): Likewise.
48574         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
48575         * stdio-common/xbug.c (AppendToBuffer): Likewise.
48576         (ReadFile): Likewise.
48577         * stdlib/qsort.c (SWAP): Likewise.
48578         (_quicksort): Likewise.
48579         * stdlib/setenv.c (__add_to_environ): Likewise.
48580         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
48581         * stdlib/strtol_l.c (__strtol_l): Likewise.
48582         * stdlib/tst-strtod.c (main): Likewise.
48583         * stdlib/tst-strtol.c (main): Likewise.
48584         * stdlib/tst-strtoll.c (main): Likewise.
48585         * string/bits/string2.h (__strcmp_cc): Likewise.
48586         (__strcmp_cg): Likewise.
48587         (__strcspn_c1): Likewise.
48588         (__strcspn_c2): Likewise.
48589         (__strcspn_c3): Likewise.
48590         (__strspn_c1): Likewise.
48591         (__strspn_c2): Likewise.
48592         (__strspn_c3): Likewise.
48593         (__strsep_1c): Likewise.
48594         (__strsep_2c): Likewise.
48595         (__strsep_3c): Likewise.
48596         * string/memccpy.c (__memccpy): Likewise.
48597         * string/stpcpy.c (__stpcpy): Likewise.
48598         * string/strcmp.c (strcmp): Likewise.
48599         * string/strrchr.c (strrchr): Likewise.
48600         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
48601         Likewise.
48602         * sysdeps/mach/hurd/getcwd.c
48603         (_hurd_canonicalize_directory_name_internal): Likewise.
48604         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
48605         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
48606         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
48607         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
48608         Likewise, in both definitions.
48609         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
48610         definitions.
48611         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
48612         64] (__bswap_64): Likewise.
48613         * time/test_time.c (main): Likewise.
48614         * time/tzfile.c (__tzfile_read): Likewise.
48615         (__tzfile_compute): Likewise.
48616         * time/tzset.c (__tzset_parse_tz): Likewise.
48617         (tzset_internal): Likewise.
48618         (compute_change): Likewise.
48619         * wcsmbs/wcscat.c (__wcscat): Likewise.
48620         * wcsmbs/wcschr.c (wcschr): Likewise.
48621         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
48622         * wcsmbs/wcscspn.c (wcscspn): Likewise.
48623         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
48624         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
48625         * wcsmbs/wcsspn.c (wcsspn): Likewise.
48626         * wcsmbs/wcsstr.c (wcsstr): Likewise.
48627         * wcsmbs/wmemchr.c (wmemchr): Likewise.
48628         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48629         * wcsmbs/wmemset.c (wmemset): Likewise.
48631 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
48633         * scripts/config.guess: Update to version 2013-05-16.
48634         * scripts/config.sub: Update to version 2013-04-24.
48635         * scripts/install-sh: Update to version 2011-11-20.07.
48636         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
48637         * scripts/move-if-change: Update to version 2012-01-06 07:23.
48639 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
48641         * debug/fgetws_u_chk.c: Fix leading whitespaces.
48642         * elf/sln.c: Likewise.
48643         * hurd/hurd/ioctl.h: Likewise.
48644         * hurd/hurdmalloc.c: Likewise.
48645         * hurd/xattr.c: Likewise.
48646         * include/shlib-compat.h: Likewise.
48647         * inet/ruserpass.c: Likewise.
48648         * libio/iofgets_u.c: Likewise.
48649         * libio/iofgetws_u.c: Likewise.
48650         * locale/programs/ld-identification.c: Likewise.
48651         * locale/programs/ld-time.c: Likewise.
48652         * mach/msg-destroy.c: Likewise.
48653         * nss/nss_files/files-netgrp.c: Likewise.
48654         * resolv/res_data.c: Likewise.
48655         * soft-fp/op-1.h: Likewise.
48656         * soft-fp/op-2.h: Likewise.
48657         * soft-fp/op-4.h: Likewise.
48658         * soft-fp/op-common.h: Likewise.
48659         * stdio-common/printf_fphex.c: Likewise.
48660         * stdlib/strtod_l.c: Likewise.
48661         * sunrpc/rpc/clnt.h: Likewise.
48662         * sysdeps/generic/framestate.c: Likewise.
48663         * sysdeps/i386/bsd-_setjmp.S: Likewise.
48664         * sysdeps/i386/bsd-setjmp.S: Likewise.
48665         * sysdeps/i386/__longjmp.S: Likewise.
48666         * sysdeps/i386/setjmp.S: Likewise.
48667         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
48668         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
48669         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48670         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
48671         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
48672         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
48673         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
48674         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
48675         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
48676         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
48677         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
48678         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
48679         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
48680         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
48681         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
48682         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
48683         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
48684         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
48685         * sysdeps/ieee754/support.c: Likewise.
48686         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
48687         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
48688         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
48689         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
48690         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
48691         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
48692         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
48693         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
48694         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
48695         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
48696         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
48697         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
48698         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
48699         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
48700         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
48701         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
48702         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
48703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
48705 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
48707         * posix/transbug.c: Remove executable mode.
48709 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
48711         * crypt/speeds.c: Remove trailing whitespace.
48712         * dlfcn/default.c: Likewise.
48713         * elf/ifuncdep2.c: Likewise.
48714         * elf/ifuncmain1.c: Likewise.
48715         * elf/ifuncmain1vis.c: Likewise.
48716         * elf/testobj.h: Likewise.
48717         * elf/tst-stackguard1.c: Likewise.
48718         * gmon/sys/gmon.h: Likewise.
48719         * hurd/hurdmsg.c: Likewise.
48720         * hurd/new-fd.c: Likewise.
48721         * hurd/ports-get.c: Likewise.
48722         * iconvdata/ibm1008_420.c: Likewise.
48723         * inet/tst-getni1.c: Likewise.
48724         * inet/tst-getni2.c: Likewise.
48725         * libio/ioungetc.c: Likewise.
48726         * libio/wfiledoalloc.c: Likewise.
48727         * manual/libm-err-tab.pl: Likewise.
48728         * math/w_dremf.c: Likewise.
48729         * misc/ftruncate.c: Likewise.
48730         * posix/bug-glob2.c: Likewise.
48731         * posix/tst-pcre.c: Likewise.
48732         * posix/wait4.c: Likewise.
48733         * resolv/README: Likewise.
48734         * resolv/res_debug.h: Likewise.
48735         * resolv/tst-inet_ntop.c: Likewise.
48736         * setjmp/bug269-setjmp.c: Likewise.
48737         * soft-fp/extended.h: Likewise.
48738         * soft-fp/op-1.h: Likewise.
48739         * soft-fp/op-2.h: Likewise.
48740         * soft-fp/op-4.h: Likewise.
48741         * soft-fp/op-8.h: Likewise.
48742         * soft-fp/testit.c: Likewise.
48743         * stdio-common/bug16.c: Likewise.
48744         * stdlib/random.c: Likewise.
48745         * sunrpc/rpcsvc/rquota.x: Likewise.
48746         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
48747         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
48748         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
48749         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
48750         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
48751         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
48752         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
48753         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
48754         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
48755         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
48756         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
48757         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
48758         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
48759         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
48760         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
48761         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
48762         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
48763         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
48764         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
48765         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
48766         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
48767         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
48768         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
48769         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
48770         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
48771         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
48772         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
48773         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
48774         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
48775         * sysdeps/ieee754/s_lib_version.c: Likewise.
48776         * sysdeps/mach/hurd/check_fds.c: Likewise.
48777         * sysdeps/mach/hurd/getsockname.c: Likewise.
48778         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
48779         * sysdeps/mach/hurd/recvfrom.c: Likewise.
48780         * sysdeps/powerpc/bits/link.h: Likewise.
48781         * sysdeps/powerpc/dl-procinfo.c: Likewise.
48782         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
48783         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
48784         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
48785         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
48786         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
48787         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
48788         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
48789         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
48790         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48791         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
48792         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
48793         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
48794         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48795         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48796         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48797         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
48798         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
48799         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48800         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48801         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48802         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
48803         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
48804         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
48805         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
48806         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
48807         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
48808         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48809         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48810         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
48811         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
48812         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
48813         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
48814         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
48815         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
48816         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
48817         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
48818         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
48819         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
48820         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
48821         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
48822         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
48823         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
48824         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
48825         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
48826         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
48827         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
48828         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
48829         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
48830         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
48831         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
48832         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
48833         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
48834         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
48835         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
48836         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
48837         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
48838         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
48839         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
48840         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
48841         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
48842         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
48843         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
48844         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
48845         * sysdeps/powerpc/sysdep.h: Likewise.
48846         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
48847         * sysdeps/s390/s390-64/sub_n.S: Likewise.
48848         * sysdeps/sh/dl-trampoline.S: Likewise.
48849         * sysdeps/sh/memset.S: Likewise.
48850         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
48851         * sysdeps/sh/strlen.S: Likewise.
48852         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
48853         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
48854         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
48855         * sysdeps/sparc/sparc32/rem.S: Likewise.
48856         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
48857         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
48858         * sysdeps/sparc/sparc32/strchr.S: Likewise.
48859         * sysdeps/sparc/sparc32/udiv.S: Likewise.
48860         * sysdeps/sparc/sparc32/urem.S: Likewise.
48861         * sysdeps/sparc/sparc64/add_n.S: Likewise.
48862         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
48863         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
48864         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
48865         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
48866         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
48867         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
48868         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
48869         * sysdeps/unix/bsd/times.c: Likewise.
48870         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
48871         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
48872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
48873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
48874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48875         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
48876         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
48877         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
48878         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
48879         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
48880         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
48881         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
48882         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
48883         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
48884         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
48885         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
48886         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
48887         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
48888         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
48889         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
48890         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
48891         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
48892         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
48893         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
48894         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
48895         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
48896         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
48897         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
48898         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
48899         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
48900         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
48901         * sysdeps/x86_64/strcspn.S: Likewise.
48903 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
48905         * locale/C-translit.h: Revert #include <stdint.h> because this is a
48906         generated file.  Regenerate properly from gen-translit.pl.
48907         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
48908         locale/C-translit.h.
48910 2013-06-05  Andreas Schwab  <schwab@suse.de>
48912         [BZ #15100]
48913         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
48914         week as 6 instead of -1.
48915         * time/tst-strptime.c (day_tests): Add test case.
48917 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48919         * sysdeps/generic/math_private.h
48920         (libc_feholdexcept_setround_53bit): Replace with
48921         libc_feholdsetround_53bit.
48922         (libc_feupdateenv_53bit): Replace with
48923         libc_feresetround_53bit.
48924         (SET_RESTORE_ROUND_53BIT): Adjust.
48926 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
48928         * string/test-strchrnul.c: Add copyright header.
48930         * posix/tst-getaddrinfo4.c: Increase test timeout.
48932 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
48934         [BZ #15536]
48935         * math/libm-test.inc (MAX_EXP): Remove
48936         (MIN_EXP): Define.
48937         (ulp): Use MIN_EXP - MANT_DIG.
48938         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
48940 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
48942         * po/be.po: Revert last change.
48943         * po/zh_CN.po: Likewise.
48944         * po/header.pot: Likewise.
48946 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
48948         * Makefile ($(common-objpfx)linkobj/libc.so): Define
48949         link-libc-deps to empty as target-specific variable.
48950         * Makerules (link-libc-args): New variable.
48951         (libc-for-link): Likewise.
48952         (link-libc-deps): Likewise.
48953         (lib%.so): Depend on $(link-libc-deps).  Link with
48954         $(link-libc-args).
48955         (build-module): Link with $(link-libc-args).
48956         (build-module-asneeded): Likewise.
48957         (build-module-helper-objlist): Filter out $(link-libc-deps) from
48958         list of objects.
48959         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
48960         target-specific variable.
48961         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
48962         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
48963         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
48964         libc.
48965         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
48966         libc and ld.so.
48967         ($(objpfx)libpcprofile.so): Likewise.
48968         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
48969         libc_nonshared.a.
48970         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
48971         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
48972         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
48973         $(link-libc-deps).
48974         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
48975         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
48976         * login/Makefile ($(objpfx)libutil.so): Likewise.
48977         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
48978         * math/Makefile ($(objpfx)libm.so): Likewise.
48979         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
48980         $(objpfx)libnsl.so): Define libc-for-link as target-specific
48981         variable instead of depending directly on libc.
48982         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
48983         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
48984         $(link-libc-deps).
48985         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
48986         libc.
48987         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
48988         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
48989         ($(objpfx)libanl.so): Likewise.
48990         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
48991         ld.so.
48992         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
48993         $(link-libc-deps).
48994         * sysdeps/i386/fpu/Makefile: Remove file.
48995         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
48996         ($(objpfx)libm.so): Remove dependency on ld.so.
48998 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
49000         [BZ # 15553]
49001         * nis/yp_xdr.c (XDRMAXNAME): Define.
49002         (XDRMAXRECORD): Define.
49003         (xdr_domainname): Use XDRMAXNAME.
49004         (xdr_mapname): Likewise.
49005         (xdr_peername): Likewise.
49006         (xdr_keydat): Use XDRMAXRECORD.
49007         (xdr_valdat): Likewise.
49009 2013-05-30  Jeff Law  <law@redhat.com>
49011         [BZ #14256]
49012         * manual/errno.texi (ESTALE): Update to account for more than
49013         just NFS file systems.
49014         * sysdeps/gnu/errlist.c: Regenerated.
49016 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
49018         [BZ #15465]
49019         * elf/Makefile (tests): Add tst-null-argv.
49020         (modules-names):  Add tst-null-argv-lib.
49021         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
49022         (tst-null-argv-ENV): Set environment for tst-null-argv.
49023         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
49024         (RTLD_PROGNAME): New macro.
49025         * elf/tst-null-argv.c: New test case.
49026         * elf/tst-null-argv-lib.c: Library for test case.
49027         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
49028         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
49029         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
49030         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
49031         * elf/dl-init.c (call_init): Likewise.
49032         (_dl_init): Likewise.
49033         * elf/dl-load.c (print_search_path): Likewise.
49034         (_dl_map_object): Likewise.
49035         * elf/dl-lookup.c (do_lookup_x): Likewise.
49036         (add_dependency): Likewise.
49037         (_dl_lookup_symbol_x): Likewise.
49038         (_dl_debug_bindings): Likewise.
49039         * elf/dl-open.c (_dl_show_scope): Likewise.
49040         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
49041         * elf/dl-version.c (match_symbol): Likewise.
49042         (_dl_check_map_versions): Likewise.
49043         * elf/rtld.c (dl_main): Likewise.
49044         (print_unresolved): Use RTLD_PROGNAME.
49045         (print_missing_version): Likewise.
49046         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
49047         (elf_machine_rela): Likewise.
49048         * sysdeps/powerpc/powerpc32/dl-machine.c
49049         (__process_machine_rela): Likewise.
49050         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
49051         Likewise.
49052         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
49053         Likewise.
49054         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
49055         Likewise.
49056         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
49057         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
49058         Likewise.
49059         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
49060         Likewise.
49061         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
49063 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
49065         * po/be.po: Add descriptive title.
49066         * po/zh_CN.po: Likewise.
49067         * po/header.pot: Likewise.
49069 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
49071         * locale/programs/locarchive.c (create_archive): Inlucde fname in
49072         error message.
49073         (enlarge_archive): Likewise.
49075 2013-05-28  Ben North  <ben@redfrontdoor.org>
49077         * manual/arith.texi (frexp): It is the magnitude of the return
49078         value which lies in [0.5, 1), not the return value itself.
49080 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49084 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
49086         * stdio-common/bug26.c (main): Correct fscanf template.
49088         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
49089         declare _dl_skip_args.
49091         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
49092         Don't declare.
49094         * manual/platform.texi: Add missing @end deftypefun.
49096 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49098         [BZ #15529]
49099         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
49100         bit of mantissa of 2^16382.
49101         * math/libm-test.inc (hypot_test_data): Add more tests.
49103         * math/libm-test.inc: Add drem and pow10 to list of tested
49104         functions.
49105         (pow10_test): New function.
49106         (drem_test): Likewise.
49107         (drem_test_tonearest): Likewise.
49108         (drem_test_towardzero): Likewise.
49109         (drem_test_downward): Likewise.
49110         (drem_test_upward): Likewise.
49111         (main): Call the new functions.
49113         * math/libm-test.inc (finite_test_data): Remove.
49114         (finite_test): Run tests from isfinite_test_data.
49115         (gamma_test_data): Remove.
49116         (gamma_test): Run tests from lgamma_test_data.
49117         * sysdeps/i386/fpu/libm-test-ulps: Update.
49118         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49120 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49122         * manual/platform.texi: Add PowerPC PPR function set documentation.
49123         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
49124         implementation.
49126 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
49128         * math/libm-test.inc (MAX_EXP): Define.
49129         (ULPDIFF): Define.
49130         (ulp): New function.
49131         (check_float_internal): Use ULPDIFF.
49132         (cpow_test): Disable failing test.
49133         (check_ulp): Test ulp() implemetnation.
49134         (main): Call check_ulp before starting tests.
49136 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
49138         * math/gen-libm-test.pl (generate_testfile): Do not handle
49139         START_DATA and END_DATA.
49140         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
49141         END_DATA.
49142         (acos_tonearest_test_data): Likewise.
49143         (acos_towardzero_test_data): Likewise.
49144         (acos_downward_test_data): Likewise.
49145         (acos_upward_test_data): Likewise.
49146         (acosh_test_data): Likewise.
49147         (asin_test_data): Likewise.
49148         (asin_tonearest_test_data): Likewise.
49149         (asin_towardzero_test_data): Likewise.
49150         (asin_downward_test_data): Likewise.
49151         (asin_upward_test_data): Likewise.
49152         (asinh_test_data): Likewise.
49153         (atan_test_data): Likewise.
49154         (atanh_test_data): Likewise.
49155         (atan2_test_data): Likewise.
49156         (cabs_test_data): Likewise.
49157         (cacos_test_data): Likewise.
49158         (cacosh_test_data): Likewise.
49159         (carg_test_data): Likewise.
49160         (casin_test_data): Likewise.
49161         (casinh_test_data): Likewise.
49162         (catan_test_data): Likewise.
49163         (catanh_test_data): Likewise.
49164         (cbrt_test_data): Likewise.
49165         (ccos_test_data): Likewise.
49166         (ccosh_test_data): Likewise.
49167         (ceil_test_data): Likewise.
49168         (cexp_test_data): Likewise.
49169         (cimag_test_data): Likewise.
49170         (clog_test_data): Likewise.
49171         (clog10_test_data): Likewise.
49172         (conj_test_data): Likewise.
49173         (copysign_test_data): Likewise.
49174         (cos_test_data): Likewise.
49175         (cos_tonearest_test_data): Likewise.
49176         (cos_towardzero_test_data): Likewise.
49177         (cos_downward_test_data): Likewise.
49178         (cos_upward_test_data): Likewise.
49179         (cosh_test_data): Likewise.
49180         (cosh_tonearest_test_data): Likewise.
49181         (cosh_towardzero_test_data): Likewise.
49182         (cosh_downward_test_data): Likewise.
49183         (cosh_upward_test_data): Likewise.
49184         (cpow_test_data): Likewise.
49185         (cproj_test_data): Likewise.
49186         (creal_test_data): Likewise.
49187         (csin_test_data): Likewise.
49188         (csinh_test_data): Likewise.
49189         (csqrt_test_data): Likewise.
49190         (ctan_test_data): Likewise.
49191         (ctan_tonearest_test_data): Likewise.
49192         (ctan_towardzero_test_data): Likewise.
49193         (ctan_downward_test_data): Likewise.
49194         (ctan_upward_test_data): Likewise.
49195         (ctanh_test_data): Likewise.
49196         (ctanh_tonearest_test_data): Likewise.
49197         (ctanh_towardzero_test_data): Likewise.
49198         (ctanh_downward_test_data): Likewise.
49199         (ctanh_upward_test_data): Likewise.
49200         (erf_test_data): Likewise.
49201         (erfc_test_data): Likewise.
49202         (exp_test_data): Likewise.
49203         (exp_tonearest_test_data): Likewise.
49204         (exp_towardzero_test_data): Likewise.
49205         (exp_downward_test_data): Likewise.
49206         (exp_upward_test_data): Likewise.
49207         (exp10_test_data): Likewise.
49208         (exp2_test_data): Likewise.
49209         (expm1_test_data): Likewise.
49210         (fabs_test_data): Likewise.
49211         (fdim_test_data): Likewise.
49212         (finite_test_data): Likewise.
49213         (floor_test_data): Likewise.
49214         (fma_test_data): Likewise.
49215         (fma_towardzero_test_data): Likewise.
49216         (fma_downward_test_data): Likewise.
49217         (fma_upward_test_data): Likewise.
49218         (fmax_test_data): Likewise.
49219         (fmin_test_data): Likewise.
49220         (fmod_test_data): Likewise.
49221         (fpclassify_test_data): Likewise.
49222         (frexp_test_data): Likewise.
49223         (gamma_test_data): Likewise.
49224         (hypot_test_data): Likewise.
49225         (ilogb_test_data): Likewise.
49226         (isfinite_test_data): Likewise.
49227         (isgreater_test_data): Likewise.
49228         (isgreaterequal_test_data): Likewise.
49229         (isinf_test_data): Likewise.
49230         (isless_test_data): Likewise.
49231         (islessequal_test_data): Likewise.
49232         (islessgreater_test_data): Likewise.
49233         (isnan_test_data): Likewise.
49234         (isnormal_test_data): Likewise.
49235         (issignaling_test_data): Likewise.
49236         (isunordered_test_data): Likewise.
49237         (j0_test_data): Likewise.
49238         (j1_test_data): Likewise.
49239         (jn_test_data): Likewise.
49240         (ldexp_test_data): Likewise.
49241         (lgamma_test_data): Likewise.
49242         (lrint_test_data): Likewise.
49243         (lrint_tonearest_test_data): Likewise.
49244         (lrint_towardzero_test_data): Likewise.
49245         (lrint_downward_test_data): Likewise.
49246         (lrint_upward_test_data): Likewise.
49247         (llrint_test_data): Likewise.
49248         (llrint_tonearest_test_data): Likewise.
49249         (llrint_towardzero_test_data): Likewise.
49250         (llrint_downward_test_data): Likewise.
49251         (llrint_upward_test_data): Likewise.
49252         (log_test_data): Likewise.
49253         (log10_test_data): Likewise.
49254         (log1p_test_data): Likewise.
49255         (log2_test_data): Likewise.
49256         (logb_test_data): Likewise.
49257         (logb_downward_test_data): Likewise.
49258         (lround_test_data): Likewise.
49259         (llround_test_data): Likewise.
49260         (modf_test_data): Likewise.
49261         (nearbyint_test_data): Likewise.
49262         (nextafter_test_data): Likewise.
49263         (nexttoward_test_data): Likewise.
49264         (pow_test_data): Likewise.
49265         (pow_tonearest_test_data): Likewise.
49266         (pow_towardzero_test_data): Likewise.
49267         (pow_downward_test_data): Likewise.
49268         (pow_upward_test_data): Likewise.
49269         (remainder_test_data): Likewise.
49270         (remainder_tonearest_test_data): Likewise.
49271         (remainder_towardzero_test_data): Likewise.
49272         (remainder_downward_test_data): Likewise.
49273         (remainder_upward_test_data): Likewise.
49274         (remquo_test_data): Likewise.
49275         (rint_test_data): Likewise.
49276         (rint_tonearest_test_data): Likewise.
49277         (rint_towardzero_test_data): Likewise.
49278         (rint_downward_test_data): Likewise.
49279         (rint_upward_test_data): Likewise.
49280         (round_test_data): Likewise.
49281         (scalb_test_data): Likewise.
49282         (scalbn_test_data): Likewise.
49283         (scalbln_test_data): Likewise.
49284         (signbit_test_data): Likewise.
49285         (sin_test_data): Likewise.
49286         (sin_tonearest_test_data): Likewise.
49287         (sin_towardzero_test_data): Likewise.
49288         (sin_downward_test_data): Likewise.
49289         (sin_upward_test_data): Likewise.
49290         (sincos_test_data): Likewise.
49291         (sinh_test_data): Likewise.
49292         (sinh_tonearest_test_data): Likewise.
49293         (sinh_towardzero_test_data): Likewise.
49294         (sinh_downward_test_data): Likewise.
49295         (sinh_upward_test_data): Likewise.
49296         (sqrt_test_data): Likewise.
49297         (tan_test_data): Likewise.
49298         (tan_tonearest_test_data): Likewise.
49299         (tan_towardzero_test_data): Likewise.
49300         (tan_downward_test_data): Likewise.
49301         (tan_upward_test_data): Likewise.
49302         (tanh_test_data): Likewise.
49303         (tgamma_test_data): Likewise.
49304         (trunc_test_data): Likewise.
49305         (y0_test_data): Likewise.
49306         (y1_test_data): Likewise.
49307         (yn_test_data): Likewise.
49308         (significand_test_data): Likewise.
49310         * math/gen-libm-test.pl (@functions): Remove variable.
49311         (generate_testfile): Don't handle START and END lines.
49312         * math/libm-test.inc (START): New macro.
49313         (END): Likewise.
49314         (END_COMPLEX): Likewise.
49315         (acos_test): Use END macro without arguments.
49316         (acos_test_tonearest): Likewise.
49317         (acos_test_towardzero): Likewise.
49318         (acos_test_downward): Likewise.
49319         (acos_test_upward): Likewise.
49320         (acosh_test): Likewise.
49321         (asin_test): Likewise.
49322         (asin_test_tonearest): Likewise.
49323         (asin_test_towardzero): Likewise.
49324         (asin_test_downward): Likewise.
49325         (asin_test_upward): Likewise.
49326         (asinh_test): Likewise.
49327         (atan_test): Likewise.
49328         (atanh_test): Likewise.
49329         (atan2_test): Likewise.
49330         (cabs_test): Likewise.
49331         (cacos_test): Use END_COMPLEX macro without arguments.
49332         (cacosh_test): Likewise.
49333         (carg_test): Use END macro without arguments.
49334         (casin_test): Use END_COMPLEX macro without arguments.
49335         (casinh_test): Likewise.
49336         (catan_test): Likewise.
49337         (catanh_test): Likewise.
49338         (cbrt_test): Use END macro without arguments.
49339         (ccos_test): Use END_COMPLEX macro without arguments.
49340         (ccosh_test): Likewise.
49341         (ceil_test): Use END macro without arguments.
49342         (cexp_test): Use END_COMPLEX macro without arguments.
49343         (cimag_test): Use END macro without arguments.
49344         (clog_test): Use END_COMPLEX macro without arguments.
49345         (clog10_test): Likewise.
49346         (conj_test): Likewise.
49347         (copysign_test): Use END macro without arguments.
49348         (cos_test): Likewise.
49349         (cos_test_tonearest): Likewise.
49350         (cos_test_towardzero): Likewise.
49351         (cos_test_downward): Likewise.
49352         (cos_test_upward): Likewise.
49353         (cosh_test): Likewise.
49354         (cosh_test_tonearest): Likewise.
49355         (cosh_test_towardzero): Likewise.
49356         (cosh_test_downward): Likewise.
49357         (cosh_test_upward): Likewise.
49358         (cpow_test): Use END_COMPLEX macro without arguments.
49359         (cproj_test): Likewise.
49360         (creal_test): Use END macro without arguments.
49361         (csin_test): Use END_COMPLEX macro without arguments.
49362         (csinh_test): Likewise.
49363         (csqrt_test): Likewise.
49364         (ctan_test): Likewise.
49365         (ctan_test_tonearest): Likewise.
49366         (ctan_test_towardzero): Likewise.
49367         (ctan_test_downward): Likewise.
49368         (ctan_test_upward): Likewise.
49369         (ctanh_test): Likewise.
49370         (ctanh_test_tonearest): Likewise.
49371         (ctanh_test_towardzero): Likewise.
49372         (ctanh_test_downward): Likewise.
49373         (ctanh_test_upward): Likewise.
49374         (erf_test): Use END macro without arguments.
49375         (erfc_test): Likewise.
49376         (exp_test): Likewise.
49377         (exp_test_tonearest): Likewise.
49378         (exp_test_towardzero): Likewise.
49379         (exp_test_downward): Likewise.
49380         (exp_test_upward): Likewise.
49381         (exp10_test): Likewise.
49382         (exp2_test): Likewise.
49383         (expm1_test): Likewise.
49384         (fabs_test): Likewise.
49385         (fdim_test): Likewise.
49386         (finite_test): Likewise.
49387         (floor_test): Likewise.
49388         (fma_test): Likewise.
49389         (fma_test_towardzero): Likewise.
49390         (fma_test_downward): Likewise.
49391         (fma_test_upward): Likewise.
49392         (fmax_test): Likewise.
49393         (fmin_test): Likewise.
49394         (fmod_test): Likewise.
49395         (fpclassify_test): Likewise.
49396         (frexp_test): Likewise.
49397         (gamma_test): Likewise.
49398         (hypot_test): Likewise.
49399         (ilogb_test): Likewise.
49400         (isfinite_test): Likewise.
49401         (isgreater_test): Likewise.
49402         (isgreaterequal_test): Likewise.
49403         (isinf_test): Likewise.
49404         (isless_test): Likewise.
49405         (islessequal_test): Likewise.
49406         (islessgreater_test): Likewise.
49407         (isnan_test): Likewise.
49408         (isnormal_test): Likewise.
49409         (issignaling_test): Likewise.
49410         (isunordered_test): Likewise.
49411         (j0_test): Likewise.
49412         (j1_test): Likewise.
49413         (jn_test): Likewise.
49414         (ldexp_test): Likewise.
49415         (lgamma_test): Likewise.
49416         (lrint_test): Likewise.
49417         (lrint_test_tonearest): Likewise.
49418         (lrint_test_towardzero): Likewise.
49419         (lrint_test_downward): Likewise.
49420         (lrint_test_upward): Likewise.
49421         (llrint_test): Likewise.
49422         (llrint_test_tonearest): Likewise.
49423         (llrint_test_towardzero): Likewise.
49424         (llrint_test_downward): Likewise.
49425         (llrint_test_upward): Likewise.
49426         (log_test): Likewise.
49427         (log10_test): Likewise.
49428         (log1p_test): Likewise.
49429         (log2_test): Likewise.
49430         (logb_test): Likewise.
49431         (logb_test_downward): Likewise.
49432         (lround_test): Likewise.
49433         (llround_test): Likewise.
49434         (modf_test): Likewise.
49435         (nearbyint_test): Likewise.
49436         (nextafter_test): Likewise.
49437         (nexttoward_test): Likewise.
49438         (pow_test): Likewise.
49439         (pow_test_tonearest): Likewise.
49440         (pow_test_towardzero): Likewise.
49441         (pow_test_downward): Likewise.
49442         (pow_test_upward): Likewise.
49443         (remainder_test): Likewise.
49444         (remainder_test_tonearest): Likewise.
49445         (remainder_test_towardzero): Likewise.
49446         (remainder_test_downward): Likewise.
49447         (remainder_test_upward): Likewise.
49448         (remquo_test): Likewise.
49449         (rint_test): Likewise.
49450         (rint_test_tonearest): Likewise.
49451         (rint_test_towardzero): Likewise.
49452         (rint_test_downward): Likewise.
49453         (rint_test_upward): Likewise.
49454         (round_test): Likewise.
49455         (scalb_test): Likewise.
49456         (scalbn_test): Likewise.
49457         (scalbln_test): Likewise.
49458         (signbit_test): Likewise.
49459         (sin_test): Likewise.
49460         (sin_test_tonearest): Likewise.
49461         (sin_test_towardzero): Likewise.
49462         (sin_test_downward): Likewise.
49463         (sin_test_upward): Likewise.
49464         (sincos_test): Likewise.
49465         (sinh_test): Likewise.
49466         (sinh_test_tonearest): Likewise.
49467         (sinh_test_towardzero): Likewise.
49468         (sinh_test_downward): Likewise.
49469         (sinh_test_upward): Likewise.
49470         (sqrt_test): Likewise.
49471         (tan_test): Likewise.
49472         (tan_test_tonearest): Likewise.
49473         (tan_test_towardzero): Likewise.
49474         (tan_test_downward): Likewise.
49475         (tan_test_upward): Likewise.
49476         (tanh_test): Likewise.
49477         (tgamma_test): Likewise.
49478         (trunc_test): Likewise.
49479         (y0_test): Likewise.
49480         (y1_test): Likewise.
49481         (yn_test): Likewise.
49482         (significand_test): Likewise.
49484 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
49486         [BZ #15381]
49487         * libio/genops.c (_IO_no_init): Initialize wide struct info.
49489 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
49491         [BZ #14894]
49492         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
49493         __ppc_mdoio and __ppc_mdoom.
49494         * manual/platform.texi: Document new functions __ppc_yield,
49495         __ppc_mdoio and __ppc_mdoom.
49497 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
49499         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
49500         (main): Mention "tls" pseudo-hwcap is legacy.
49501         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
49503 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49505         * math/gen-libm-test.pl (parse_args): Output only string of
49506         arguments as text for test name, not full call or descriptions of
49507         tests for extra outputs.
49508         (generate_testfile): Do not pass function name to parse_args.
49509         Generate this_func variable from START.
49510         * math/libm-test.inc (struct test_f_f_data): Rename test_name
49511         field to arg_str.
49512         (struct test_ff_f_data): Likewise.
49513         (test_ff_f_data_nexttoward): Likewise.
49514         (struct test_fi_f_data): Likewise.
49515         (struct test_fl_f_data): Likewise.
49516         (struct test_if_f_data): Likewise.
49517         (struct test_fff_f_data): Likewise.
49518         (struct test_c_f_data): Likewise.
49519         (struct test_f_f1_data): Likewise.  Remove field extra_name.
49520         (struct test_fF_f1_data): Likewise.
49521         (struct test_ffI_f1_data): Likewise.
49522         (struct test_c_c_data): Rename test_name field to arg_str.
49523         (struct test_cc_c_data): Likewise.
49524         (struct test_f_i_data): Likewise.
49525         (struct test_ff_i_data): Likewise.
49526         (struct test_f_l_data): Likewise.
49527         (struct test_f_L_data): Likewise.
49528         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
49529         and extra2_name.
49530         (COMMON_TEST_SETUP): New macro.
49531         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
49532         (COMMON_TEST_CLEANUP): Likewise.
49533         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
49534         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
49535         macros.
49536         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
49537         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
49538         macros.
49539         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
49540         (RUN_TEST_fff_f): Take argument string.  Call new setup and
49541         cleanup macros.
49542         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
49543         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
49544         macros.
49545         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
49546         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
49547         macros.
49548         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49549         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
49550         cleanup macros.
49551         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49552         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
49553         cleanup macros.
49554         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49555         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
49556         cleanup macros.
49557         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49558         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
49559         macros.
49560         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
49561         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
49562         macros.
49563         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
49564         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
49565         macros.
49566         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
49567         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
49568         cleanup macros.
49569         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
49570         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
49571         cleanup macros.
49572         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
49573         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
49574         macros.
49575         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
49576         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
49577         cleanup macros.
49578         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
49579         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
49580         macros.
49581         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
49582         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
49583         macros.
49584         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
49585         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
49586         cleanup macros.
49587         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
49589 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
49591         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
49592         to _sifields.sigfault.
49593         (si_addr_lsb): Define new macro.
49594         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
49595         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
49596         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
49598 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
49600         [BZ #15441]
49601         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
49602         returns -1.
49603         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
49604         null return -1.
49605         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
49606         loading the domain.
49608 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
49610         * math/gen-libm-test.pl (parse_args): Do not include expected
49611         result in test name.
49612         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
49613         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49614         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49615         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49616         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49617         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49619 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
49621         * benchtests/Makefile: Sort function entries.
49623         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
49624         tanh, asinh, acosh, atanh.
49625         * benchtests/acos-inputs: New file.
49626         * benchtests/acosh-inputs: New file.
49627         * benchtests/asin-inputs: New file.
49628         * benchtests/asinh-inputs: New file.
49629         * benchtests/atanh-inputs: New file.
49630         * benchtests/cosh-inputs: New file.
49631         * benchtests/log-inputs: New file.
49632         * benchtests/sinh-inputs: New file.
49633         * benchtests/tanh-inputs: New file.
49635 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
49637         [BZ #15339]
49638         * posix/tst-getaddrinfo4.c: New test.
49639         * posix/Makefile (tests): Add it.
49641 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49643         [BZ #15339]
49644         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
49645         when no services were used.
49646         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
49647         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
49649 2013-05-21  Andreas Schwab  <schwab@suse.de>
49651         [BZ #15014]
49652         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
49653         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
49654         successful.
49655         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
49656         redundant variable declarations and reallocation of buffer when
49657         parsing as IPv6 address.  Always set NSS status when called from
49658         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
49659         buffer too small.  Correct computation of needed size.
49660         * nss/Makefile (tests): Add test-digits-dots.
49661         * nss/test-digits-dots.c: New test.
49663 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
49665         * benchtests/Makefile: Remove instructions for adding
49666         benchmark tests.
49667         * benchtests/README: New file to explain how to execute and
49668         enhance the benchmark tests.
49670 2013-05-21  Andreas Schwab  <schwab@suse.de>
49672         [BZ #15493]
49673         * setjmp/Makefile (tests): Add tst-sigsetjmp.
49674         * setjmp/tst-sigsetjmp.c: New test.
49676 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49678         * sysdeps/x86_64/memset.S (memset): New implementation.
49679         (__bzero): Likewise.
49680         (__memset_tail): New function.
49682 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
49684         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
49685         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
49686         __memcpy_sse2_unaligned ifunc selection.
49687         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
49688         Add memcpy-sse2-unaligned.S.
49689         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
49690         Add: __memcpy_sse2_unaligned.
49692 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
49694         [BZ #15490]
49695         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
49696         math_force_eval before restoring floating-point envrionment.
49697         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
49698         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
49699         Likewise.
49700         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
49701         <math_private.h>.
49702         (__nearbyintl): Use math_force_eval before restoring
49703         floating-point environment.
49704         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
49706         * math/gen-libm-test.pl (special_functions): Remove.
49707         (parse_args): Don't handle TEST_extra.  Handle functions with no
49708         return value.
49709         * math/libm-test.inc (struct test_sincos_data): Replace with
49710         struct test_fFF_11_data.
49711         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
49712         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
49713         (sincos_test_data): Change element type to struct
49714         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
49715         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
49716         RUN_TEST_LOOP_sincos.
49717         * math/README.libm-test: Don't mention special handling of
49718         individual functions.
49719         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
49720         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
49721         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
49722         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
49723         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
49724         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49726         * math/gen-libm-test.pl (get_variable): Remove function.
49727         (parse_args): Don't show pointer parameters to call in test
49728         names.  Use "extra output N" in test names for extra outputs
49729         rather than naming variables.
49731 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
49733         [BZ #15488]
49734         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
49735         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
49736         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
49737         double tests.
49738         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
49739         disable.
49740         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
49741         check_long_double.
49743         * math/gen-libm-test.pl (@tests): Remove variable.
49744         ($count): Likewise.
49745         (new_test): Remove function.
49746         (show_exceptions): New function.
49747         (special_functions): Use show_exceptions instead of new_test.
49748         (parse_args): Likewise.
49749         (generate_testfile): Pass only function name in generated call to
49750         print_max_error or print_complex_max_error.
49751         (get_ulps): Do not handle complex tests specially.
49752         (output_test): Rename to ...
49753         (get_all_ulps_for_test): ... this.  Return a string rather than
49754         printing to a file.  Require ulps to be present.
49755         (output_ulps): Generate arrays rather than #defines.
49756         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
49757         (struct ulp_data): New type.
49758         (BUILD_COMPLEX_ULP): Remove macro.
49759         (compare_ulp_data): New function.
49760         (find_ulps): Likewise.
49761         (find_test_ulps): Likewise.
49762         (find_function_ulps): Likewise.
49763         (find_complex_function_ulps): Likewise.
49764         (print_max_error): Determine allowed ulps using
49765         find_function_ulps.
49766         (print_complex_max_error): Determine allowed ulps using
49767         find_complex_function_ulps.
49768         (check_float_internal): Determine max ulps using find_test_ulps.
49769         (check_float): Do not take max_ulp parameter.  Update call to
49770         check_float_internal.
49771         (check_complex): Likewise.
49772         (check_int): Do not take max_ulp parameter.
49773         (check_long): Likewise.
49774         (check_bool): Likewise.
49775         (check_longlong): Likewise.
49776         (struct test_f_f_data): Remove max_ulp field.
49777         (struct test_ff_f_data): Likewise.
49778         (struct test_ff_f_data_nexttoward): Likewise.
49779         (struct test_fi_f_data): Likewise.
49780         (struct test_fl_f_data): Likewise.
49781         (struct test_if_f_data): Likewise.
49782         (struct test_fff_f_data): Likewise.
49783         (struct test_c_f_data): Likewise.
49784         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
49785         (struct test_fF_f1_data): Likewise.
49786         (struct test_ffI_f1_data): Likewise.
49787         (struct test_c_c_data): Remove max_ulp field.
49788         (struct test_cc_c_data): Likewise.
49789         (struct test_f_i_data): Likewise.
49790         (struct test_ff_i_data): Likewise.
49791         (struct test_f_l_data): Likewise.
49792         (struct test_f_L_data): Likewise.
49793         (struct test_sincos_data): Likewise.
49794         (RUN_TEST_f_f): Do not handle ulps.
49795         (RUN_TEST_LOOP_f_f): Likewise.
49796         (RUN_TEST_2_f): Likewise.
49797         (RUN_TEST_LOOP_2_f): Likewise.
49798         (RUN_TEST_fff_f): Likewise.
49799         (RUN_TEST_LOOP_fff_f): Likewise.
49800         (RUN_TEST_c_f): Likewise.
49801         (RUN_TEST_LOOP_c_f): Likewise.
49802         (RUN_TEST_f_f1): Likewise.
49803         (RUN_TEST_LOOP_f_f1): Likewise.
49804         (RUN_TEST_fF_f1): Likewise.
49805         (RUN_TEST_LOOP_fF_f1): Likewise.
49806         (RUN_TEST_fI_f1): Likewise.
49807         (RUN_TEST_LOOP_fI_f1): Likewise.
49808         (RUN_TEST_ffI_f1): Likewise.
49809         (RUN_TEST_LOOP_ffI_f1): Likewise.
49810         (RUN_TEST_c_c): Likewise.
49811         (RUN_TEST_LOOP_c_c): Likewise.
49812         (RUN_TEST_cc_c): Likewise.
49813         (RUN_TEST_LOOP_cc_c): Likewise.
49814         (RUN_TEST_f_i): Likewise.
49815         (RUN_TEST_LOOP_f_i): Likewise.
49816         (RUN_TEST_f_i_tg): Likewise.
49817         (RUN_TEST_LOOP_f_i_tg): Likewise.
49818         (RUN_TEST_ff_i_tg): Likewise.
49819         (RUN_TEST_LOOP_ff_i_tg): Likewise.
49820         (RUN_TEST_f_b): Likewise.
49821         (RUN_TEST_LOOP_f_b): Likewise.
49822         (RUN_TEST_f_b_tg): Likewise.
49823         (RUN_TEST_LOOP_f_b_tg): Likewise.
49824         (RUN_TEST_f_l): Likewise.
49825         (RUN_TEST_LOOP_f_l): Likewise.
49826         (RUN_TEST_f_L): Likewise.
49827         (RUN_TEST_LOOP_f_L): Likewise.
49828         (RUN_TEST_sincos): Likewise.
49829         (RUN_TEST_LOOP_sincos): Likewise.
49831 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
49833         [BZ #15480]
49834         [BZ #15485]
49835         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
49836         main case of finite arguments, set rounding mode to FE_TONEAREST
49837         and discard exceptions.
49838         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
49839         exceptions.
49840         (remainder_tonearest_test_data): New variable.
49841         (remainder_test_tonearest): New function.
49842         (remainder_towardzero_test_data): New variable.
49843         (remainder_test_towardzero): New function.
49844         (remainder_downward_test_data): New variable.
49845         (remainder_test_downward): New function.
49846         (remainder_upward_test_data): New variable.
49847         (remainder_test_upward): New function.
49848         (main): Call the new test functions.
49850         * math/libm-test.inc (struct test_f_f1_data): Remove field
49851         extra_init.
49852         (struct test_fF_f1_data): Likewise.
49853         (struct test_ffI_f1_data): Likewise.
49854         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
49855         based on value of EXTRA_EXPECTED.
49856         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
49857         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
49858         EXTRA_VAR based on value of EXTRA_EXPECTED.
49859         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
49860         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
49861         EXTRA_VAR based on value of EXTRA_EXPECTED.
49862         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
49863         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
49864         EXTRA_VAR based on value of EXTRA_EXPECTED.
49865         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
49866         * math/gen-libm-test.pl (parse_args): Don't output initializers
49867         for extra output values.
49869         * math/libm-test.inc (check_int): Expect result to be exactly
49870         equal to expected value and do not handle ulps.
49871         (check_long): Likewise.
49872         (check_longlong): Likewise.
49874         * math/libm-test.inc (ceil_test_data): Test for "inexact"
49875         exceptions.
49876         (cimag_test_data): Likewise.
49877         (conj_test_data): Likewise.
49878         (copysign_test_data): Likewise.
49879         (cproj_test_data): Likewise.
49880         (creal_test_data): Likewise.
49881         (fabs_test_data): Likewise.
49882         (fdim_test_data): Likewise.
49883         (finite_test_data): Likewise.
49884         (floor_test_data): Likewise.
49885         (fmax_test_data): Likewise.
49886         (fmin_test_data): Likewise.
49887         (fmod_test_data): Likewise.
49888         (fpclassify_test_data): Likewise.
49889         (frexp_test_data): Likewise.
49890         (ilogb_test_data): Likewise.
49891         (isfinite_test_data): Likewise.
49892         (isgreater_test_data): Likewise.
49893         (isgreaterequal_test_data): Likewise.
49894         (isinf_test_data): Likewise.
49895         (isless_test_data): Likewise.
49896         (islessequal_test_data): Likewise.
49897         (islessgreater_test_data): Likewise.
49898         (isnan_test_data): Likewise.
49899         (isnormal_test_data): Likewise.
49900         (issignaling_test_data): Likewise.
49901         (isunordered_test_data): Likewise.
49902         (ldexp_test_data): Likewise.
49903         (lrint_test_data): Likewise.
49904         (lrint_test_data) [TEST_FLOAT]: Disable one test.
49905         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
49906         (lrint_tonearest_test_data): Test for "inexact" exceptions.
49907         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49908         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
49909         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49910         test input.
49911         (lrint_towardzero_test_data): Test for "inexact" exceptions.
49912         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49913         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
49914         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
49915         that test input.
49916         (lrint_downward_test_data): Test for "inexact" exceptions.
49917         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49918         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
49919         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
49920         test input.
49921         (lrint_upward_test_data): Test for "inexact" exceptions.
49922         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
49923         test input.
49924         (llrint_test_data): Test for "inexact" exceptions.
49925         (llrint_test_data) [TEST_FLOAT]: Disable one test.
49926         (llrint_tonearest_test_data): Test for "inexact" exceptions.
49927         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
49928         (llrint_towardzero_test_data): Test for "inexact" exceptions.
49929         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
49930         (llrint_downward_test_data): Test for "inexact" exceptions.
49931         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
49932         (llrint_upward_test_data): Test for "inexact" exceptions.
49933         (logb_test_data): Likewise.
49934         (logb_downward_test_data): Likewise.
49935         (nextafter_test_data): Likewise.
49936         (nexttoward_test_data): Likewise.
49937         (remainder_test_data): Likewise.
49938         (remquo_test_data): Likewise.
49939         (scalbn_test_data): Likewise.
49940         (scalbln_test_data): Likewise.
49941         (signbit_test_data): Likewise.
49942         (sqrt_test_data): Likewise.
49943         (significand_test_data): Likewise.
49945 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
49947         [BZ #15424]
49948         * benchtests/bench-modf.c (struct args): Mark arg0 as
49949         volatile.
49950         * scripts/bench.pl: Mark members of struct args as volatile.
49952 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49954         [BZ # 15497]
49955         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
49956         negative infinity on POWER6 or lower.
49957         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
49959 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
49961         [BZ #15442]
49962         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
49963         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
49964         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
49965         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
49966         (_FP_SETQNAN): New macro.
49967         (_FP_SETQNAN_SEMIRAW): Likewise.
49968         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
49969         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
49970         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
49971         (FP_EXTEND): Use _FP_FRAC_SNANP.
49972         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
49973         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
49974         into account.
49975         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49976         New macro.
49977         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
49978         Likewise.
49980 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
49982         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
49983         with DIVIDE_BY_ZERO_EXCEPTION.
49984         (gamma_test_data): Likewise.
49985         (lgamma_test_data): Likewise.
49986         (log_test_data): Likewise.
49987         (log10_test_data): Likewise.
49988         (log2_test_data): Likewise.
49989         (tgamma_test_data): Likewise.
49991         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
49992         (acos_test_tonearest): Likewise.
49993         (acos_test_towardzero): Likewise.
49994         (acos_test_downward): Likewise.
49995         (acos_test_upward): Likewise.
49996         (acosh_test): Likewise.
49997         (asin_test): Likewise.
49998         (asin_test_tonearest): Likewise.
49999         (asin_test_towardzero): Likewise.
50000         (asin_test_downward): Likewise.
50001         (asin_test_upward): Likewise.
50002         (asinh_test): Likewise.
50003         (atan_test): Likewise.
50004         (atanh_test): Likewise.
50005         (atan2_test): Likewise.
50006         (cabs_test): Likewise.
50007         (cacos_test): Likewise.
50008         (cacosh_test): Likewise.
50009         (casin_test): Likewise.
50010         (casinh_test): Likewise.
50011         (catan_test): Likewise.
50012         (catanh_test): Likewise.
50013         (cbrt_test): Likewise.
50014         (ccos_test): Likewise.
50015         (ccosh_test): Likewise.
50016         (cexp_test): Likewise.
50017         (clog_test): Likewise.
50018         (clog10_test): Likewise.
50019         (cos_test): Likewise.
50020         (cos_test_tonearest): Likewise.
50021         (cos_test_towardzero): Likewise.
50022         (cos_test_downward): Likewise.
50023         (cos_test_upward): Likewise.
50024         (cosh_test): Likewise.
50025         (cosh_test_tonearest): Likewise.
50026         (cosh_test_towardzero): Likewise.
50027         (cosh_test_downward): Likewise.
50028         (cosh_test_upward): Likewise.
50029         (cpow_test): Likewise.
50030         (csin_test): Likewise.
50031         (csinh_test): Likewise.
50032         (csqrt_test): Likewise.
50033         (ctan_test): Likewise.
50034         (ctan_test_tonearest): Likewise.
50035         (ctan_test_towardzero): Likewise.
50036         (ctan_test_downward): Likewise.
50037         (ctan_test_upward): Likewise.
50038         (ctanh_test): Likewise.
50039         (ctanh_test_tonearest): Likewise.
50040         (ctanh_test_towardzero): Likewise.
50041         (ctanh_test_downward): Likewise.
50042         (ctanh_test_upward): Likewise.
50043         (erf_test): Likewise.
50044         (erfc_test): Likewise.
50045         (exp_test): Likewise.
50046         (exp_test_tonearest): Likewise.
50047         (exp_test_towardzero): Likewise.
50048         (exp_test_downward): Likewise.
50049         (exp_test_upward): Likewise.
50050         (exp10_test): Likewise.
50051         (exp2_test): Likewise.
50052         (expm1_test): Likewise.
50053         (fmod_test): Likewise.
50054         (gamma_test): Likewise.
50055         (hypot_test): Likewise.
50056         (j0_test): Likewise.
50057         (j1_test): Likewise.
50058         (jn_test): Likewise.
50059         (lgamma_test): Likewise.
50060         (log_test): Likewise.
50061         (log10_test): Likewise.
50062         (log1p_test): Likewise.
50063         (log2_test): Likewise.
50064         (logb_test_downward): Likewise.
50065         (pow_test): Likewise.
50066         (pow_test_tonearest): Likewise.
50067         (pow_test_towardzero): Likewise.
50068         (pow_test_downward): Likewise.
50069         (pow_test_upward): Likewise.
50070         (remainder_test): Likewise.
50071         (remquo_test): Likewise.
50072         (sin_test): Likewise.
50073         (sin_test_tonearest): Likewise.
50074         (sin_test_towardzero): Likewise.
50075         (sin_test_downward): Likewise.
50076         (sin_test_upward): Likewise.
50077         (sincos_test): Likewise.
50078         (sinh_test): Likewise.
50079         (sinh_test_tonearest): Likewise.
50080         (sinh_test_towardzero): Likewise.
50081         (sinh_test_downward): Likewise.
50082         (sinh_test_upward): Likewise.
50083         (sqrt_test): Likewise.
50084         (tan_test): Likewise.
50085         (tan_test_tonearest): Likewise.
50086         (tan_test_towardzero): Likewise.
50087         (tan_test_downward): Likewise.
50088         (tan_test_upward): Likewise.
50089         (tanh_test): Likewise.
50090         (tgamma_test): Likewise.
50091         (y0_test): Likewise.
50092         (y1_test): Likewise.
50093         (yn_test): Likewise.
50095         * math/gen-libm-test.pl (adjust_arg): Remove function.
50096         (special_function): Remove argument $in_func.  Only handle
50097         generating output for tables of tests, not inside functions.
50098         (parse_args): Likewise.
50099         (generate_testfile): Remove variable $in_func.  Update call to
50100         parse_args.
50101         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
50102         (MINUS_ZERO_INIT): Rename macro to minus_zero.
50103         (PLUS_INFTY_INIT): Rename macro to plus_infty.
50104         (MINUS_INFTY_INIT): Rename macro to minus_infty.
50105         (QNAN_VALUE_INIT): Rename macro to qnan_value.
50106         (MAX_VALUE_INIT): Rename macro to max_value.
50107         (MIN_VALUE_INIT): Rename macro to min_value.
50108         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
50109         (plus_zero): Remove variable.
50110         (minus_zero): Likewise.
50111         (plus_infty): Likewise.
50112         (minus_infty): Likewise.
50113         (qnan_value): Likewise.
50114         (max_value): Likewise.
50115         (min_value): Likewise.
50116         (min_subnorm_value): Likewise.
50118 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
50120         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
50121         uint64_t or uint32_t usage.
50122         * crypt/sha256-block.c: Likewise.
50123         * crypt/sha256-crypt.c: Likewise.
50124         * crypt/sha256.c: Likewise.
50125         * crypt/sha512-block.c: Likewise.
50126         * crypt/sha512-crypt.c: Likewise.
50127         * crypt/sha512.c: Likewise.
50128         * debug/backtrace-tst.c: Likewise.
50129         * debug/pcprofiledump.c: Likewise.
50130         * elf/cache.c: Likewise.
50131         * elf/dl-cache.c: Likewise.
50132         * elf/dl-misc.c: Likewise.
50133         * elf/dl-profile.c: Likewise.
50134         * elf/dl-support.c: Likewise.
50135         * elf/ldconfig.c: Likewise.
50136         * elf/sprof.c: Likewise.
50137         * iconv/dummy-repertoire.c: Likewise.
50138         * iconv/iconv_charmap.c: Likewise.
50139         * iconv/skeleton.c: Likewise.
50140         * iconvdata/8bit-generic.c: Likewise.
50141         * iconvdata/cp737.h: Likewise.
50142         * iconvdata/cp775.h: Likewise.
50143         * iconvdata/ibm1008.h: Likewise.
50144         * iconvdata/ibm1025.h: Likewise.
50145         * iconvdata/ibm1046.h: Likewise.
50146         * iconvdata/ibm1097.h: Likewise.
50147         * iconvdata/ibm1112.h: Likewise.
50148         * iconvdata/ibm1122.h: Likewise.
50149         * iconvdata/ibm1123.h: Likewise.
50150         * iconvdata/ibm1124.h: Likewise.
50151         * iconvdata/ibm1129.h: Likewise.
50152         * iconvdata/ibm1130.h: Likewise.
50153         * iconvdata/ibm1132.h: Likewise.
50154         * iconvdata/ibm1133.h: Likewise.
50155         * iconvdata/ibm1137.h: Likewise.
50156         * iconvdata/ibm1140.h: Likewise.
50157         * iconvdata/ibm1141.h: Likewise.
50158         * iconvdata/ibm1142.h: Likewise.
50159         * iconvdata/ibm1143.h: Likewise.
50160         * iconvdata/ibm1144.h: Likewise.
50161         * iconvdata/ibm1145.h: Likewise.
50162         * iconvdata/ibm1146.h: Likewise.
50163         * iconvdata/ibm1147.h: Likewise.
50164         * iconvdata/ibm1148.h: Likewise.
50165         * iconvdata/ibm1149.h: Likewise.
50166         * iconvdata/ibm1153.h: Likewise.
50167         * iconvdata/ibm1154.h: Likewise.
50168         * iconvdata/ibm1155.h: Likewise.
50169         * iconvdata/ibm1156.h: Likewise.
50170         * iconvdata/ibm1157.h: Likewise.
50171         * iconvdata/ibm1158.h: Likewise.
50172         * iconvdata/ibm1160.h: Likewise.
50173         * iconvdata/ibm1161.h: Likewise.
50174         * iconvdata/ibm1162.h: Likewise.
50175         * iconvdata/ibm1163.h: Likewise.
50176         * iconvdata/ibm1164.h: Likewise.
50177         * iconvdata/ibm1166.h: Likewise.
50178         * iconvdata/ibm1167.h: Likewise.
50179         * iconvdata/ibm12712.h: Likewise.
50180         * iconvdata/ibm1390.h: Likewise.
50181         * iconvdata/ibm1399.h: Likewise.
50182         * iconvdata/ibm16804.h: Likewise.
50183         * iconvdata/ibm4517.h: Likewise.
50184         * iconvdata/ibm4899.h: Likewise.
50185         * iconvdata/ibm4909.h: Likewise.
50186         * iconvdata/ibm4971.h: Likewise.
50187         * iconvdata/ibm5347.h: Likewise.
50188         * iconvdata/ibm803.h: Likewise.
50189         * iconvdata/ibm856.h: Likewise.
50190         * iconvdata/ibm901.h: Likewise.
50191         * iconvdata/ibm902.h: Likewise.
50192         * iconvdata/ibm9030.h: Likewise.
50193         * iconvdata/ibm9066.h: Likewise.
50194         * iconvdata/ibm921.h: Likewise.
50195         * iconvdata/ibm922.h: Likewise.
50196         * iconvdata/ibm9448.h: Likewise.
50197         * iconvdata/isiri-3342.h: Likewise.
50198         * iconvdata/jis0201.h: Likewise.
50199         * include/link.h: Likewise.
50200         * include/netdb.h: Likewise.
50201         * inet/check_native.c: Likewise.
50202         * inet/check_pf.c: Likewise.
50203         * inet/getipv4sourcefilter.c: Likewise.
50204         * inet/getnameinfo.c: Likewise.
50205         * inet/getsourcefilter.c: Likewise.
50206         * inet/htonl.c: Likewise.
50207         * inet/setipv4sourcefilter.c: Likewise.
50208         * inet/setsourcefilter.c: Likewise.
50209         * inet/test-inet6_opt.c: Likewise.
50210         * inet/tst-network.c: Likewise.
50211         * locale/C-collate.c: Likewise.
50212         * locale/C-ctype.c: Likewise.
50213         * locale/C-time.c: Likewise.
50214         * locale/C-translit.h: Likewise.
50215         * locale/loadarchive.c: Likewise.
50216         * locale/programs/3level.h: Likewise.
50217         * locale/programs/charmap.c: Likewise.
50218         * locale/programs/charmap.h: Likewise.
50219         * locale/programs/ld-address.c: Likewise.
50220         * locale/programs/ld-collate.c: Likewise.
50221         * locale/programs/ld-ctype.c: Likewise.
50222         * locale/programs/ld-identification.c: Likewise.
50223         * locale/programs/ld-measurement.c: Likewise.
50224         * locale/programs/ld-messages.c: Likewise.
50225         * locale/programs/ld-monetary.c: Likewise.
50226         * locale/programs/ld-name.c: Likewise.
50227         * locale/programs/ld-numeric.c: Likewise.
50228         * locale/programs/ld-paper.c: Likewise.
50229         * locale/programs/ld-telephone.c: Likewise.
50230         * locale/programs/ld-time.c: Likewise.
50231         * locale/programs/linereader.c: Likewise.
50232         * locale/programs/locale.c: Likewise.
50233         * locale/programs/locarchive.c: Likewise.
50234         * locale/programs/locfile.h: Likewise.
50235         * locale/programs/repertoire.c: Likewise.
50236         * locale/programs/simple-hash.c: Likewise.
50237         * locale/programs/simple-hash.h: Likewise.
50238         * malloc/memusage.c: Likewise.
50239         * malloc/memusagestat.c: Likewise.
50240         * nis/nis_defaults.c: Likewise.
50241         * nis/nis_hash.c: Likewise.
50242         * nis/nis_print.c: Likewise.
50243         * nis/nis_xdr.c: Likewise.
50244         * nscd/connections.c: Likewise.
50245         * nscd/hstcache.c: Likewise.
50246         * nscd/nscd_gethst_r.c: Likewise.
50247         * nscd/nscd_getserv_r.c: Likewise.
50248         * nscd/nscd_helper.c: Likewise.
50249         * nscd/servicescache.c: Likewise.
50250         * nss/makedb.c: Likewise.
50251         * nss/nss_db/db-XXX.c: Likewise.
50252         * nss/nss_db/db-initgroups.c: Likewise.
50253         * nss/nss_db/db-netgrp.c: Likewise.
50254         * nss/nss_files/files-network.c: Likewise.
50255         * nss/nss_files/files-parse.c: Likewise.
50256         * posix/bug-regex5.c: Likewise.
50257         * posix/fnmatch_loop.c: Likewise.
50258         * posix/regcomp.c: Likewise.
50259         * posix/regexec.c: Likewise.
50260         * posix/tst-rfc3484-2.c: Likewise.
50261         * posix/tst-rfc3484-3.c: Likewise.
50262         * posix/tst-rfc3484.c: Likewise.
50263         * resolv/nss_dns/dns-canon.c: Likewise.
50264         * resolv/nss_dns/dns-network.c: Likewise.
50265         * resolv/res_init.c: Likewise.
50266         * resolv/res_mkquery.c: Likewise.
50267         * resolv/tst-aton.c: Likewise.
50268         * stdlib/cxa_atexit.c: Likewise.
50269         * stdlib/cxa_finalize.c: Likewise.
50270         * stdlib/gen-fpioconst.c: Likewise.
50271         * stdlib/strtol_l.c: Likewise.
50272         * string/tst-endian.c: Likewise.
50273         * sunrpc/auth_des.c: Likewise.
50274         * sunrpc/clnt_udp.c: Likewise.
50275         * sunrpc/rtime.c: Likewise.
50276         * sunrpc/svcauth_des.c: Likewise.
50277         * sunrpc/xdr.c: Likewise.
50278         * sunrpc/xdr_intXX_t.c: Likewise.
50279         * sunrpc/xdr_rec.c: Likewise.
50280         * sysdeps/generic/ldconfig.h: Likewise.
50281         * sysdeps/generic/ldsodefs.h: Likewise.
50282         * sysdeps/generic/memusage.h: Likewise.
50283         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
50284         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
50285         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
50286         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
50287         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
50288         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
50289         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
50290         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
50291         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
50292         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
50293         * sysdeps/posix/getaddrinfo.c: Likewise.
50294         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
50295         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
50296         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
50297         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
50298         * sysdeps/powerpc/test-gettimebase.c: Likewise.
50299         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
50300         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
50301         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
50302         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
50303         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
50304         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
50305         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
50306         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
50307         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
50308         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
50309         * sysdeps/x86_64/dl-tls.h: Likewise.
50310         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
50311         * time/alt_digit.c: Likewise.
50312         * time/era.c: Likewise.
50313         * wcsmbs/tst-c16c32-1.c: Likewise.
50315 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50317         * math/libm-test.inc (struct test_sincos_data): New type.
50318         (RUN_TEST_LOOP_sincos): New macro.
50319         (sincos_test_data): New variable.
50320         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
50322 2013-05-16  Richard Henderson  <rth@redhat.com>
50324         * math/atest-exp2.c (LIMB64): New macro.
50325         (CONSTSZ): New macro.
50326         (mp_exp1, mp_exp_m1, mp_log2): New variables.
50327         (hexdig): Move ...
50328         (print_mpn_fp): ... to function scope.
50329         (read_mpn_hex): Remove.
50330         (get_log2): Remove.
50331         (exp2_mpn): Use mp_log2.
50332         (main): Use mp_exp1.
50334 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
50336         * math/libm-test.inc: Remove comment about not testing "inexact"
50337         exceptions.
50338         (INEXACT_EXCEPTION): New macro.
50339         (NO_INEXACT_EXCEPTION): Likewise.
50340         (INVALID_EXCEPTION_OK): Update value.
50341         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
50342         (OVERFLOW_EXCEPTION_OK): Likewise.
50343         (UNDERFLOW_EXCEPTION_OK): Likewise.
50344         (IGNORE_ZERO_INF_SIGN): Likewise.
50345         (ERRNO_UNCHANGED): Likewise.
50346         (ERRNO_EDOM): Likewise.
50347         (ERRNO_ERANGE): Likewise.
50348         (test_exceptions): Handle testing "inexact" exceptions.
50349         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
50350         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
50351         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
50352         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
50353         INEXACT_EXCEPTION.
50354         (rint_towardzero_test_data): Likewise.
50355         (rint_downward_test_data): Likewise.
50356         (rint_upward_test_data): Likewise.
50358         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
50359         with OVERFLOW_EXCEPTION.
50360         (exp10_test_data): Likewise.
50361         (exp2_test_data): Likewise.
50362         (expm1_test_data): Likewise.
50363         (lgamma_test_data): Likewise.
50364         (pow_test_data): Likewise.
50365         (tgamma_test_data): Likewise.
50366         (yn_test_data): Remove duplicate test of overflow.
50368         * math/libm-test.inc (struct test_cc_c_data): New type.
50369         (RUN_TEST_LOOP_cc_c): New macro.
50370         (cpow_test_data): New variable.
50371         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
50373         * math/libm-test.inc (struct test_f_L_data): New type.
50374         (RUN_TEST_LOOP_f_L): New macro.
50375         (llrint_test_data): New variable.
50376         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
50377         (llrint_tonearest_test_data): New variable.
50378         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
50379         (llrint_towardzero_test_data): New variable.
50380         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
50381         (llrint_downward_test_data): New variable.
50382         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
50383         (llrint_upward_test_data): New variable.
50384         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
50385         (llround_test_data): New variable.
50386         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
50388 2013-05-13  Peter Collingbourne  <pcc@google.com>
50390         * math/atest-exp2.c (get_log2): Remove const attribute.
50392 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50394         * math/libm-test.inc (struct test_f_l_data): New type.
50395         (RUN_TEST_LOOP_f_l): New macro.
50396         (lrint_test_data): New variable.
50397         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
50398         (lrint_tonearest_test_data): New variable.
50399         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
50400         (lrint_towardzero_test_data): New variable.
50401         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
50402         (lrint_downward_test_data): New variable.
50403         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
50404         (lrint_upward_test_data): New variable.
50405         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
50406         (lround_test_data): New variable.
50407         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
50409 2013-05-15  Peter Collingbourne  <pcc@google.com>
50411         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
50412         (EXTRACT_WORDS64) Use where appropriate.
50413         (INSERT_WORDS64) Likewise.
50415         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
50416         constraints with x constraints.
50417         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
50419         * malloc/obstack.c (_obstack_compat): Add initializer.
50421 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
50423         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
50424         si_trapno and add si_addr_lsb to _sifields.sigfault.
50425         (si_trapno): Remove macro.
50426         (si_addr_lsb): Define new macro.
50427         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
50429 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
50431         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
50432         instead of TEST_f_l.
50433         (llrint_test_tonearest): Likewise.
50434         (llrint_test_towardzero): Likewise.
50435         (llrint_test_downward): Likewise.
50436         (llrint_test_upward): Likewise.
50437         (llround_test): Likewise.
50439         * math/libm-test.inc (struct test_f_i_data): Add comment.
50440         (RUN_TEST_LOOP_f_b): New macro.
50441         (RUN_TEST_LOOP_f_b_tg): Likewise.
50442         (finite_test_data): New variable.
50443         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
50444         (isfinite_test_data): New variable.
50445         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50446         (isinf_test_data): New variable.
50447         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50448         (isnan_test_data): New variable.
50449         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50450         (isnormal_test_data): New variable.
50451         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50452         (issignaling_test_data): New variable.
50453         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50454         (signbit_test_data): New variable.
50455         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
50457         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
50458         with INVALID_EXCEPTION.
50459         (acosh_test_data): Likewise.
50460         (asin_test_data): Likewise.
50461         (atanh_test_data): Likewise.
50462         (fmod_test_data): Likewise.
50463         (log_test_data): Likewise.
50464         (log10_test_data): Likewise.
50465         (log2_test_data): Likewise.
50466         (pow_test_data): Likewise.
50467         (sqrt_test_data): Likewise.
50468         (y0_test_data): Likewise.
50469         (y1_test_data): Likewise.
50470         (yn_test_data): Likewise.
50472         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
50473         function contents.
50475         * math/libm-test.inc (struct test_ff_i_data): New type.
50476         (RUN_TEST_LOOP_ff_i_tg): New macro.
50477         (isgreater_test_data): New variable.
50478         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50479         (isgreaterequal_test_data): New variable.
50480         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50481         (isless_test_data): New variable.
50482         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50483         (islessequal_test_data): New variable.
50484         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50485         (islessgreater_test_data): New variable.
50486         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50487         (isunordered_test_data): New variable.
50488         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
50490 2013-05-14  David S. Miller  <davem@davemloft.net>
50492         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50494 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
50496         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
50498         * math/libm-test.inc (struct test_fF_f1_data): Change type of
50499         extra_test to int.
50500         (struct test_f_i_data): Change type of max_ulp to int.
50502         * math/libm-test.inc (test_ffI_f1_data): New type.
50503         (RUN_TEST_LOOP_ffI_f1): New macro.
50504         (remquo_test_data): New variable.
50505         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
50507         * setjmp/tst-setjmp-fp.c: New file.
50508         * setjmp/Makefile (tests): Add tst-setjmp-fp.
50509         (link-libm): New variable.
50510         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
50512         * math/libm-test.inc (struct test_f_i_data): New type.
50513         (RUN_TEST_LOOP_f_i): New macro.
50514         (RUN_TEST_LOOP_f_i_tg): Likewise.
50515         (fpclassify_test_data): New variable.
50516         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
50517         (ilogb_test_data): New variable.
50518         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
50520         * math/libm-test.inc (scalbln_test): Correct function name in END
50521         call.
50523         * math/libm-test.inc (struct test_f_f1_data): Add comment.
50524         (RUN_TEST_LOOP_fI_f1): New macro.
50525         (frexp_test_data): New variable.
50526         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
50528         * math/libm-test.inc (struct test_fF_f1_data): New type.
50529         (RUN_TEST_LOOP_fF_f1): New macro.
50530         (modf_test_data): New variable.
50531         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
50533         * math/libm-test.inc (struct test_f_f1_data): New type.
50534         (RUN_TEST_LOOP_f_f1): New macro.
50535         (gamma_test_data): New variable.
50536         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50537         (lgamma_test_data): New variable.
50538         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
50540 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
50542         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
50543         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
50544         (main): Comment "tls" pseudo-hwcap.
50546 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
50548         * math/libm-test.inc (struct test_fl_f_data): New type.
50549         (RUN_TEST_LOOP_fl_f): New variable.
50550         (scalbln_test_data): New variable.
50551         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
50553         * math/libm-test.inc (struct test_fi_f_data): New type.
50554         (RUN_TEST_LOOP_fi_f): New macro.
50555         (ldexp_test_data): New variable.
50556         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
50557         (scalbn_test_data): New variable.
50558         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
50560         * math/libm-test.inc (struct test_c_f_data): New type.
50561         (RUN_TEST_LOOP_c_f): New macro.
50562         (cabs_test_data): New variable.
50563         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
50564         (carg_test_data): New variable.
50565         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
50566         (cimag_test_data): New variable.
50567         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
50568         (creal_test_data): New variable.
50569         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
50571         * math/libm-test.inc (struct test_if_f_data): New type.
50572         (RUN_TEST_LOOP_if_f): New macro.
50573         (jn_test_data): New variable.
50574         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
50575         (yn_test_data): New variable.
50576         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
50578         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
50580 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50582         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
50583         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
50585 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
50587         * benchtests/Makefile (CPPFLAGS-nonlib): Add
50588         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
50589         (bench-deps): Add bench-timing.h.
50590         * benchtests-bench-skeleton.c: Include bench-timing.h.
50591         (main): Use TIMING_* macros instead of clock_gettime.
50592         * benchtests/bench-timing.h: New file.
50594         [BZ #14582]
50595         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
50596         Renamed from _LIB_VERSION.
50597         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
50599 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
50601         * math/libm-test.inc (struct test_fff_f_data): New type.
50602         (RUN_TEST_LOOP_fff_f): New macro.
50603         (fma_test_data): New variable.
50604         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
50605         (fma_towardzero_test_data): New variable.
50606         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
50607         (fma_downward_test_data): New variable.
50608         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
50609         (fma_upward_test_data): New variable.
50610         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
50612         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
50613         (struct test_c_c_data): New type.
50614         (RUN_TEST_LOOP_c_c): New macro.
50615         (cacos_test_data): New variable.
50616         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
50617         (cacosh_test_data): New variable.
50618         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
50619         (casin_test_data): New variable.
50620         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
50621         (casinh_test_data): New variable.
50622         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
50623         (catan_test_data): New variable.
50624         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
50625         (catanh_test_data): New variable.
50626         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
50627         (ccos_test_data): New variable.
50628         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
50629         (ccosh_test_data): New variable.
50630         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
50631         (cexp_test_data): New variable.
50632         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
50633         (clog_test_data): New variable.
50634         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
50635         (clog10_test_data): New variable.
50636         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
50637         (conj_test_data): New variable.
50638         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
50639         (cproj_test_data): New variable.
50640         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
50641         (csin_test_data): New variable.
50642         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
50643         (csinh_test_data): New variable.
50644         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
50645         (csqrt_test_data): New variable.
50646         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
50647         (ctan_test_data): New variable.
50648         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
50649         (ctan_tonearest_test_data): New variable.
50650         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50651         (ctan_towardzero_test_data): New variable.
50652         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50653         (ctan_downward_test_data): New variable.
50654         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50655         (ctan_upward_test_data): New variable.
50656         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50657         (ctanh_test_data): New variable.
50658         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
50659         (ctanh_tonearest_test_data): New variable.
50660         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
50661         (ctanh_towardzero_test_data): New variable.
50662         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
50663         (ctanh_downward_test_data): New variable.
50664         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
50665         (ctanh_upward_test_data): New variable.
50666         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
50667         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
50668         of BUILD_COMPLEX.
50670         * math/libm-test.inc (struct test_ff_f_data): New type.
50671         (struct test_ff_f_data_nexttoward): Likewise.
50672         (RUN_TEST_LOOP_2_f): New macro.
50673         (RUN_TEST_LOOP_ff_f): Likewise.
50674         (atan2_test_data): New variable.
50675         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
50676         (copysign_test_data): New variable.
50677         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
50678         (fdim_test_data): New variable.
50679         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
50680         (fmax_test_data): New variable.
50681         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
50682         (fmin_test_data): New variable.
50683         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
50684         (fmod_test_data): New variable.
50685         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
50686         (hypot_test_data): New variable.
50687         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
50688         (nextafter_test_data): New variable.
50689         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
50690         (nexttoward_test_data): New variable.
50691         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
50692         (pow_test_data): New variable.
50693         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
50694         (pow_tonearest_test_data): New variable.
50695         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
50696         (pow_towardzero_test_data): New variable.
50697         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
50698         (pow_downward_test_data): New variable.
50699         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
50700         (pow_upward_test_data): New variable.
50701         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
50702         (remainder_test_data): New variable.
50703         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
50704         (scalb_test_data): New variable.
50705         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
50706         * sysdeps/i386/fpu/libm-test-ulps: Update.
50708 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
50710         * math/libm-test.inc (fma_test): Use max_value instead of local
50711         variable fltmax.
50712         (nextafter_test): Likewise.
50714         * math/libm-test.inc (acos_towardzero_test_data): New variable.
50715         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50716         (acos_downward_test_data): New variable.
50717         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50718         (acos_upward_test_data): New variable.
50719         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50720         (acosh_test_data): New variable.
50721         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
50722         (asin_test_data): New variable.
50723         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
50724         (asin_tonearest_test_data): New variable.
50725         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50726         (asin_towardzero_test_data): New variable.
50727         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50728         (asin_downward_test_data): New variable.
50729         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50730         (asin_upward_test_data): New variable.
50731         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50732         (asinh_test_data): New variable.
50733         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
50734         (atan_test_data): New variable.
50735         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
50736         (atanh_test_data): New variable.
50737         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
50738         (cbrt_test_data): New variable.
50739         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
50740         (ceil_test_data): New variable.
50741         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
50742         (cos_test_data): New variable.
50743         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
50744         (cos_tonearest_test_data): New variable.
50745         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50746         (cos_towardzero_test_data): New variable.
50747         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50748         (cos_downward_test_data): New variable.
50749         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50750         (cos_upward_test_data): New variable.
50751         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50752         (cosh_test_data): New variable.
50753         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
50754         (cosh_tonearest_test_data): New variable.
50755         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50756         (cosh_towardzero_test_data): New variable.
50757         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50758         (cosh_downward_test_data): New variable.
50759         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50760         (cosh_upward_test_data): New variable.
50761         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50762         (erf_test_data): New variable.
50763         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
50764         (erfc_test_data): New variable.
50765         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
50766         (exp_test_data): New variable.
50767         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
50768         (exp_tonearest_test_data): New variable.
50769         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50770         (exp_towardzero_test_data): New variable.
50771         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50772         (exp_downward_test_data): New variable.
50773         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50774         (exp_upward_test_data): New variable.
50775         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50776         (exp10_test_data): New variable.
50777         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
50778         (exp2_test_data): New variable.
50779         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
50780         (expm1_test_data): New variable.
50781         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
50782         (fabs_test_data): New variable.
50783         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
50784         (floor_test_data): New variable.
50785         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
50786         (j0_test_data): New variable.
50787         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
50788         (j1_test_data): New variable.
50789         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
50790         (log_test_data): New variable.
50791         (log_test): Run tests with RUN_TEST_LOOP_f_f.
50792         (log10_test_data): New variable.
50793         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
50794         (log1p_test_data): New variable.
50795         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
50796         (log2_test_data): New variable.
50797         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
50798         (logb_test_data): New variable.
50799         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
50800         (logb_downward_test_data): New variable.
50801         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50802         (nearbyint_test_data): New variable.
50803         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
50804         (rint_test_data): New variable.
50805         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
50806         (rint_tonearest_test_data): New variable.
50807         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50808         (rint_towardzero_test_data): New variable.
50809         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50810         (rint_downward_test_data): New variable.
50811         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50812         (rint_upward_test_data): New variable.
50813         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50814         (round_test_data): New variable.
50815         (round_test): Run tests with RUN_TEST_LOOP_f_f.
50816         (sin_test_data): New variable.
50817         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
50818         (sin_tonearest_test_data): New variable.
50819         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50820         (sin_towardzero_test_data): New variable.
50821         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50822         (sin_downward_test_data): New variable.
50823         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50824         (sin_upward_test_data): New variable.
50825         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50826         (sinh_test_data): New variable.
50827         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
50828         (sinh_tonearest_test_data): New variable.
50829         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50830         (sinh_towardzero_test_data): New variable.
50831         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50832         (sinh_downward_test_data): New variable.
50833         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50834         (sinh_upward_test_data): New variable.
50835         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50836         (sqrt_test_data): New variable.
50837         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
50838         (tan_test_data): New variable.
50839         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
50840         (tan_tonearest_test_data): New variable.
50841         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50842         (tan_towardzero_test_data): New variable.
50843         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
50844         (tan_downward_test_data): New variable.
50845         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
50846         (tan_upward_test_data): New variable.
50847         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
50848         (tanh_test_data): New variable.
50849         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
50850         (tgamma_test_data): New variable.
50851         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
50852         (trunc_test_data): New variable.
50853         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
50854         (y0_test_data): New variable.
50855         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
50856         (y1_test_data): New variable.
50857         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
50858         (significand_test_data): New variable.
50859         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
50861 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
50863         [BZ #12387]
50864         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
50866 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
50868         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
50870 2013-05-10  Andreas Jaeger  <aj@suse.de>
50872         [BZ #15448]
50873         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
50874         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
50876 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50878         * math/gen-libm-test.pl (adjust_arg): New function.
50879         (special_functions): Handle generating output in both functions
50880         and arrays.
50881         (parse_args): Likewise.
50882         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
50883         $in_func argument to parse_args.
50884         * math/libm-test.inc (struct test_f_f_data): New type.
50885         (IF_ROUND_INIT_): New macro.
50886         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
50887         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
50888         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
50889         (IF_ROUND_INIT_FE_UPWARD): Likewise.
50890         (ROUND_RESTORE_): Likewise.
50891         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
50892         (ROUND_RESTORE_FE_TONEAREST): Likewise.
50893         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
50894         (ROUND_RESTORE_FE_UPWARD): Likewise.
50895         (RUN_TEST_LOOP_f_f): New macro.
50896         (acos_test_data): New variable.
50897         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
50898         (acos_tonearest_test_data): New variable.
50899         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
50901 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
50903         * benchtests/bench-skeleton.c (startup): Fix coding style.
50905 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
50907         [BZ #6809]
50908         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
50909         negative infinity argument.
50910         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
50911         negative infinity argument.
50912         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
50913         negative infinity argument.
50914         * math/libm-test.inc (tgamma_test): Expect errno to be set for
50915         domain errors.
50917 2013-05-10  Florian Weimer  <fweimer@redhat.com>
50919         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
50920         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
50921         * iconv/iconv_prog.c (main): Likewise.
50922         * locale/programs/charmap-dir.c (charmap_readdir)
50923         (fopen_uncompressed): Likewise.
50924         * locale/programs/locfile.c (siblings_uncached)
50925         (write_locale_data): Use lstat64 instead of lstat.
50926         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
50927         stat.
50929 2013-05-10  Andreas Jaeger  <aj@suse.de>
50931         [BZ #15395]
50932         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
50933         localization.
50934         Include <locale.h>.
50936 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
50938         * elf/dl-close.c (_dl_close_worker): Add comments.
50940 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
50942         [BZ #15359]
50943         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
50944         high part of pi/2.
50945         (__ieee754_rem_pio2l): Update comments.
50947         [BZ #15429]
50948         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
50949         high part of pi/2.
50950         (__ieee754_rem_pio2l): Update comments.
50952         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
50953         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
50955         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
50956         M_PI_4l.
50958         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
50959         (M_PI_34_LOG10El): Likewise.
50960         (M_PI2_LOG10El): Likewise.
50961         (M_PI4_LOG10El): Likewise.
50962         (M_PI_LOG10El): Likewise.
50964 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50966         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50968 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
50970         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
50971         (MINUS_ZERO_INIT): Likewise.
50972         (PLUS_INFTY_INIT): Likewise.
50973         (MINUS_INFTY_INIT): Likewise.
50974         (QNAN_VALUE_INIT): Likewise.
50975         (MAX_VALUE_INIT): Likewise.
50976         (MIN_VALUE_INIT): Likewise.
50977         (MIN_SUBNORM_VALUE_INIT): Likewise.
50978         (plus_zero): Initialize with PLUS_ZERO_INIT.
50979         (minus_zero): Initialize with MINUS_ZERO_INIT.
50980         (plus_infty): Initialize with PLUS_INFTY_INIT.
50981         (minus_infty): Initialize with MINUS_INFTY_INIT.
50982         (qnan_value): Initialize with QNAN_VALUE_INIT.
50983         (max_value): Initialize with MAX_VALUE_INIT.
50984         (min_value): Initialize with MIN_VALUE_INIT.
50985         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
50987         * math/libm-test.inc (RUN_TEST_if_f): New macro.
50988         (jn_test): Use TEST_if_f instead of TEST_ff_f.
50989         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
50990         (yn_test): Use TEST_if_f instead of TEST_ff_f.
50992         * math/libm-test.inc (RUN_TEST_f_f): New macro.
50993         (RUN_TEST_2_f): Likewise.
50994         (RUN_TEST_ff_f): Likewise.
50995         (RUN_TEST_fi_f): Likewise.
50996         (RUN_TEST_fl_f): Likewise.
50997         (RUN_TEST_fff_f): Likewise.
50998         (RUN_TEST_c_f): Likewise.
50999         (RUN_TEST_f_f1): Likewise.
51000         (RUN_TEST_fF_f1): Likewise.
51001         (RUN_TEST_fI_f1): Likewise.
51002         (RUN_TEST_ffI_f1): Likewise.
51003         (RUN_TEST_c_c): Likewise.
51004         (RUN_TEST_cc_c): Likewise.
51005         (RUN_TEST_f_i): Likewise.
51006         (RUN_TEST_f_i_tg): Likewise.
51007         (RUN_TEST_ff_i_tg): Likewise.
51008         (RUN_TEST_f_b): Likewise.
51009         (RUN_TEST_f_b_tg): Likewise.
51010         (RUN_TEST_f_l): Likewise.
51011         (RUN_TEST_f_L): Likewise.
51012         (RUN_TEST_sincos): Likewise.
51013         * math/gen-libm-test.pl (new_test): Take new argument to indicate
51014         whether to show exceptions.  Do not include ");\n" in return
51015         value.
51016         (special_functions): Output call to RUN_TEST_sincos instead of
51017         check_float calls.  Update calls to new_test.
51018         (parse_args): Output call to single RUN_TEST_* macro instead of
51019         check_* calls and other assignments.  Update calls to new_test.
51021         [BZ #2546]
51022         [BZ #2560]
51023         [BZ #5159]
51024         [BZ #15426]
51025         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
51026         input to result for tgamma overflow.
51027         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
51028         (gamma_coeff): New variable.
51029         (NCOEFF): New macro.
51030         (gamma_positive): New function.
51031         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
51032         underflow here.  Use gamma_positive instead of exp (lgamma) for
51033         other arguments.
51034         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
51035         (gamma_coeff): New variable.
51036         (NCOEFF): New macro.
51037         (gammaf_positive): New function.
51038         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
51039         underflow here.  Use gamma_positive instead of exp (lgamma) for
51040         other arguments.
51041         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
51042         (gamma_coeff): New variable.
51043         (NCOEFF): New macro.
51044         (gammal_positive): New function.
51045         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
51046         underflow here.  Use gamma_positive instead of exp (lgamma) for
51047         other arguments.
51048         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
51049         (gamma_coeff): New variable.
51050         (NCOEFF): New macro.
51051         (gammal_positive): New function.
51052         (__ieee754_gammal_r): Handle positive infinity, overflow and
51053         underflow here.  Handle NaN the same as positive infinity.  Remove
51054         check x < 0xffffffff for negative integers.  Use gamma_positive
51055         instead of exp (lgamma) for other arguments.
51056         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
51057         (gamma_coeff): New variable.
51058         (NCOEFF): New macro.
51059         (gammal_positive): New function.
51060         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
51061         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
51062         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
51063         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
51064         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
51065         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
51066         * sysdeps/generic/math_private.h (__gamma_productf): New
51067         prototype.
51068         (__gamma_product): Likewise.
51069         (__gamma_productl): Likewise.
51070         * math/Makefile (libm-calls): Add gamma_product.
51071         * math/libm-test.inc (tgamma_test): Add more tests.
51072         * sysdeps/i386/fpu/libm-test-ulps: Update.
51073         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51075 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
51077         * benchtests/bench-skeleton.c (main): Preheat CPU.
51079 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
51081         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
51083 2013-05-07  Roland McGrath  <roland@hack.frob.com>
51085         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
51086         and _dl_skip_args_internal.
51088 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
51090         * manual/message.texi (Message Translation): Talk about users.
51091         Message to key mapping impacts design.
51093 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51095         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
51097         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
51099         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
51100         * sysdeps/wordsize-64/glob64.c: ... here.
51102         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
51103         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
51104         New macros.
51106         * debug/getlogin_r_chk.c: Moved to ...
51107         * login/getlogin_r_chk.c: ... here.
51108         * debug/Makefile (routines): Move getlogin_r_chk to ...
51109         * login/Makefile (routines): ... here.
51110         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
51111         * login/Versions (libc: GLIBC_2.4): ... here.
51113         * io/poll.c (__poll): Renamed from poll.
51114         Add libc_hidden_def.
51115         (poll): Define as weak alias.
51117         * debug/ptsname_r_chk.c: Moved to ...
51118         * login/ptsname_r_chk.c: ... here.
51119         * debug/Makefile (routines): Move ptsname_r_chk to ...
51120         * login/Makefile (routines): ... here.
51121         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
51122         * login/Versions (libc: GLIBC_2.4): ... here.
51124         * posix/getlogin.c: Moved to ...
51125         * login/getlogin.c: ... here.
51126         * posix/getlogin_r.c: Moved to ...
51127         * login/getlogin_r.c: ... here.
51128         * posix/getlogin_r.c: Moved to ...
51129         * login/getlogin_r.c: ... here.
51130         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
51131         * login/Makefile (routines): ... here.
51132         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
51133         * login/Versions (libc: GLIBC_2.0): ... here.
51135         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
51136         (setrlimit): Define as weak alias.
51138         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
51139         Call __ names for open, ftruncate, and close.
51140         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
51141         (truncate): Define as weak alias.
51143 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
51145         * math/gen-libm-test.pl (parse_args): Initialize x before each
51146         test of frexp, modf and remquo.
51148         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
51149         test signgam value.
51151 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51153         [BZ #15418]
51154         [BZ #15419]
51155         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
51156         internal tests.
51157         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
51159 2013-05-06  Roland McGrath  <roland@hack.frob.com>
51161         * elf/dl-writev.h: New file.
51162         * elf/dl-misc.c: Include it.
51163         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
51164         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
51166 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
51168         * math/libm-test.inc (noXFails): Remove variable.
51169         (noXPasses): Likewise.
51170         (BUILD_COMPLEX_INT): Remove macro.
51171         (print_screen): Remove xfail argument.
51172         (print_screen_max_error): Likewise.
51173         (update_stats): Likewise.
51174         (print_max_error): Likewise.  Update calls to other affected
51175         functions.
51176         (print_complex_max_error): Likewise.
51177         (test_single_exception): Update calls to print_screen.
51178         (test_single_errno): Likewise.
51179         (check_float_internal): Remove xfail argument.  Update calls to
51180         other affected functions.
51181         (check_float): Likewise.
51182         (check_complex): Likewise.
51183         (check_int): Likewise.
51184         (check_long): Likewise.
51185         (check_bool): Likewise.
51186         (check_longlong): Likewise.
51187         (main): Don't print noXFails and noXPasses.
51188         * math/gen-libm-test.pl (top level): Don't mention expected
51189         failure handling in comment.
51190         (new_test): Don't handle expected failures.
51191         (parse_args): Don't mention expected failure handling in comment.
51192         (generate_testfile): Don't handle expected failures.
51193         (parse_ulps): Likewise.
51194         (print_ulps_file): Likewise.
51195         (get_failure): Remove function.
51196         (output_test): Don't handle expected failures.
51197         * make/README.libm-test: Don't mention expected failure handling.
51199         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
51200         (minus_zero): Likewise.
51201         (plus_infty): Likewise.
51202         (minus_infty): Likewise.
51203         (qnan_value): Likewise.
51204         (max_value): Likewise.
51205         (min_value): Likewise.
51206         (min_subnorm_value): Likewise.
51207         (initialize): Do not initialize those variables dynamically.
51209 2013-05-03  Roland McGrath  <roland@hack.frob.com>
51211         * io/open.c (__open_2): Moved to ...
51212         * io/open_2.c: ... this new file.
51213         * io/open64.c (__open64_2): Moved to ...
51214         * io/open64_2.c: ... this new file.
51215         * io/openat.c (__openat_2): Moved to ...
51216         * io/openat_2.c: ... this new file.
51217         * io/openat64.c (__openat64_2): Moved to ...
51218         * io/openat64_2.c: ... this new file.
51219         * io/Makefile (routines): Add them.
51220         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
51221         * sysdeps/unix/sysv/linux/open_2.c: File removed.
51222         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
51223         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
51224         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
51225         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
51226         (__openat64): Add hidden_ver.
51227         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
51228         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
51230         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
51231         Separately conditionalize setting of GLRO(dl_sysinfo) so
51232         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
51233         as well, but the actual setting is only under [NEED_DL_SYSINFO].
51235 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51237         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
51238         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
51239         definition.
51240         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
51241         * sysdeps/unix/sysv/linux/powerpc/init-first.c
51242         (_libc_vdso_platform_setup): Add __vdso_time initialization.
51243         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
51244         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
51246 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
51248         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
51249         test signgam value.
51251         * math/libm-test.inc (hypot_test): Do not use
51252         IGNORE_ZERO_INF_SIGN.
51254 2013-05-03  Andreas Jaeger  <aj@suse.de>
51256         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
51257         Linux 3.9.
51258         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
51259         (PF_MAX): Adjust for VSOCK change.
51261 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51265 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
51267         [BZ #15264]
51268         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
51269         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
51270         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
51272 2013-05-02  David S. Miller  <davem@davemloft.net>
51274         * sysdeps/sparc/fpu/libm-test-ulps: Update.
51276 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
51278         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
51280 2013-05-01  Roland McGrath  <roland@hack.frob.com>
51282         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
51284 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
51286         [BZ #14952]
51287         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
51288         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51289         Use __attribute__ ((__gnu_inline__)).
51290         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
51291         Don't use __attribute__ ((__gnu_inline__)).
51293 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
51295         [BZ #15423]
51296         * math/s_catan.c (__catan): Handle small real or imaginary part of
51297         input specially to avoid spurious underflow.
51298         * math/s_catanf.c (__catanf): Likewise.
51299         * math/s_catanh.c (__catanh): Likewise.
51300         * math/s_catanhf.c (__catanhf): Likewise.
51301         * math/s_catanhl.c (__catanhl): Likewise.
51302         * math/s_catanl.c (__catanl): Likewise.
51303         * math/libm-test.inc (catan_test): Add more tests.
51304         (catanh_test): Likewise.
51305         * sysdeps/i386/fpu/libm-test-ulps: Update.
51306         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51308 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51312 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
51314         [BZ #15416]
51315         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
51316         accurately for denominator in atan2.
51317         * math/s_catanf.c (__catanf): Likewise.
51318         * math/s_catanh.c (__catanh): Likewise.
51319         * math/s_catanhf.c (__catanhf): Likewise.
51320         * math/s_catanhl.c (__catanhl): Likewise.
51321         * math/s_catanl.c (__catanl): Likewise.
51322         * math/libm-test.inc (catan_test): Add more tests.
51323         (catanh_test): Likewise.
51324         * sysdeps/i386/fpu/libm-test-ulps: Update.
51325         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51327 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
51329         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
51331         * benchtests/Makefile (bench): Remove slow benchmarks.
51332         * benchtests/atan-inputs: Add slow benchmark inputs.
51333         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
51334         (BENCH_FUNC): Accept variant offset.
51335         (VARIANT): Define.
51336         * benchtests/bench-skeleton.c (main): Run benchmark for each
51337         variant.
51338         * benchtests/cos-inputs: Add slow benchmark inputs.
51339         * benchtests/exp-inputs: Likewise.
51340         * benchtests/pow-inputs: Likewise.
51341         * benchtests/sin-inputs: Likewise.
51342         * benchtests/slowatan-inputs: Remove.
51343         * benchtests/slowatan.c: Remove.
51344         * benchtests/slowcos-inputs: Remove.
51345         * benchtests/slowcos.c: Remove.
51346         * benchtests/slowexp-inputs: Remove.
51347         * benchtests/slowexp.c: Remove.
51348         * benchtests/slowpow-inputs: Remove.
51349         * benchtests/slowpow.c: Remove.
51350         * benchtests/slowsin-inputs: Remove.
51351         * benchtests/slowsin.c: Remove.
51352         * benchtests/slowtan-inputs: Remove.
51353         * benchtests/slowtan.c: Remove.
51354         * benchtests/tan-inputs: Add slow benchmark inputs.
51355         * scripts/bench.pl: Parse comments and directives.
51357         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
51358         in CPPFLAGS.
51359         ($(objpfx)bench-%.c): Remove *-ITER.
51360         * benchtests/bench-modf.c: Remove definition of ITER.
51361         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
51362         (main): Loop for DURATION seconds instead of fixed number of
51363         iterations.
51364         * scripts/bench.pl: Don't expect iterations in parameters.
51366 2013-04-29  Roland McGrath  <roland@hack.frob.com>
51368         * io/fchdir.c (__fchdir): Renamed from fchdir.
51369         (fchdir): Define as weak alias.
51371 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51373         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
51374         (ERRNO_EDOM): Likewise.
51375         (ERRNO_ERANGE): Likewise.
51376         (noErrnoTests): New variable.
51377         (init_max_error): Set errno to 0.
51378         (test_single_errno): New function.
51379         (test_errno): Likewise.
51380         (check_float_internal): Call test_errno.  Set errno to 0.
51381         (check_complex): Refer to errno tests in comment.
51382         (check_int): Call test_errno.  Set errno to 0.
51383         (check_long): Likewise.
51384         (check_bool): Likewise.
51385         (check_longlong): Likewise.
51386         (cos_test): Use ERRNO_* flags for errno tests instead of
51387         check_int.
51388         (expm1_test): Likewise.
51389         (fmod_test): Likewise.
51390         (ilogb_test): Likewise.
51391         (lgamma_test): Likewise.
51392         (pow_test): Likewise.
51393         (remainder_test): Likewise.
51394         (sin_test): Likewise.
51395         (tan_test): Likewise.
51396         (yn_test): Likewise.
51397         (initialize): Set errno to 0.
51398         (main): Print number of errno tests.
51399         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
51401 2013-04-29  Andreas Jaeger  <aj@suse.de>
51403         [BZ #15084]
51404         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
51405         and RES_USEVC.
51407         [BZ #15085]
51408         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
51409         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
51410         unimplemented.
51412         [BZ #15380]
51413         * stdlib/random.c (__initstate): Return NULL if
51414         __initstate fails.
51416         [BZ #15086]
51417         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
51418         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
51419         RES_SNGLKUPREOP.
51421 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51423         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51425 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
51427         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
51428         of individual tests.
51429         (casin_test): Likewise.
51430         (casinh_test): Likewise.
51432 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
51434         [BZ #15409]
51435         * math/s_catan.c (__catan): Handle arguments with large real or
51436         imaginary part separately without squaring.
51437         * math/s_catanf.c (__catanf): Likewise.
51438         * math/s_catanh.c (__catanh): Likewise.
51439         * math/s_catanhf.c (__catanhf): Likewise.
51440         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51441         and redefine.
51442         (__catanhl): Handle arguments with large real or imaginary part
51443         separately without squaring.
51444         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
51445         and redefine.
51446         (__catanl): Handle arguments with large real or imaginary part
51447         separately without squaring.
51448         * math/libm-test.inc (catan_test): Add more tests.
51449         (catanh_test): Likewise.
51450         * sysdeps/i386/fpu/libm-test-ulps: Update.
51451         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51453 2013-04-27  Andreas Jaeger  <aj@suse.de>
51455         [BZ #15007]
51456         * stdlib/stdlib.h: Update guards for qecvt.
51457         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
51458         <stdlib.h>.
51460 2013-04-27  Allan McRae  <allan@archlinux.org>
51462         * sysdeps/i386/fpu/libm-test-ulps: Update.
51464 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
51466         [BZ #15406]
51467         * math/s_catan.c: Include <float.h>.
51468         (__catan): Ensure underflow exception occurs for underflowed
51469         result.
51470         * math/s_catanf.c: Include <float.h>.
51471         (__catanf): Ensure underflow exception occurs for underflowed
51472         result.
51473         * math/s_catanh.c: Include <float.h>.
51474         (__catanh): Ensure underflow exception occurs for underflowed
51475         result.
51476         * math/s_catanhf.c: Include <float.h>.
51477         (__catanhf): Ensure underflow exception occurs for underflowed
51478         result.
51479         * math/s_catanhl.c: Include <float.h>.
51480         (__catanhl): Ensure underflow exception occurs for underflowed
51481         result.
51482         * math/s_catanl.c: Include <float.h>.
51483         (__catanl): Ensure underflow exception occurs for underflowed
51484         result.
51485         * math/libm-test.inc (catan_test): Add more tests.
51486         (catanh_test): Likewise.
51488         [BZ #15405]
51489         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
51490         underflowed result.
51491         * math/s_ccoshf.c (__ccoshf): Likewise.
51492         * math/s_ccoshl.c (__ccoshl): Likewise.
51493         * math/s_csin.c (__csin): Likewise.
51494         * math/s_csinf.c (__csinf): Likewise.
51495         * math/s_csinh.c (__csinh): Likewise.
51496         * math/s_csinhf.c (__csinhf): Likewise.
51497         * math/s_csinhl.c (__csinhl): Likewise.
51498         * math/s_csinl.c (__csinl): Likewise.
51499         * math/libm-test.inc (ccos_test): Add more tests.
51500         (ccosh_test): Likewise.
51501         (csin_test): Likewise.
51502         (csinh_test): Likewise.
51504 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51506         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
51507         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
51508         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
51509         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
51510         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
51511         powerpc/power5+/fpu folders.
51512         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
51515 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
51517         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
51519 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
51521         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
51522         additions to variable.
51523         [$(config-machine) = x86_64] (modules-names): Likewise.
51524         ($(objpfx)tst-audit3): Remove dependency.
51525         ($(objpfx)tst-audit3.out): Likewise.
51526         ($(objpfx)tst-audit4): Likewise.
51527         ($(objpfx)tst-audit4.out): Likewise.
51528         ($(objpfx)tst-audit5): Likewise.
51529         ($(objpfx)tst-audit5.out): Likewise.
51530         ($(objpfx)tst-audit6): Likewise.
51531         ($(objpfx)tst-audit6.out): Likewise.
51532         ($(objpfx)tst-audit7): Likewise.
51533         ($(objpfx)tst-audit7.out): Likewise.
51534         (tst-audit3-ENV): Remove variable.
51535         (tst-audit4-ENV): Likewise.
51536         (tst-audit5-ENV): Likewise.
51537         (tst-audit6-ENV): Likewise.
51538         (tst-audit7-ENV): Likewise.
51539         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
51540         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
51541         addition to variable.
51542         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
51543         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
51544         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
51545         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
51546         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
51547         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
51548         tst-audit3, tst-audit4 and tst-audit5.
51549         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
51550         tst-audit6 and tst-audit7.
51551         [$(subdir) = elf] (modules-names): Add audit modules for those
51552         tests.
51553         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
51554         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
51555         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
51556         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
51557         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
51558         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
51559         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
51560         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
51561         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
51562         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
51563         [$(subdir) = elf] (tst-audit3-ENV): New variable.
51564         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
51565         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
51566         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
51567         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
51568         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
51569         Likewise.
51570         [$(subdir) = elf && $(config-cflags-avx) = yes]
51571         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
51572         [$(subdir) = elf && $(config-cflags-avx) = yes]
51573         (CFLAGS-tst-auditmod4a.c): Likewise.
51574         [$(subdir) = elf && $(config-cflags-avx) = yes]
51575         (CFLAGS-tst-auditmod4b.c): Likewise.
51576         [$(subdir) = elf && $(config-cflags-avx) = yes]
51577         (CFLAGS-tst-auditmod6b.c): Likewise.
51578         [$(subdir) = elf && $(config-cflags-avx) = yes]
51579         (CFLAGS-tst-auditmod6c.c): Likewise.
51580         [$(subdir) = elf && $(config-cflags-avx) = yes]
51581         (CFLAGS-tst-auditmod7b.c): Likewise.
51582         * elf/tst-audit3.c: Move to ...
51583         * sysdeps/x86_64/tst-audit3.c: ... here.
51584         * elf/tst-audit4.c: Move to ...
51585         * sysdeps/x86_64/tst-audit4.c: ... here.
51586         * elf/tst-audit5.c: Move to ...
51587         * sysdeps/x86_64/tst-audit5.c: ... here.
51588         * elf/tst-audit6.c: Move to ...
51589         * sysdeps/x86_64/tst-audit6.c: ... here.
51590         * elf/tst-audit7.c: Move to ...
51591         * sysdeps/x86_64/tst-audit7.c: ... here.
51592         * elf/tst-auditmod3a.c: Move to ...
51593         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
51594         * elf/tst-auditmod3b.c: Move to ...
51595         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
51596         * elf/tst-auditmod4a.c: Move to ...
51597         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
51598         * elf/tst-auditmod4b.c: Move to ...
51599         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
51600         * elf/tst-auditmod5a.c: Move to ...
51601         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
51602         * elf/tst-auditmod5b.c: Move to ...
51603         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
51604         * elf/tst-auditmod6a.c: Move to ...
51605         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
51606         * elf/tst-auditmod6b.c: Move to ...
51607         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
51608         * elf/tst-auditmod6c.c: Move to ...
51609         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
51610         * elf/tst-auditmod7a.c: Move to ...
51611         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
51612         * elf/tst-auditmod7b.c: Move to ...
51613         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
51615 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
51617         [BZ #15366]
51618         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
51619         define unconditionally.
51620         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
51621         define unconditionally.
51622         (INT8_C, INT16_C, etc.): Likewise.
51624 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
51626         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
51627         __ehdr_start with hidden visibility.
51629         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
51631 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
51633         * math/libm-test.inc (cos_test): Use accurate hex constants.
51634         (sincost_test): Likewise.
51636 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
51638         * math/libm-test.inc (catan_test): Add more tests.
51639         (catanh_test): Likewise.
51641         * math/s_catanf.c (__catanf): Use suffixed floating-point
51642         constants.
51643         * math/s_catanhf.c (__catanhf): Likewise.
51644         * math/s_catanhl.c (__catanhl): Likewise.
51645         * math/s_catanl.c (__catanl): Likewise.
51647         [BZ #15394]
51648         * math/s_catan.c (__catan): Calculate imaginary part of result
51649         with log1p not log unless computing log of number close to 0.
51650         * math/s_catanf.c (__catanf): Likewise.
51651         * math/s_catanl.c (__catanl): Likewise.
51652         * math/s_catanh.c (__catanh): Calculate real part of result with
51653         log1p not log unless computing log of number close to 0.
51654         * math/s_catanhf.c (__catanhf): Likewise.
51655         * math/s_catanhl.c (__catanhl): Likewise.
51656         * math/libm-test.inc (catan_test): Add more tests.
51657         (catanh_test): Likewise.
51658         * sysdeps/i386/fpu/libm-test-ulps: Update.
51659         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51661 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51663         * benchtests/Makefile: Mention files in which fast and slow
51664         paths of math functions are implemented.
51666 2013-04-23  Roland McGrath  <roland@hack.frob.com>
51668         * sysdeps/posix/timespec_get.c: New file.
51670 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51672         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
51673         POWER.
51674         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
51675         for POWER.
51676         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
51677         powerpc/power5/fpu folders.
51678         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
51679         * benchtests/Makefile: Add modf testcase.
51680         * benchtests/bench-modf.c: New file: Benchmark test for mo
51682 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
51684         [BZ #14888]
51685         * time/Makefile (tests): Add tst-strptime-whitespace.
51686         * time/strptime_l.c (get_number): Use ISSPACE.
51687         (__strptime_internal): Likewise.
51688         * time/tst-strptime-whitespace.c: New test case.
51690 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
51692         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
51693         member.
51694         (_nss_files_init): Set it here.
51696 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
51698         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
51699         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
51700         unsigned.
51702 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
51704         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
51706 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
51708         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
51709         size just once.
51711 2013-04-21  David S. Miller  <davem@davemloft.net>
51713         * po/ru.po: Update Russion translation from translation project.
51715 2013-04-17  Adam Conrad  <adconrad@0c3.net>
51717         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
51718         and setfsgid.
51720 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
51722         * configure.in: Remove i386 configure warning. Remove i386 case.
51723         * configure: Regenerate.
51724         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
51725         Add example to error message.
51726         * sysdeps/i386/configure: Regenerate.
51728 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51730         * benchtests/Makefile (bench): Add cos, tan, slowcos and
51731         slowtan.
51732         * benchtests/cos-inputs: New file.
51733         * benchtests/slowcos-inputs: New file.
51734         * benchtests/slowcos.c: New file.
51735         * benchtests/slowtan-inputs: New file.
51736         * benchtests/slowtan.c: New file.
51737         * benchtests/tan-inputs: New file.
51739 2013-04-16  Roland McGrath  <roland@hack.frob.com>
51741         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
51742         considered kosher.
51744 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
51746         * benchtests/Makefile: Include cppflags-iterator.mk to add
51747         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
51749         * Makefile.in (bench-clean): New target.
51750         * benchtests/Makefile (bench-clean): Likewise.
51752 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
51754         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
51756 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
51758         * stdio-common/tstdiomisc.c: Fix coding-style violation.
51760 2013-04-15  Andreas Schwab  <schwab@suse.de>
51762         * nscd/grpcache.c (cache_addgr): Properly check for short write.
51763         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51764         * nscd/pwdcache.c (cache_addpw): Likewise.
51765         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
51766         more than recsize.
51768 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51770         * benchtests/Makefile (bench): Write all output to
51771         bench-out.tmp together.
51773 2013-04-15  Andreas Schwab  <schwab@suse.de>
51775         * nscd/nscd.c (main): Don't fork again after closing files.
51777 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
51779         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
51781         * benchtests/Rules (bench-deps): Collect dependencies into a
51782         single variable.  Add Makefile to dependencies.
51783         ($(objpfx)bench-%.c): Depend on bench-deps.
51785 2013-04-12  Roland McGrath  <roland@hack.frob.com>
51786             Xavier Roche  <roche+kml2@exalead.com>
51788         [BZ #15361]
51789         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
51790         just that it's a file descriptor.
51791         * manual/llio.texi (Synchronizing AIO Operations): Update description
51792         for EBADF error from aio_fsync.
51794 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51796         * Rules (bench): Move target definition...
51797         * benchtests/Makefile: ... here.
51799 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
51801         * math/libm-test.inc (cos_test): Fix PI/2 test.
51802         (sincos_test): Likewise.
51803         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
51804         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
51806 2013-04-11  Andreas Schwab  <schwab@suse.de>
51808         [BZ #13988]
51809         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
51810         accept exponent character only when digits were seen.
51811         * stdio-common/Makefile (tests): Add bug26.
51812         * stdio-common/bug26.c: New file.
51814         [BZ #14293]
51815         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
51816         non-freeable.
51818 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
51820         * Makeconfig (rtld-prefix): Define built linker prefix.
51821         * Rules (run-bench): Use it.
51822         * math/Makefile (run-regen-ulps): Likewise.
51824         * Rules (bench): Remove eval.
51826 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51827             Roland McGrath  <roland@hack.frob.com>
51828             Ondrej Bilka  <neleai@seznam.cz>
51830         [BZ #15346]
51831         * time/getdate.c: Include ctype.h and alloca.h.
51832         (__getdate_r): Trim leading and trailing spaces of input.
51833         * time/tst-getdate.c (tests): Add tests with leading and
51834         trailing spaces.
51836 2013-04-08  Roland McGrath  <roland@hack.frob.com>
51838         [BZ #14280]
51839         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
51840         when computing value.
51842 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51844         * math/README.libm-test (How can I generate "libm-test-ulps"?):
51845         Use testrun.sh to run libm tests.
51847         [BZ #15309]
51848         * elf/dl-open.c (dl_open_worker): memset all of seen array.
51850 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
51852         [BZ #15264]
51853         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
51855 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51857         * Makefile.in (regen-ulps): New target.
51858         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
51859         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
51860         [ifneq (no,$(PERL)] (regen-ulps): New target.
51861         [ifeq (no,$(PERL)] (regen-ulps): New target.
51862         * math/libm-test.inc (ulps_file_name): Define.
51863         (output_dir): New variable.
51864         (options): Add "output-dir" option.
51865         (parse_opt): Handle 'o' case.
51866         (main): If output_dir is non-NULL use it as a prefix
51867         otherwise use "".
51868         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
51870 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51872         [BZ #10060, #10062]
51873         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
51874         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
51875         fail configure if __sync_val_compare_and_swap is not inlined.
51876         * sysdeps/i386/configure: Regenerate.
51877         * configure.in: Build for i686 when configured for i386.
51878         * configure: Regenerate.
51879         * README: Remove i386 reference.
51881 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
51883         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
51884         * sysdeps/s390/s390-64/sysdep.h: Likewise.
51886 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
51888         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
51889         (lmsnanval): New variables.
51890         (F): Add conversion tests.
51891         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
51892         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
51894         * stdio-common/tstdiomisc.c (F): Properly collect individual
51895         tests' results.
51897         [BZ #14686, #15336]
51898         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
51899         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
51900         Instead, use input NaN values or generate a qNaN by arithmetic
51901         operation.  Also fix bugs to comply with the standard.
51902         * math/libm-test.inc (remainder_test): Add more tests.
51904         [BZ #15335, #15342]
51905         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
51906         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
51907         input NaN values or generate a qNaN by arithmetic operation.
51909         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
51910         unreachable code.
51912         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
51913         definitions.
51915 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
51917         [BZ #14478]
51918         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
51919         underflowed result.
51920         * math/s_cexpf.c (__cexpf): Likewise.
51921         * math/s_cexpl.c (__cexpl): Likewise.
51922         * math/libm-test.inc (cexp_test): Add more tests.
51924 2013-04-03  Andreas Schwab  <schwab@suse.de>
51926         [BZ #15330]
51927         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
51928         order arrays from heap if bigger than alloca cutoff.
51930 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
51932         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
51933         (SNAN_TESTS_double): Refer to GCC PR56831.
51934         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
51935         GCC PR56828.
51937 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
51939         * Rules (bench): Move bench.out after the run is complete.
51941         * Rules (bench): Echo currently running benchmark.
51943         * benchtests/Makefile (bench): Add atan and slowatan.
51944         * benchtests/atan-inputs: New file.
51945         * benchtests/slowatan-inputs: New file.
51946         * benchtests/slowatan.c: New file.
51948         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
51949         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
51950         its value.
51952         [BZ #15305]
51953         * sysdeps/unix/sysv/linux/kernel-features.h
51954         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
51955         __ASSUME_XFS_RESTRICTED_CHOWN.
51956         * sysdeps/unix/sysv/linux/pathconf.c
51957         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
51958         Save and restore errno.
51960 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
51962         [BZ #15327]
51963         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
51964         arguments using __kernel_casinh.
51965         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
51966         arguments using __kernel_casinhf.
51967         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
51968         arguments using __kernel_casinhl.
51969         * math/libm-test.inc (cacosh_test): Add more tests.
51970         * sysdeps/i386/fpu/libm-test-ulps: Update.
51971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51973 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
51975         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
51976         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
51978         * bench/Makefile (bench): Add sin and slowsin.
51979         * benchtests/sin-inputs: New file.
51980         * benchtests/slowsin-inputs: New file.
51981         * benchtests/slowsin.c: New file.
51983         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
51984         (bench): Add slowexp and slowpow.
51985         (exp-ITER): Increase iterations.
51986         (pow-ITER): Likewise.
51987         * benchtests/exp-inputs: Change input.
51988         * benchtests/pow-inputs: Likewise.
51989         * benchtests/slowexp-inputs: New file.
51990         * benchtests/slowexp.c: New file.
51991         * benchtests/slowpow-inputs: New file.
51992         * benchtests/slowpow.c: New file.
51994 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51996         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
51997         instructions.
51998         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
51999         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
52000         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52001         * benchtests/Makefile: Add rint benchtest.
52002         * benchtests/rint-inputs: Input for rint benchtest.
52004 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
52006         * Versions.def (libm): Add GLIBC_2.18.
52007         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
52008         hidden libm prototypes.
52009         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
52010         * math/Makefile (libm-calls): Add s_issignaling.
52011         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
52012         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
52013         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
52014         declaration.
52015         * math/math.h [__USE_GNU] (issignaling): New macro.
52016         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
52017         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
52018         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
52019         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
52020         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
52021         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
52022         * manual/arith.texi (issignaling): New section.
52023         * manual/libm-err-tab.pl (@all_functions): Update comment.
52024         * math/gen-libm-test.pl (parse_args): Apply special handling for
52025         issignaling.
52026         * math/libm-test.inc (print_float, issignaling_test): New
52027         functions.
52028         (check_float_internal): Add issignaling checks.
52029         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
52030         default definition.
52031         * sysdeps/powerpc/math-tests.h: New file.
52032         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
52033         tests.
52034         * math/test-snan.c (TEST_FUNC): Likewise.
52036 2013-03-30  David S. Miller  <davem@davemloft.net>
52038         * po/de.po: Update from translation team.
52040 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
52042         [BZ #10357]
52043         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52044         imaginary part less than 1.0 and real part less than 0.5
52045         specially.
52046         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52047         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52048         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
52049         (cacos_test): Add more tests.
52050         (casin_test): Likewise.
52051         (casinh_test): Likewise.
52052         * sysdeps/i386/fpu/libm-test-ulps: Update.
52053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52055 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
52057         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
52058         ONE with its value.
52060         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
52061         (__pow_mp): Replace ONE and MONE with their values.
52062         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52063         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
52064         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52065         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
52066         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52067         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52069         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
52071         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
52072         (__pow_mp): Replace ZERO and MZERO with their values.
52073         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52074         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52075         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
52076         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
52077         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52078         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
52079         (__sqr): Likewise.
52081         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
52083         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
52085 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52087         * include/stdlib.h [!SHARED] (__call_tls_dtors):
52088         Declare with __attribute__ ((weak)).
52089         * stdlib/exit.c (__libc_atexit) [!SHARED]:
52090         Call __call_tls_dtors only if it's not NULL.
52092 2013-03-28  Roland McGrath  <roland@hack.frob.com>
52094         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
52095         didn't do it already, then set _dl_phdr and _dl_phnum based on the
52096         magic __ehdr_start linker symbol if it's defined.
52097         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
52098         them up here if it was already done.
52100         * elf/dl-support.c (_dl_phdr): Make pointer to const.
52101         (_dl_aux_init): Use const in cast when setting it.
52102         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
52103         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
52104         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
52106         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
52107         Declare them here.
52108         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
52109         * csu/libc-tls.c: Nor here.
52110         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
52112         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
52113         (__libc_message): Never call vsyslog.
52115 2013-03-28  Alan Modra  <amodra@gmail.com>
52117         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
52118         Define as empty.
52119         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
52120         Likewise.
52122 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52124         [BZ #15214]
52125         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
52126         underflow.
52127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
52129 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
52131         [BZ #15304]
52132         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
52133         Don't add gid passed as argument.
52135         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
52137 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
52139         [BZ #15307]
52140         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52141         imaginary part between 1.0 and 1.5 and real part less than 0.5
52142         specially.
52143         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52144         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52145         * math/libm-test.inc (cacos_test): Add more tests.
52146         (casin_test): Likewise.
52147         (casinh_test): Likewise.
52148         * sysdeps/i386/fpu/libm-test-ulps: Update.
52149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52151 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
52153         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
52154         constants.
52155         (norm): Likewise.
52156         (denorm): Likewise.
52157         (__dbl_mp): Likewise.
52158         (add_magnitudes): Likewise.
52159         (sub_magnitudes): Likewise.
52160         (__add): Likewise.
52161         (__sub): Likewise.
52162         (__mul): Likewise.
52163         (__sqr): Likewise.
52164         (__inv): Likewise.
52165         (__dvd): Likewise.
52167         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
52168         commented code.
52169         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
52170         (__dubcos): Likewise.
52171         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
52172         (__ieee754_acos): Likewise.
52173         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
52174         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
52175         (__exp1): Likewise.
52176         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
52177         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
52178         (log1): Likewise.
52179         (my_log2): Likewise.
52180         (checkint): Likewise.
52181         * sysdeps/ieee754/dbl-64/e_remainder.c
52182         (__ieee754_remainder): Likewise.
52183         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
52184         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
52185         (bsloww): Likewise.
52186         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
52188         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52189         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
52190         MANTISSA_STORE_T to store computations on mantissa.  Use
52191         macros for rounding and division.
52192         (denorm): Likewise.
52193         (__dbl_mp): Likewise.
52194         (add_magnitudes): Likewise.
52195         (sub_magnitudes): Likewise.
52196         (__mul): Likewise.
52197         (__sqr): Likewise.
52198         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52199         powers of two in terms of TWOPOW macro.
52200         (mp_no): Make type of mantissa as MANTISSA_T.
52201         [!RADIXI]: Define RADIXI.
52202         [!TWO52]: Define TWO52.
52203         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52205 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52207         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
52208         llroundl symbol when building for PPC32.
52210 2013-03-24  Mark H Weaver  <mhw@netris.org>
52212         * manual/arith.texi (Normalization Functions): Fix prototypes for
52213         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
52215 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52217         [BZ #13889]
52218         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
52219         high value to check if expl overflow.
52220         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
52221         to check for underflow and overflow.
52222         * math/libm-test.inc: Add exp test.
52224 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
52226         [BZ #11120]
52227         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
52228         with NOT_IN_libc.
52230 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52232         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
52233         symbol.
52235 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
52237         * math/gen-libm-test.pl (parse_args, special_functions): Properly
52238         wrap blocks consisting of several statements.
52240         * sysdeps/generic/math-tests.h: New file.
52241         * sysdeps/i386/fpu/math-tests.h: Likewise.
52242         * math/test-snan.c: Include it.
52243         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
52245 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52247         [BZ #15285]
52248         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
52249         (__ieee754_j0l): Do not improve calculations using cos of twice
52250         input for inputs above LDBL_MAX / 2.0L.
52251         (__ieee754_y0l): Likewise.
52252         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
52253         (__ieee754_j1l): Do not improve calculations using cos of twice
52254         input for inputs above LDBL_MAX / 2.0L.
52255         (__ieee754_y1l): Likewise.
52256         * math/libm-test.inc (j0_test): Add another test.
52257         (j1_test): Likewise.
52258         (y0_test): Likewise.
52259         (y1_test): Likewise.
52260         * sysdeps/i386/fpu/libm-test-ulps: Update.
52262 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52264         * Rules ($(objpfx)bench-%.c): Include code from a C source
52265         file.
52267 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
52269         [BZ #15287]
52270         * math/k_casinh.c (__kernel_casinh): Handle arguments with
52271         imaginary part 1.0 and real part less than 0.5 specially.
52272         * math/k_casinhf.c (__kernel_casinhf): Likewise.
52273         * math/k_casinhl.c (__kernel_casinhl): Likewise.
52274         * math/libm-test.inc (cacos_test): Add more tests.
52275         (casin_test): Likewise.
52276         (casinh_test): Likewise.
52277         * sysdeps/i386/fpu/libm-test-ulps: Update.
52278         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52280 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
52282         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
52283         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
52285 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
52287         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
52288         * config.make.in (config-cflags-sse4): Remove variable.
52289         (config-cflags-avx): Likewise.
52290         (config-cflags-sse2avx): Likewise.
52291         (config-cflags-novzeroupper): Likewise.
52292         (config-asflags-i686): Likewise.
52293         (have-mfma4): Likewise.
52294         (have-as-vis3): Likewise.
52295         (MIG): Likewise.
52296         * configure.in (MIG): Do not AC_SUBST.
52297         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
52298         (libc_cv_cc_sse4): Do not AC_SUBST.
52299         (libc_cv_cc_avx): Likewise.
52300         (libc_cv_cc_sse2avx): Likewise.
52301         (libc_cv_cc_novzeroupper): Likewise.
52302         (libc_cv_cc_fma4): Likewise.
52303         (libc_cv_as_i686): Likewise.
52304         (libc_cv_sparc_as_vis3): Likewise.
52305         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
52306         LIBC_CONFIG_VAR.
52307         (config-asflags-i686): Likewise.
52308         (config-cflags-avx): Likewise.
52309         (config-cflags-sse2avx): Likewise.
52310         (have-mfma4): Likewise.
52311         (config-cflags-novzeroupper): Likewise.
52312         * sysdeps/mach/configure.in (MIG): Likewise.
52313         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
52314         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
52315         LIBC_CONFIG_VAR.
52316         (config-cflags-avx): Likewise.
52317         (config-cflags-sse2avx): Likewise.
52318         (have-mfma4): Likewise.
52319         (config-cflags-novzeroupper): Likewise.
52320         * configure: Regenerated.
52321         * sysdeps/i386/configure: Likewise.
52322         * sysdeps/mach/configure: Likewise.
52323         * sysdeps/sparc/configure: Likewise.
52324         * sysdeps/x86_64/configure: Likewise.
52326 2013-03-20  Roland McGrath  <roland@hack.frob.com>
52328         [BZ #14812]
52329         * locale/programs/localedef.c (options): Put N_ translation marker
52330         on argument names, not just descriptions.
52332 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
52334         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
52336 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
52338         [BZ #14176]
52339         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
52341 2013-03-19  Roland McGrath  <roland@hack.frob.com>
52343         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
52344         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
52345         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
52346         [!BEFORE_ABORT] (before_abort): New function.
52347         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
52348         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
52349         (writev_for_fatal): New function.
52350         (WRITEV_FOR_FATAL): New macro; call that.
52351         (backtrace_and_maps): New function.
52352         (BEFORE_ABORT): New macro; call that.
52353         (struct str_list): Type removed.
52354         (__libc_message, __libc_fatal): Functions removed.
52355         Include <sysdeps/posix/libc_fatal.c> instead.
52357 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
52359         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
52360         constants.
52361         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
52362         double constants.
52364 2013-03-19  Andreas Schwab  <schwab@suse.de>
52366         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
52367         * sysdeps/gnu/configure: Regenerate.
52369         * configure.in: Substitute libc_cv_rtlddir.
52370         * configure: Regenerate.
52371         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
52372         * Makeconfig (rtlddir, inst_rtlddir): New variables.
52373         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
52374         * elf/Makefile (install-others, CFLAGS-interp.c)
52375         (ldso_install, common-ldd-rewrite): Likewise.
52376         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
52377         $(inst_slibdir)/$(rtld-installed-name).
52378         * scripts/rellns-sh: Add -p option.
52379         * Makerules (make-shlib-link): Use rellns-sh to get relative name
52380         for source.
52382 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
52384         * manual/nptl.texi: Renamed to ...
52385         * manual/threads.texi: ... this.
52386         * manual/Makefile (chapters): Update.
52388 2013-03-18  Roland McGrath  <roland@hack.frob.com>
52390         [BZ #14812]
52391         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
52392         on argument names, not just descriptions.
52393         * malloc/memusagestat.c (options): Likewise.
52394         * nss/getent.c (options): Likewise.
52396 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
52398         [BZ #14812]
52399         * iconv/iconv_prog.c (options): Put N_ translation marker
52400         on argument names, not just descriptions.
52401         * iconv/iconvconfig.c (options): Likewise.
52403 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
52405         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
52406         implementation which is faster on all x86_64 architectures.
52407         Tested on AMD, Intel Nehalem, SNB, IVB.
52408         * sysdeps/x86_64/strnlen.S: Likewise.
52410         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
52411         Remove all multiarch strlen and strnlen versions.
52412         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
52413         Remove strlen and strnlen related parts.
52415         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
52416         Inline strlen part.
52417         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
52419         * sysdeps/x86_64/multiarch/strlen.S: Remove.
52420         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
52421         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
52422         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
52423         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
52424         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
52426 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
52428         * manual/memory.texi (Malloc Tunable Parameters):
52429         Sort parameters alphabetically. Add comments for missing entries.
52431 2013-03-17  David S. Miller  <davem@davemloft.net>
52433         * sysdeps/sparc/fpu/libm-test-ulps: Update.
52435 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
52437         [BZ #15283]
52438         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
52439         for arguments at most half maximum finite value.
52440         * math/libm-test.inc (j0_test): Add more tests.
52441         (j1_test): Likewise.
52442         (y0_test): Likewise.
52443         (y1_test): Likewise.
52444         * sysdeps/i386/fpu/libm-test-ulps: Update.
52445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
52447         [BZ #14155]
52448         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
52449         1 / x and functions P and Q for arguments above 0x1p256L.
52450         (__ieee754_y0l): Likewise.
52451         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
52452         (__ieee754_y1l): Likewise.
52453         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
52454         (j1_test): Likewise.
52455         (y0_test): Likewise.
52456         (y1_test): Likewise.
52458 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
52460         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
52461         variable.
52463 2013-03-15  Roland McGrath  <roland@hack.frob.com>
52465         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
52466         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
52467         zero since it's initialized to EXEC_PAGESIZE.
52469         * sysdeps/unix/sysv/linux/ldsodefs.h
52470         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
52471         * sysdeps/generic/ldsodefs.h: ... here.
52473 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
52475         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
52477         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
52478         math/test-snan.c.
52479         * math/test-snan.c: Renamed from
52480         sysdeps/powerpc/fpu/test-powerpc-snan.c.
52481         * math/Makefile (tests): Add test-snan.
52482         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
52483         test-powerpc-snan.
52485         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
52486         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
52487         functions.
52488         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
52489         __builtin_nan family of functions.
52490         * math/libm-test.inc (initialize): Initialize qnan_value with
52491         __builtin_nan family of functions.
52492         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
52493         Remove variables.
52494         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
52495         Remove functions.
52496         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
52497         storage class.  Initialize qNaN_var and sNaN_var with
52498         __builtin_nan and __builtin_nans families of functions,
52499         respectively.
52501         * math/libm-test.inc (acosh_test): Also test with qNaN input.
52502         (sqrt_test): Remove duplicate test with qNaN input.
52503         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
52504         (round_test, signbit_test, significand_test): Note missing +/-Inf
52505         as well as qNaN tests.
52507         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
52508         qNaN_var.  Fix a few strings, too.
52509         * math/libm-test.inc (nan_value): Rename to qnan_value.
52510         * math/gen-libm-test.pl (%beautify): Adjust to that.
52511         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
52512         * math/test-misc.c (main): Likewise.
52513         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
52514         to __qnan_bytes, and __qnan_union, respectively.
52515         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
52516         Likewise.
52517         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
52518         and lqnanval, respectively.
52519         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
52520         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
52521         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
52522         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
52524         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
52525         * math/test-misc.c (main) [__x86_64__]: Enable test for long
52526         doubles.
52528         * math/test-misc.c (main): Fix copy'n'pastos.
52529         * misc/tst-efgcvt.c (special): Likewise.
52531         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
52532         Remove declarations.
52534 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52536         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
52537         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
52538         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
52539         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
52541 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52543         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
52544         macro to return vdso values correctly in IFUNC implementations.
52545         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
52546         Optimization by using IFUNC.
52548 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52549             Richard Henderson  <rth@redhat.com>
52550             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
52552         * Makefile.in (bench): New target.
52553         * NEWS: Mention the benchmark framework.
52554         * Rules (bench): Likewise.
52555         (binaries-bench): Generate binaries for functions to
52556         benchmark.
52557         * benchtests/Makefile: New makefile for benchmark tests.
52558         * benchtests/bench-skeleton.c: New skeleton file for benchmark
52559         programs.
52560         * benchtests/exp-inputs: New input file for EXP function.
52561         * benchtests/pow-inputs: New input file for POW function.
52562         * scripts/bench.pl: New script to generate source files for
52563         benchmark programs.
52565 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
52567         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
52568         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
52569         computations on mantissa.  Use macros for rounding and
52570         division.
52571         (denorm): Likewise.
52572         (__dbl_mp): Likewise.
52573         (add_magnitudes): Likewise.
52574         (sub_magnitudes): Likewise.
52575         (__mul): Likewise.
52576         (__sqr): Likewise.
52577         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
52578         powers of two in terms of TWOPOW macro.
52579         (mp_no): Make type of mantissa as MANTISSA_T.
52580         [!RADIXI]: Define RADIXI.
52581         [!TWO52]: Define TWO52.
52582         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
52584         * manual/nptl.texi (cindex): Modify threads to pthreads.
52586 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
52588         * sysdeps/x86_64/preconfigure: Regenerated.
52590 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
52592         [BZ #14155]
52593         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
52594         0x1p28 and above.
52595         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
52596         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
52597         0x1p28 and above.
52598         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
52599         * math/libm-test.inc (j0_test): Do not allow one spurious
52600         underflow exception.
52601         (y1_test): Likewise.
52603 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
52605         * manual/Makefile (chapters): Add nptl.
52606         * manual/debug.texi (Debugging Support): Add link to Threads
52607         chapter.
52608         * manual/nptl.texi: New file.
52610         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
52612 2013-03-14  Petr Baudis  <pasky@ucw.cz>
52614         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
52615         for non-NULL pointer before the memory validity test. Pointed
52616         out by Holger Brunck <holger.brunck@keymile.com>.
52618 2013-03-13  Andreas Schwab  <schwab@suse.de>
52620         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
52621         instead of .os.
52623 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
52625         * timezone/zic.c: Update from tzcode 2013b.
52627 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
52629         * manual/install.texi (Configuring and compiling):
52630         Mention i686 and i586.
52631         * INSTALL: Regenerate.
52633 2013-03-12  Roland McGrath  <roland@hack.frob.com>
52635         * sysdeps/init_array/elf-init.c: New file.
52636         * csu/elf-init.c
52637         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
52638         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
52640         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
52641         __gmon_start__ as global, but as static with a .preinit_array pointer.
52642         * sysdeps/init_array/gmon-start.c: New file.  Use that.
52643         * sysdeps/init_array/crti.S: New file, empty except for comments.
52644         * sysdeps/init_array/crtn.S: Likewise.
52646 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
52648         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
52649         definining bcopy.
52650         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52651         Remove Prefer_SSE_for_memop.
52652         * sysdeps/x86_64/multiarch/init-arch.h: Remove
52653         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
52654         HAS_PREFER_SSE_FOR_MEMOP.
52655         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
52656         memset-x86-64.
52657         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
52658         Remove bzero, memset ifunc support.
52659         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
52660         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
52661         * sysdeps/x86_64/multiarch/memset.S: Likewise.
52662         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
52664 2013-03-11  Andreas Schwab  <schwab@suse.de>
52666         [BZ #15234]
52667         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
52668         by SHLIB_COMPAT.
52669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
52670         (GLIBC_2.16): Remove pthread_atfork.
52672 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
52674         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
52675         (ptestcases.h): Likewise.
52677 2013-03-08  Roland McGrath  <roland@hack.frob.com>
52679         * Makeconfig ($(common-objpfx)config.status): Depend on
52680         sysdeps/*/preconfigure{,.in} too.
52682 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
52684         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
52685         (__free_hook): Use void * instead of __malloc_ptr_t.
52686         (__malloc_hook): Likewise.
52687         (__realloc_hook): Likewise.
52688         (__memalign_hook): Likewise.
52689         (__after_morecore_hook): Likewise.
52690         * malloc/arena.c (save_malloc_hook): Likewise.
52691         (save_free_hook): Likewise.
52692         * malloc/hooks.c (malloc_hook_ini): Likewise.
52693         (realloc_hook_ini): Likewise.
52694         (memalign_hook_ini): Likewise.
52695         * malloc/malloc.c (malloc_hook_ini): Likewise.
52696         (realloc_hook_ini): Likewise.
52697         (memalign_hook_ini): Likewise.
52698         (__free_hook): Likewise.
52699         (__malloc_hook): Likewise.
52700         (__realloc_hook): Likewise.
52701         (__memalign_hook): Likewise.
52702         (__libc_malloc): Likewise.
52703         (__libc_free): Likewise.
52704         (__libc_realloc): Likewise.
52705         (__libc_memalign): Likewise.
52706         (__libc_valloc): Likewise.
52707         (__libc_pvalloc): Likewise.
52708         (__libc_calloc): Likewise.
52709         (__posix_memalign): Likewise.
52710         * malloc/morecore.c (__sbrk): Likewise.
52711         (__default_morecore): Likewise.
52713         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
52715         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
52716         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
52717         __malloc_ptrdiff_t.
52719         * malloc/malloc.h (__malloc_size_t): Remove macro.
52720         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
52721         __malloc_size_t.
52722         (old_memalign_hook): Likewise.
52723         (old_realloc_hook): Likewise.
52724         (struct hdr): Likewise.
52725         (flood): Likewise.
52726         (mallochook): Likewise.
52727         (memalignhook): Likewise.
52728         (reallochook): Likewise.
52729         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
52730         (tr_old_realloc_hook): Likewise.
52731         (tr_old_memalign_hook): Likewise.
52732         (tr_mallochook): Likewise.
52733         (tr_reallochook): Likewise.
52734         (tr_memalignhook): Likewise.
52736 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
52738         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
52739         default_ldbl_pack and using as default implementation.
52740         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
52741         implementation.
52742         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
52743         redundant definition.
52744         (ldbl_insert_mantissa): Likewise.
52745         (ldbl_canonicalize): Likewise.
52746         (ldbl_nearbyint): Likewise.
52747         (ldbl_pack): Rename to ldbl_pack_ppc.
52748         (ldbl_unpack): Rename to ldbl_unpack_ppc.
52749         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
52750         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
52752 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
52754         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
52755         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
52756         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
52757         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
52758         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
52759         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
52760         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
52761         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
52763 2013-03-07  Andreas Jaeger  <aj@suse.de>
52765         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52766         bits/mman-linux.h.
52768 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
52770         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
52771         Include mpa.h and declare __MPEXP.
52772         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
52773         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52774         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52775         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
52776         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52777         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
52778         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
52780         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
52781         (__slowpow): Use long double EXPL and LOGL functions to
52782         compute POW.
52783         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
52784         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52785         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
52786         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
52787         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
52788         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
52790         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
52791         intermediate variable to calculate exponent.
52792         (__sqr): Likewise.
52793         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
52794         Likewise.
52795         (__sqr): Likewise.
52797         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
52798         [!NO__SQR]: Define __sqr.
52799         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
52800         and NO__SQR.  Remove all code except __mul and __sqr.  Include
52801         sysdeps/ieee754/dbl-64/mpa.c.
52802         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
52804         [BZ #12723]
52805         * posix/Makefile (tests): Add tst-pathconf.
52806         * posix/tst-pathconf.c: New test case.
52807         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
52808         _PC_PIPE_BUF.
52809         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
52811 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
52813         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
52815 2013-03-06  Andreas Jaeger  <aj@suse.de>
52817         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
52818         definition via __MAP_ANONYMOUS.
52820         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
52821         it's not part of Linux headers.
52823         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
52824         (MAP_HUGE_MASK): Define.
52826         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52827         Define.
52828         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52829         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52830         Define.
52831         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52832         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
52833         Define.
52834         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52835         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
52836         Define.
52837         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
52839         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
52840         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
52841         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
52842         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
52843         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
52844         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
52846         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
52847         Handle f2fs.
52849         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
52850         Handle f2fs and efivarfs.
52852         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
52853         f2fs.
52855         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
52856         (EFIVARFS_MAGIC): Add.
52857         (F2FS_LINK_MAX): Add.
52859 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52861         * stdio-common/vfprintf.c: Replace __builtin_expect with
52862         __glibc_unlikely.
52864 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
52866         [BZ #13550]
52867         * sysdeps/generic/bp-sym.h: Remove file.
52868         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
52869         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
52870         <bp-sym.h> and <bp-asm.h>.
52871         (__longjmp): Don't use BP_SYM.
52872         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
52873         and <bp-asm.h>.
52874         (memcpy): Don't use BP_SYM.
52875         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
52876         <bp-sym.h> and <bp-asm.h>.
52877         (memcpy): Don't use BP_SYM.
52878         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
52879         <bp-asm.h>.
52880         (memcpy): Don't use BP_SYM.
52881         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
52882         <bp-asm.h>.
52883         (memset): Don't use BP_SYM.
52884         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52885         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52886         (__bzero): Don't use BP_SYM.
52887         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52888         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52889         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
52890         <bp-sym.h> and <bp-asm.h>.
52891         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52892         pointers.
52893         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
52894         <bp-sym.h> and <bp-asm.h>.
52895         (memcpy): Don't use BP_SYM.
52896         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
52897         <bp-sym.h> and <bp-asm.h>.
52898         (memset): Don't use BP_SYM.
52899         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52900         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52901         (__bzero): Don't use BP_SYM.
52902         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52903         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52904         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
52905         <bp-sym.h> and <bp-asm.h>.
52906         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52907         pointers.
52908         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
52909         <bp-sym.h> and <bp-asm.h>.
52910         (memcpy): Don't use BP_SYM.
52911         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
52912         <bp-sym.h> and <bp-asm.h>.
52913         (memset): Don't use BP_SYM.
52914         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
52915         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
52916         (__bzero): Don't use BP_SYM.
52917         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
52918         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
52919         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
52920         <bp-sym.h> and <bp-asm.h>.
52921         (__memchr): Don't use BP_SYM.
52922         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
52923         <bp-sym.h> and <bp-asm.h>.
52924         (memcmp): Don't use BP_SYM.  Remove comment about bounded
52925         pointers.
52926         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
52927         <bp-sym.h> and <bp-asm.h>.
52928         (memcpy): Don't use BP_SYM.
52929         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
52930         <bp-sym.h> and <bp-asm.h>.
52931         (__mempcpy): Don't use BP_SYM.
52932         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
52933         <bp-sym.h> and <bp-asm.h>.
52934         (__memrchr): Don't use BP_SYM.
52935         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
52936         <bp-sym.h> and <bp-asm.h>.
52937         (memset): Don't use BP_SYM.
52938         (__bzero): Likewise.
52939         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
52940         <bp-sym.h> and <bp-asm.h>.
52941         (__rawmemchr): Don't use BP_SYM.
52942         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
52943         <bp-sym.h> and <bp-asm.h>.
52944         (__STRCMP): Don't use BP_SYM.
52945         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
52946         <bp-sym.h> and <bp-asm.h>.
52947         (strchr): Don't use BP_SYM.
52948         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
52949         <bp-sym.h> and <bp-asm.h>.
52950         (__strchrnul): Don't use BP_SYM.
52951         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
52952         <bp-sym.h> and <bp-asm.h>.
52953         (strlen): Don't use BP_SYM.
52954         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
52955         <bp-sym.h> and <bp-asm.h>.
52956         (strncmp): Don't use BP_SYM.  Remove comment about bounded
52957         pointers.
52958         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
52959         <bp-sym.h> and <bp-asm.h>.
52960         (__strnlen): Don't use BP_SYM.
52961         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
52962         <bp-sym.h> and <bp-asm.h>.
52963         (__GI__setjmp): Don't use BP_SYM.
52964         (_setjmp): Likewise.
52965         (__sigsetjmp): Likewise.
52966         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
52967         (L(start_addresses)): Don't use BP_SYM.
52968         (_start): Likewise.
52969         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
52970         <bp-asm.h>.
52971         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
52972         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
52973         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52974         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52975         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
52976         <bp-asm.h>.
52977         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
52978         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
52979         about bounded pointers.
52980         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
52981         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
52982         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
52983         <bp-asm.h>.
52984         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52985         about bounded pointers.  Remove GKM FIXME comments.
52986         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
52987         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
52988         <bp-asm.h>.
52989         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
52990         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
52991         Remove GKM FIXME comments.
52992         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
52993         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
52994         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
52995         <bp-asm.h>.
52996         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
52997         about bounded pointers.  Remove GKM FIXME comment.
52998         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
52999         and <bp-asm.h>.
53000         (strncmp): Don't use BP_SYM.  Remove comment about bounded
53001         pointers.
53002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
53003         <bp-sym.h> and <bp-asm.h>.
53004         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
53006         <bp-sym.h> and <bp-asm.h>.
53007         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53008         comment.
53010 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
53012         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
53013         call free(NULL).
53015 2013-03-05  David S. Miller  <davem@davemloft.net>
53017         * po/es.po: Update from translation team.
53019 2013-03-05  Andreas Jaeger  <aj@suse.de>
53021         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
53022         <bits/mman-linux.h>.
53023         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53024         is fine.
53025         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
53026         <bits/mman-linux.h> to end of file.
53027         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53028         is fine.
53029         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
53030         <bits/mman-linux.h> to end of file.
53031         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
53032         is fine.
53033         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
53034         <bits/mman-linux.h> to end of file.
53036         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
53037         (MCL_CURRENT, MCL_FUTURE): Define here.
53039 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53041         [BZ #15232]
53042         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
53043         attribute_hidden.
53044         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
53046 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53048         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
53049         fourth parameter needed for rt_sigprocmask syscall.
53050         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
53051         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
53052         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
53053         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
53054         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
53055         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
53057 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
53059         [BZ #13550]
53060         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
53061         comment about bounded pointers.
53062         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
53063         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
53065 2013-03-04  Andreas Jaeger  <aj@suse.de>
53067         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
53068         common definitions.
53070         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
53071         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
53072         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
53073         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53074         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53075         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53077 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53079         [BZ #15055]
53080         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
53081         __ieee754_sqrl instead of __sqrl.
53083 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
53085         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
53086         * sysdeps/powerpc/fpu_control.h: ... here.
53087         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
53088         * sysdeps/powerpc/bits/fenvinline.h: ... here.
53089         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
53090         * sysdeps/powerpc/bits/mathinline.h: ... here.
53092 2013-03-01  Roland McGrath  <roland@hack.frob.com>
53094         * elf/dl-hwcaps.c (_dl_important_hwcaps):
53095         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
53096         to just [NEED_DL_SYSINFO_DSO].
53097         * elf/dl-support.c: Likewise.
53098         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
53099         * elf/rtld.c (dl_main): Likewise.
53100         * elf/setup-vdso.h (setup_vdso): Likewise.
53101         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
53102         * sysdeps/unix/sysv/linux/dl-sysdep.c
53103         (_dl_discover_osversion): Likewise.
53105 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
53107         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
53108         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53110 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
53112         * NEWS: Mention libm performance improvements and non-x86 PI
53113         futex support.
53115         * csu/libc-start.c (__pthread_initialize_minimal): Change
53116         function arguments.
53117         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
53119 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
53121         [BZ #13550]
53122         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
53123         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
53124         <bp-sym.h> and <bp-asm.h>.
53125         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53126         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
53127         and <bp-asm.h>.
53128         (memcpy): Don't use BP_SYM.
53129         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
53130         <bp-asm.h>.
53131         (__mpn_add_n): Don't use BP_SYM.
53132         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
53133         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
53134         and <bp-asm.h>.
53135         (__mpn_addmul_1): Don't use BP_SYM.
53136         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53137         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
53138         <bp-sym.h>.
53139         (_setjmp): Don't use BP_SYM.
53140         (__novmx_setjmp): Likewise.
53141         (__GI__setjmp): Likewise.
53142         (__vmx_setjmp): Likewise.
53143         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
53144         <bp-sym.h>.
53145         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
53146         (__bzero): Don't use BP_SYM.
53147         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
53148         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
53149         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
53150         <bp-sym.h> and <bp-asm.h>.
53151         (memcpy): Don't use BP_SYM.
53152         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
53153         <bp-sym.h> and <bp-asm.h>.
53154         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53155         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
53156         <bp-sym.h> and <bp-asm.h>.
53157         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
53158         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
53159         <bp-asm.h>.
53160         (__mpn_lshift): Don't use BP_SYM.
53161         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53162         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
53163         <bp-asm.h>.
53164         (memset): Don't use BP_SYM.
53165         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
53166         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
53167         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
53168         <bp-asm.h>.
53169         (__mpn_mul_1): Don't use BP_SYM.
53170         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53171         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
53172         <bp-sym.h> and <bp-asm.h>.
53173         (memcmp): Don't use BP_SYM.
53174         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
53175         <bp-sym.h> and <bp-asm.h>.
53176         (memcpy): Don't use BP_SYM.
53177         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
53178         <bp-sym.h> and <bp-asm.h>.
53179         (memset): Don't use BP_SYM.
53180         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
53181         <bp-sym.h> and <bp-asm.h>.
53182         (strncmp): Don't use BP_SYM.
53183         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
53184         <bp-sym.h> and <bp-asm.h>.
53185         (memcpy): Don't use BP_SYM.
53186         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
53187         <bp-sym.h> and <bp-asm.h>.
53188         (memset): Don't use BP_SYM.
53189         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
53190         <bp-sym.h> and <bp-asm.h>.
53191         (__memchr): Don't use BP_SYM.
53192         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
53193         <bp-sym.h> and <bp-asm.h>.
53194         (memcmp): Don't use BP_SYM.
53195         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
53196         <bp-sym.h> and <bp-asm.h>.
53197         (memcpy): Don't use BP_SYM.
53198         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
53199         <bp-sym.h> and <bp-asm.h>.
53200         (__mempcpy): Don't use BP_SYM.
53201         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
53202         <bp-sym.h> and <bp-asm.h>.
53203         (__memrchr): Don't use BP_SYM.
53204         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
53205         <bp-sym.h> and <bp-asm.h>.
53206         (memset): Don't use BP_SYM.
53207         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
53208         <bp-sym.h> and <bp-asm.h>.
53209         (__rawmemchr): Don't use BP_SYM.
53210         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
53211         <bp-sym.h> and <bp-asm.h>.
53212         (__STRCMP): Don't use BP_SYM.
53213         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
53214         <bp-sym.h> and <bp-asm.h>.
53215         (strchr): Don't use BP_SYM.
53216         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
53217         <bp-sym.h> and <bp-asm.h>.
53218         (__strchrnul): Don't use BP_SYM.
53219         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
53220         <bp-sym.h> and <bp-asm.h>.
53221         (strlen): Don't use BP_SYM.
53222         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
53223         <bp-sym.h> and <bp-asm.h>.
53224         (strncmp): Don't use BP_SYM.
53225         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
53226         <bp-sym.h> and <bp-asm.h>.
53227         (__strnlen): Don't use BP_SYM.
53228         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
53229         <bp-asm.h>.
53230         (__mpn_rshift): Don't use BP_SYM.
53231         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53232         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
53233         <bp-sym.h> and <bp-asm.h>.
53234         (__sigsetjmp): Don't use BP_SYM.
53235         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
53236         (L(start_addresses)): Don't use BP_SYM.
53237         (_start): Likewise.
53238         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
53239         <bp-asm.h>.
53240         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
53241         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53242         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53243         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
53244         <bp-asm.h>.
53245         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
53246         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53247         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53248         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
53249         <bp-asm.h>.
53250         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53251         comments.
53252         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53253         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
53254         <bp-asm.h>.
53255         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
53256         FIXME comments.
53257         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53258         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
53259         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
53260         <bp-asm.h>.
53261         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
53262         comment.
53263         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
53264         and <bp-asm.h>.
53265         (strncmp): Don't use BP_SYM,
53266         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
53267         <bp-asm.h>.
53268         (__mpn_sub_n): Don't use BP_SYM.
53269         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53270         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
53271         and <bp-asm.h>.
53272         (__mpn_submul_1): Don't use BP_SYM.
53273         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
53275         <bp-sym.h> and <bp-asm.h>.
53276         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
53277         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
53278         <bp-sym.h> and <bp-asm.h>.
53279         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
53280         comment.
53282 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
53284         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
53285         Use ZK to minimize writes to Z.
53286         (sub_magnitudes): Simplify code a bit.
53287         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
53288         Use ZK to minimize writes to Z.
53289         (sub_magnitudes): Simplify code a bit.
53291 2013-02-27  Roland McGrath  <roland@hack.frob.com>
53293         * csu/gmon-start.c: Add special exception to license text.
53295 2013-02-27  Richard Henderson  <rth@redhat.com>
53297         * scripts/config.guess: Update from config.git.
53298         * scripts/config.sub: Likewise.
53300 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53302         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
53304         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
53306         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
53308         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
53310         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
53312 2013-02-26  Roland McGrath  <roland@hack.frob.com>
53314         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
53315         [$(build-shared = yes].
53317 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53319         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
53320         (__mul): Reduce iterations for calculating mantissa.
53322         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
53323         MPTWO.
53324         (__mpranred): Likewise.
53326         [BZ #15160]
53327         * malloc/memusagestat.c (main): Draw graphs for heap and stack
53328         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
53330 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
53332         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
53333         Define __attribute__.
53335 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
53337         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
53338         unused.
53339         * posix/regex_internal.h (__attribute): Remove.
53340         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
53341         (re_string_context_at): Likewise.
53342         (bitset_not): Use __attribute__ and mark function as possibly
53343         unused.
53344         (bitset_merge): Likewise.
53345         (bitset_mask): Likewise.
53346         (re_string_char_size_at): Likewise.
53347         (re_string_wchar_at): Likewise.
53348         (re_string_elem_size_at): Likewise.
53350 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
53352         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
53353         code.
53354         (cc32): Likewise.
53356         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
53357         (__acr): Likewise.
53358         (__cpy): Likewise.
53359         (norm): Likewise.
53360         (denorm): Likewise.
53361         (__dbl_mp): Likewise.
53362         (add_magnitudes): Likewise.
53363         (sub_magnitudes): Likewise.
53364         (__mul): Likewise.
53365         (__inv): Likewise.
53367         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
53368         style.
53370         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
53371         style.
53373         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
53374         code.
53376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
53377         up changes with default code.
53378         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
53379         Likewise.
53381 2013-02-24  Allan McRae  <allan@archlinux.org>
53383         * manual/socket.texi (The Internet Namespace): Order menu items
53384         to match that in the file.
53386         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
53387         node listing of the info page menu.
53389 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
53391         [BZ #13550]
53392         * sysdeps/i386/bp-asm.h: Remove file.
53393         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53394         (PARMS): Do not use macros from bp-asm.h.
53395         (S1): Likewise.
53396         (S2): Likewise.
53397         (SIZE): Likewise.
53398         (__mpn_add_n): Do not use BP_SYM
53399         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
53400         "bp-asm.h".
53401         (PARMS): Do not use macros from bp-asm.h.
53402         (S1): Likewise.
53403         (SIZE): Likewise.
53404         (__mpn_addmul_1): Do not use BP_SYM
53405         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
53406         "bp-asm.h".
53407         (PARMS): Do not use macros from bp-asm.h.
53408         (SIGMSK): Likewise.
53409         (_setjmp): Likewise.  Do not use BP_SYM.
53410         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
53411         "bp-asm.h".
53412         (PARMS): Do not use macros from bp-asm.h.
53413         (SIGMSK): Likewise.
53414         (setjmp): Likewise.  Do not use BP_SYM.
53415         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
53416         "bp-asm.h".
53417         (PARMS): Do not use macros from bp-asm.h.
53418         (__frexp): Do not use BP_SYM.
53419         (frexp): Likewise.
53420         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
53421         "bp-asm.h".
53422         (PARMS): Do not use macros from bp-asm.h.
53423         (__frexpf): Do not use BP_SYM.
53424         (frexpf): Likewise.
53425         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
53426         "bp-asm.h".
53427         (PARMS): Do not use macros from bp-asm.h.
53428         (__frexpl): Do not use BP_SYM.
53429         (frexpl): Likewise.
53430         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
53431         "bp-asm.h".
53432         (PARMS): Do not use macros from bp-asm.h.
53433         (__remquo): Do not use BP_SYM.
53434         (remquo): Likewise.
53435         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
53436         "bp-asm.h".
53437         (PARMS): Do not use macros from bp-asm.h.
53438         (__remquof): Do not use BP_SYM.
53439         (remquof): Likewise.
53440         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
53441         "bp-asm.h".
53442         (PARMS): Do not use macros from bp-asm.h.
53443         (__remquol): Do not use BP_SYM.
53444         (remquol): Likewise.
53445         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
53446         "bp-asm.h".
53447         (PARMS): Do not use macros from bp-asm.h.
53448         (DEST): Likewise.
53449         (SRC): Likewise.
53450         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
53451         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
53452         "bp-asm.h".
53453         (PARMS): Do not use macros from bp-asm.h.
53454         (strlen): Do not use BP_SYM.
53455         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
53456         "bp-asm.h".
53457         (PARMS): Do not use macros from bp-asm.h.
53458         (S1): Likewise.
53459         (S2): Likewise.
53460         (SIZE): Likewise.
53461         (__mpn_add_n): Do not use BP_SYM.
53462         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
53463         "bp-asm.h".
53464         (PARMS): Do not use macros from bp-asm.h.
53465         (S1): Likewise.
53466         (SIZE): Likewise.
53467         (__mpn_addmul_1): Do not use BP_SYM.
53468         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
53469         weak_alias.
53470         (bzero): Likewise.
53471         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
53472         "bp-asm.h".
53473         (PARMS): Do not use macros from bp-asm.h.
53474         (S): Likewise.
53475         (SIZE): Likewise.
53476         (__mpn_lshift): Do not use BP_SYM.
53477         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
53478         "bp-asm.h".
53479         (PARMS): Do not use macros from bp-asm.h.
53480         (DEST): Likewise.
53481         (SRC): Likewise.
53482         (LEN): Likewise.
53483         (memcpy): Likewise.  Do not use BP_SYM.
53484         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
53485         libc_hidden_def and weak_alias.
53486         (mempcpy): Do not use BP_SYM in weak_alias.
53487         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
53488         "bp-asm.h".
53489         (PARMS): Do not use macros from bp-asm.h.
53490         (DEST): Likewise.
53491         (LEN): Likewise.
53492         [!BZERO_P] (CHR): Likewise.
53493         (memset): Likewise.  Do not use BP_SYM.
53494         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
53495         "bp-asm.h".
53496         (PARMS): Do not use macros from bp-asm.h.
53497         (S1): Likewise.
53498         (SIZE): Likewise.
53499         (__mpn_mul_1): Do not use BP_SYM.
53500         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
53501         "bp-asm.h".
53502         (PARMS): Do not use macros from bp-asm.h.
53503         (S): Likewise.
53504         (SIZE): Likewise.
53505         (__mpn_rshift): Do not use BP_SYM.
53506         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
53507         "bp-asm.h".
53508         (PARMS): Do not use macros from bp-asm.h.
53509         (STR): Likewise.
53510         (CHR): Likewise.
53511         (strchr): Likewise.  Do not use BP_SYM.
53512         (index): Do not use BP_SYM in weak_alias.
53513         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
53514         "bp-asm.h".
53515         (PARMS): Do not use macros from bp-asm.h.
53516         (DEST): Likewise.
53517         (SRC): Likewise.
53518         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
53519         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
53520         "bp-asm.h".
53521         (PARMS): Do not use macros from bp-asm.h.
53522         (strlen): Do not use BP_SYM.
53523         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
53524         "bp-asm.h".
53525         (PARMS): Do not use macros from bp-asm.h.
53526         (S1): Likewise.
53527         (S2): Likewise.
53528         (SIZE): Likewise.
53529         (__mpn_sub_n): Do not use BP_SYM.
53530         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
53531         "bp-asm.h".
53532         (PARMS): Do not use macros from bp-asm.h.
53533         (S1): Likewise.
53534         (SIZE): Likewise.
53535         (__mpn_submul_1): Do not use BP_SYM.
53536         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
53537         "bp-asm.h".
53538         (PARMS): Do not use macros from bp-asm.h.
53539         (S1): Likewise.
53540         (S2): Likewise.
53541         (SIZE): Likewise.
53542         (__mpn_add_n): Do not use BP_SYM.
53543         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
53544         weak_alias.
53545         (bzero): Likewise.
53546         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
53547         "bp-asm.h".
53548         (PARMS): Do not use macros from bp-asm.h.
53549         (BLK2): Likewise.
53550         (LEN): Likewise.
53551         (memcmp): Do not use BP_SYM.
53552         (bcmp): Do not use BP_SYM in weak_alias.
53553         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
53554         "bp-asm.h".
53555         (PARMS): Do not use macros from bp-asm.h.
53556         (DEST): Likewise.
53557         (SRC): Likewise.
53558         (LEN): Likewise.
53559         (memcpy): Likewise.  Do not use BP_SYM.
53560         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
53561         "bp-asm.h".
53562         (PARMS): Do not use macros from bp-asm.h.
53563         (DEST): Likewise.
53564         (SRC): Likewise.
53565         (LEN): Likewise.
53566         (memmove): Likewise.  Do not use BP_SYM.
53567         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
53568         "bp-asm.h".
53569         (PARMS): Do not use macros from bp-asm.h.
53570         (DEST): Likewise.
53571         (SRC): Likewise.
53572         (LEN): Likewise.
53573         (__mempcpy): Likewise.  Do not use BP_SYM.
53574         (mempcpy): Do not use BP_SYM in weak_alias.
53575         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
53576         "bp-asm.h".
53577         (PARMS): Do not use macros from bp-asm.h.
53578         (DEST): Likewise.
53579         (LEN): Likewise.
53580         [!BZERO_P] (CHR): Likewise.
53581         (memset): Likewise.  Do not use BP_SYM.
53582         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
53583         "bp-asm.h".
53584         (PARMS): Do not use macros from bp-asm.h.
53585         (STR2): Likewise.
53586         (strcmp): Do not use BP_SYM.
53587         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
53588         "bp-asm.h".
53589         (PARMS): Do not use macros from bp-asm.h.
53590         (STR): Likewise.
53591         (DELIM): Likewise.
53592         [USE_AS_STRTOK_R] (SAVE): Likewise.
53593         (FUNCTION): Likewise.  Do not use BP_SYM.
53594         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
53595         aliases.
53596         (strtok_r): Likewise.
53597         (__GI___strtok_r): Likewise.
53598         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53599         (PARMS): Do not use macros from bp-asm.h.
53600         (S): Likewise.
53601         (SIZE): Likewise.
53602         (__mpn_lshift): Do not use BP_SYM.
53603         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53604         (PARMS): Do not use macros from bp-asm.h.
53605         (STR): Likewise.
53606         (CHR): Likewise.
53607         (__memchr): Do not use BP_SYM.
53608         (memchr): Do not use BP_SYM in weak_alias.
53609         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53610         (PARMS): Do not use macros from bp-asm.h.
53611         (BLK2): Likewise.
53612         (LEN): Likewise.
53613         (memcmp): Do not use BP_SYM.
53614         (bcmp): Do not use BP_SYM in weak_alias.
53615         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
53616         (PARMS): Do not use macros from bp-asm.h.
53617         (S1): Likewise.
53618         (SIZE): Likewise.
53619         (__mpn_mul_1): Do not use BP_SYM.
53620         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
53621         "bp-asm.h".
53622         (PARMS): Do not use macros from bp-asm.h.
53623         (STR): Likewise.
53624         (CHR): Likewise.
53625         (__rawmemchr): Do not use BP_SYM.
53626         (rawmemchr): Do not use BP_SYM in weak_alias.
53627         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
53628         (PARMS): Do not use macros from bp-asm.h.
53629         (S): Likewise.
53630         (SIZE): Likewise.
53631         (__mpn_rshift): Do not use BP_SYM.
53632         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
53633         (PARMS): Do not use macros from bp-asm.h.
53634         (SIGMSK): Likewise.
53635         (__sigsetjmp): Likewise.  Do not use BP_SYM.
53636         * sysdeps/i386/start.S: Do not include "bp-sym.h".
53637         (_start): Do not use BP_SYM.
53638         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
53639         (PARMS): Do not use macros from bp-asm.h.
53640         (DEST): Likewise.
53641         (SRC): Likewise.
53642         (__stpcpy): Likewise.  Do not use BP_SYM.
53643         (stpcpy): Do not use BP_SYM in weak_alias.
53644         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
53645         "bp-asm.h".
53646         (PARMS): Do not use macros from bp-asm.h.
53647         (DEST): Likewise.
53648         (SRC): Likewise.
53649         (LEN): Likewise.
53650         (__stpncpy): Likewise.  Do not use BP_SYM.
53651         (stpncpy): Do not use BP_SYM in weak_alias.
53652         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
53653         (PARMS): Do not use macros from bp-asm.h.
53654         (STR): Likewise.
53655         (CHR): Likewise.
53656         (strchr): Likewise.  Do not use BP_SYM.
53657         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
53658         "bp-asm.h".
53659         (PARMS): Do not use macros from bp-asm.h.
53660         (STR): Likewise.
53661         (CHR): Likewise.
53662         (__strchrnul): Likewise.  Do not use BP_SYM.
53663         (strchrnul): Do not use BP_SYM in weak_alias.
53664         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
53665         "bp-asm.h".
53666         (PARMS): Do not use macros from bp-asm.h.
53667         (STOP): Likewise.
53668         (strcspn): Do not use BP_SYM.
53669         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
53670         "bp-asm.h".
53671         (PARMS): Do not use macros from bp-asm.h.
53672         (STR): Likewise.
53673         (STOP): Likewise.
53674         (strpbrk): Likewise.  Do not use BP_SYM.
53675         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
53676         "bp-asm.h".
53677         (PARMS): Do not use macros from bp-asm.h.
53678         (STR): Likewise.
53679         (CHR): Likewise.
53680         (strrchr): Likewise.  Do not use BP_SYM.
53681         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
53682         (PARMS): Do not use macros from bp-asm.h.
53683         (SKIP): Likewise.
53684         (strspn): Do not use BP_SYM.
53685         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
53686         (PARMS): Do not use macros from bp-asm.h.
53687         (STR): Likewise.
53688         (DELIM): Likewise.
53689         (SAVE): Likewise.
53690         (FUNCTION): Likewise.  Do not use BP_SYM.
53691         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
53692         aliases.
53693         (strtok_r): Likewise.
53694         (__GI___strtok_r): Likewise.
53695         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
53696         (PARMS): Do not use macros from bp-asm.h.
53697         (S1): Likewise.
53698         (S2): Likewise.
53699         (SIZE): Likewise.
53700         (__mpn_sub_n): Do not use BP_SYM.
53701         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
53702         "bp-asm.h".
53703         (PARMS): Do not use macros from bp-asm.h.
53704         (S1): Likewise.
53705         (SIZE): Likewise.
53706         (__mpn_submul_1): Do not use BP_SYM.
53707         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
53708         <bp-sym.h>.
53709         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
53710         and <bp-asm.h>.
53711         (PARMS): Do not use macros from bp-asm.h.
53712         (FLAGS): Likewise.
53713         (PTID): Likewise.
53714         (TLS): Likewise.
53715         (CTID): Likewise.
53716         (__clone): Do not use BP_SYM.
53717         (clone): Do not use BP_SYM in weak_alias.
53718         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
53719         and <bp-asm.h>.
53720         (PARMS): Do not use macros from bp-asm.h.
53721         (LEN): Likewise.
53722         (__mmap64): Do not use BP_SYM.
53723         (mmap64): Do not use BP_SYM in weak_alias.
53724         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
53725         <bp-sym.h> and <bp-asm.h>.
53726         (PARMS): Do not use macros from bp-asm.h.
53727         (__posix_fadvise64_l64): Do not use BP_SYM.
53728         * sysdeps/unix/sysv/linux/i386/semtimedop.S
53729         (PARMS): Do not use macros from bp-asm.h.
53730         (NSOPS): Likewise.
53731         (semtimedop): Do not use BP_SYM.
53732         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
53733         and <bp-asm.h>.
53735 2013-02-21  Allan McRae  <allan@archlinux.org>
53737         * manual/message.texi (Charset conversion in gettext):
53738         Move @end statement to beginning of line.
53740 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
53743         static.
53744         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
53745         Likewise.
53747         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
53748         (denorm): Likewise.
53749         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
53750         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
53752 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53754         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
53755         tail-call to the resolved function if pltexit isn't needed.
53757 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53759         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
53760         or Y being zero as being unlikely.
53761         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
53762         Likewise.
53764 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
53766         * manual/nss.texi (System Databases and Name Service Switch):
53767         Remove frobnicate @pxref.
53769 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53771         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53772         __attribute__ ((unused)) to __attribute__ ((__unused__)).
53774 2013-02-20  Petr Machata  <pmachata@redhat.com>
53776         * elf/elf.h (R_ARM_TARGET1): New macro.
53777         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
53778         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
53779         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
53780         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
53781         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
53782         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
53783         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
53784         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
53785         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
53786         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
53787         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
53788         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
53789         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
53790         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
53791         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
53792         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
53793         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
53794         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
53795         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
53796         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
53797         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
53798         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
53799         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
53800         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
53801         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
53802         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
53803         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
53804         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
53805         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
53806         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
53807         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
53808         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
53809         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
53810         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
53811         (R_ARM_THM_GOT_BREL12): Likewise.
53812         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
53813         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
53814         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
53815         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
53816         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
53817         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
53818         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
53819         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
53820         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
53822 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
53824         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
53825         __attribute_used__ to __attribute__ ((unused)).
53827 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
53829         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
53830         powerpc mpa.c.
53831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
53832         comment formatting.
53833         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
53835 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
53837         [BZ #13550]
53838         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
53839         Remove macro.
53840         (ENTER): Remove both macro definitions.
53841         (LEAVE): Likewise.
53842         (CHECK_BOUNDS_LOW): Likewise.
53843         (CHECK_BOUNDS_HIGH): Likewise.
53844         (CHECK_BOUNDS_BOTH): Likewise.
53845         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
53846         (RETURN_BOUNDED_POINTER): Likewise.
53847         (RETURN_NULL_BOUNDED_POINTER): Likewise.
53848         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
53849         (POP_ERRNO_LOCATION_RETURN): Likewise.
53850         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
53851         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53852         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
53853         macros.
53854         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53855         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
53856         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
53857         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
53858         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
53859         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
53860         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
53861         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
53862         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
53863         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
53864         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
53865         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
53866         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53867         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
53868         removed macros.
53869         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53870         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
53871         macros.
53872         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53873         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
53874         * sysdeps/i386/i586/memset.S (memset): Likewise.
53875         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
53876         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53877         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
53878         macros.
53879         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53880         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
53881         Change uses of L(2) to L(out).
53882         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
53883         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
53884         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
53885         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53886         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
53887         removed macros.
53888         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53889         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
53890         macros.
53891         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53892         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
53893         (RETURN): Do not use macro LEAVE.
53894         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
53895         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
53896         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
53897         * sysdeps/i386/i686/memset.S (memset): Likewise.
53898         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
53899         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
53900         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
53901         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
53902         Likewise.
53903         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53904         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
53905         L(1_2) and L(1_3) into L(1).
53906         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53907         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
53908         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53909         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
53910         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
53911         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
53912         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
53913         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53914         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
53915         macros.
53916         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
53917         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
53918         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
53919         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
53920         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
53921         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
53922         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
53923         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
53924         * sysdeps/i386/strcspn.S (strcspn): Likewise.
53925         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
53926         * sysdeps/i386/strrchr.S (strrchr): Likewise.
53927         * sysdeps/i386/strspn.S (strspn): Likewise.
53928         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
53929         conditional code.
53930         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
53931         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
53932         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
53933         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
53934         L(1_3) into L(1_1).
53935         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
53936         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
53937         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
53938         macros.
53939         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
53941 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
53943         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
53944         macro.
53946 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
53948         * math/atest-exp.c (exp_mpn): Remove ROUND.
53949         * math/atest-exp2.c (exp_mpn): Likewise.
53950         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
53952         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
53953         * stdlib/tst-tls-atexit-lib.c: Likewise.
53954         * stdlib/tst-tls-atexit.c: Likewise.
53956 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53958         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
53959         and __attribute_alloc_size__.
53961 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53963         * include/programs/xmalloc.h: Change __attribute_alloc_size to
53964         __attribute_alloc_size__.
53965         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
53966         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
53968 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
53970         * include/programs/xmalloc.h: New file.
53971         * catgets/gencat.c: Include it.
53972         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
53973         * elf/pldd.c: Likewise.
53974         * iconv/iconv_charmap.c: Likewise.
53975         * iconv/iconvconfig.c: Likewise.
53976         * iconv/strtab.c: Likewise.
53977         * locale/programs/locale.c: Likewise.
53978         * locale/programs/localedef.h: Likewise.
53979         * locale/programs/simple-hash.c: Likewise.
53980         * nscd/nscd.h: Likewise.
53981         * nss/makedb.c: Likewise.
53982         * sysdeps/generic/ldconfig.h: Likewise.
53984 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
53986         * Versions.def: Add GLIBC_2.18.
53987         * include/link.h (struct link_map): New member l_tls_dtor_count.
53988         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
53989         (__call_tls_dtors): Likewise.
53990         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
53991         __cxa_thread_atexit_impl.
53992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
53993         Likewise.
53994         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
53995         Likewise.
53996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
53997         Likewise.
53998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
53999         Likewise.
54000         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
54001         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
54002         Likewise.
54003         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
54004         Likewise.
54005         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
54006         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
54007         Likewise.
54008         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
54009         (tests): Add test case tst-tls-atexit.
54010         (modules-names): Add shared library for tst-tls-atexit.
54011         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
54012         (GLIBC_PRIVATE): Add __call_tls_dtors.
54013         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
54014         for libstdc++.
54015         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
54016         * stdlib/tst-tls-atexit.c: New test case.
54017         * stdlib/tst-tls-atexit-lib.c: New test case.
54019         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
54021         * elf/Versions (ld): Add _dl_find_dso_for_object.
54022         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
54023         * elf/dl-open.c (_dl_find_dso_for_object): New function.
54024         (dl_open_worker): Use _dl_find_dso_for_object.
54025         * elf/dl-sym.c (do_sym): Likewise.
54026         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
54028 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
54030         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
54031         Syntactic changes only.
54032         (_dl_runtime_profile): Do a tail-call to the resolved function.
54034 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
54036         [BZ #13550]
54037         * sysdeps/x86_64/bp-asm.h: Remove file.
54038         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
54039         <bp-sym.h> and <bp-asm.h>.
54040         (__clone): Do not use BP_SYM.
54041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
54042         <bp-sym.h> and <bp-asm.h>.
54043         * sysdeps/unix/x86_64/sysdep.S: Likewise.
54044         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
54045         "bp-asm.h".
54046         (_setjmp): Do not use BP_SYM.
54047         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
54048         "bp-asm.h".
54049         (setjmp): Do not use BP_SYM.
54050         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
54051         libc_hidden_def.
54052         (mempcpy): Do not use BP_SYM in weak_alias.
54053         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
54054         "bp-asm.h".
54055         (strchr): Do not use BP_SYM.
54056         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
54057         "bp-asm.h".
54058         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
54059         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
54060         (_start): Do not use BP_SYM.
54061         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
54062         "bp-asm.h".
54063         (strcat): Do not use BP_SYM.
54064         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
54065         "bp-asm.h".
54066         (STRCMP): Do not use BP_SYM.
54067         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
54068         "bp-asm.h".
54069         (STRCPY): Do not use BP_SYM.
54070         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
54071         "bp-asm.h".
54072         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
54073         "bp-asm.h".
54074         (FUNCTION): Do not use BP_SYM.
54075         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
54076         weak_alias.
54077         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
54079 2013-02-17  Andreas Jaeger  <aj@suse.de>
54081         * time/Versions: Sort entries.
54082         * string/Versions: Likewise.
54083         * resolv/Versions: Likewise.
54084         * posix/Versions: Likewise.
54085         * iconv/Versions: Likewise.
54086         * elf/Versions: Likewise.
54087         * wcsmbs/Versions: Likewise.
54089 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
54091         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
54092         loop termination condition.
54094         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
54095         variable to calculate EZ.
54096         (__sqr): Likewise.
54098         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
54099         the lower precision input.
54101 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
54103         [BZ #13550]
54104         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
54105         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
54106         (run-via-rtld-prefix): Do not handle %-bp tests.
54107         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
54108         (all-object-suffixes): Remove .ob.
54109         (bppfx): Remove variable.
54110         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
54111         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
54112         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
54113         [$(build-bounded) = yes] (libtype.ob): Likewise.
54114         * Makerules (elide-routines.ob): Remove variable.
54115         (do-tests-clean): Do not handle *-bp.out.
54116         (common-mostlyclean): Do not handle *-bp and *-bp.out.
54117         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
54118         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
54119         (tests): Do not include $(tests-bp.out).
54120         (xtests): Do not include $(xtests-bp.out).
54121         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
54122         [$(build-bounded) = yes] ($(addprefix
54123         $(objpfx),$(binaries-bounded))): Remove rule.
54124         ($(objpfx)%-bp.out): Remove rule.
54125         * config.make.in (build-bounded): Remove variable.
54126         * crypt/Makefile [$(build-bounded) = yes]
54127         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
54128         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
54129         append to variable.
54130         [$(build-bounded) = yes] (install-lib): Likewise.
54131         [$(build-bounded) = yes] (generated): Likewise.
54132         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
54133         Remove rule.
54134         * intl/Makefile [$(build-bounded) = yes]
54135         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
54136         * math/Makefile [$(build-bounded) = yes]
54137         ($(tests:%=$(objpfx)%-bp): Likewise.
54138         * misc/Makefile [$(build-bounded) = yes]
54139         ($(objpfx)tst-tsearch-bp): Likewise.
54140         * nptl/Makeconfig (bounded-thread-library): Remove variable.
54141         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
54142         Remove dependency.
54143         * string/Makefile (o-objects.ob): Remove variable.
54144         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
54145         (CFLAGS-.ob): Remove variable.
54146         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
54147         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
54148         both definitions of variable.
54149         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
54150         (ASFLAGS-.ob): Remove variable.
54152 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
54154         [BZ #13550]
54155         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
54156         Remove __BOUNDED_POINTERS__ from condition.
54157         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
54158         * string/bits/string2.h [!__NO_STRING_INLINES &&
54159         !__BOUNDED_POINTERS__]: Likewise.
54160         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
54161         Likewise.
54162         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
54163         Remove conditional code.
54164         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
54165         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
54166         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
54167         condition.
54169         [BZ #13550]
54170         * csu/libc-start.c: Do not include <bp-sym.h>.
54171         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
54172         * elf/dl-open.c: Do not include <bp-sym.h>.
54173         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
54174         * math/fegetenv.c: Do not include <bp-sym.h>.
54175         (fegetenv): Do not use BP_SYM in versioned symbols.
54176         * nptl/sysdeps/pthread/bits/libc-lockP.h
54177         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
54178         <bp-sym.h>.
54179         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54180         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
54181         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54182         (__pthread_mutex_destroy): Likewise.
54183         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54184         (__pthread_mutex_lock): Likewise.
54185         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54186         (__pthread_mutex_trylock): Likewise.
54187         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54188         (__pthread_mutex_unlock): Likewise.
54189         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54190         (__pthread_mutexattr_init): Likewise.
54191         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54192         (__pthread_mutexattr_destroy): Likewise.
54193         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54194         (__pthread_mutexattr_settype): Likewise.
54195         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54196         (__pthread_rwlock_init): Likewise.
54197         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54198         (__pthread_rwlock_destroy): Likewise.
54199         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54200         (__pthread_rwlock_rdlock): Likewise.
54201         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54202         (__pthread_rwlock_tryrdlock): Likewise.
54203         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54204         (__pthread_rwlock_wrlock): Likewise.
54205         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54206         (__pthread_rwlock_trywrlock): Likewise.
54207         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54208         (__pthread_rwlock_unlock): Likewise.
54209         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54210         (__pthread_key_create): Likewise.
54211         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54212         (__pthread_setspecific): Likewise.
54213         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54214         (__pthread_getspecific): Likewise.
54215         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
54216         Likewise.
54217         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54218         (_pthread_cleanup_push_defer): Likewise.
54219         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54220         (_pthread_cleanup_pop_restore): Likewise.
54221         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
54222         (pthread_setcancelstate): Likewise.
54223         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
54224         <bp-sym.h>.
54225         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
54226         (memchr): Do not use BP_SYM in weak_alias.
54227         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
54228         (fegetenv): Do not use BP_SYM in versioned symbols.
54229         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
54230         (fesetenv): Do not use BP_SYM in versioned symbols.
54231         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54232         (feupdateenv): Do not use BP_SYM in versioned symbols.
54233         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54234         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54235         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
54236         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
54237         (open64): Do not use BP_SYM in weak_alias.
54238         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
54239         (fegetenv): Do not use BP_SYM in versioned symbols.
54240         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
54241         (fesetenv): Do not use BP_SYM in versioned symbols.
54242         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
54243         (feupdateenv): Do not use BP_SYM in versioned symbols.
54244         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
54245         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
54246         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
54247         (feraiseexcept): Do not use BP_SYM in versioned symbols.
54248         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
54249         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
54250         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
54251         <bp-sym.h>.
54252         (__libc_start_main): Do not use BP_SYM.
54254 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
54256         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
54257         redundant return line.
54258         (norm): Likewise.
54259         (denorm): Likewise.
54260         (dbl_mp): Likewise.
54261         (sub_magnitudes): Likewise.
54262         (__add): Likewise.
54263         (__sub): Likewise.
54264         (__mul): Likewise.
54265         (__inv): Likewise.
54266         (__dvd): Likewise.
54267         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
54268         (norm): Likewise.
54269         (denorm): Likewise.
54270         (dbl_mp): Likewise.
54271         (sub_magnitudes): Likewise.
54272         (__add): Likewise.
54273         (__sub): Likewise.
54274         (__mul): Likewise.
54275         (__inv): Likewise.
54276         (__dvd): Likewise.
54278         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
54279         instead of __mul.
54280         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
54281         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
54282         (cc32): Likewise.
54284         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
54285         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
54286         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
54287         of __mul for squares.
54288         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
54289         function
54290         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
54291         Likewise.
54292         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
54293         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
54295 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
54297         [BZ #13550]
54298         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
54299         code.
54300         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
54301         prototype or function definition.  Rename ubp_* variables and
54302         parameters.  Remove argv definitions conditional on
54303         [__BOUNDED_POINTERS__].
54304         * debug/backtrace.c (__backtrace): Do not use __unbounded.
54305         * elf/dl-runtime.c (_dl_fixup): Likewise.
54306         * include/set-hooks.h (RUN_HOOK): Likewise.
54307         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
54308         definition.
54309         * string/strcpy.c (strcpy): Do not use __unbounded.
54310         * sysdeps/generic/frame.h (struct layout): Likewise.
54311         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
54312         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
54313         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
54314         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
54315         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
54316         (__backtrace): Likewise.
54317         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
54318         use __ptrvalue.
54319         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
54320         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54321         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
54322         Likewise.
54323         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
54324         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
54325         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54326         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54327         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
54328         Do not use __unbounded.
54329         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
54330         Rename __unboundedrlimits parameter to rlimits in prototype.
54331         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
54332         Do not use __unbounded.
54333         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
54334         not use __ptrvalue.
54335         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54336         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
54337         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54338         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
54339         __ptrvalue or __unbounded.
54340         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
54341         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
54342         use __unbounded.
54343         (__new_msgctl): Do not use __ptrvalue.
54344         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
54345         __unbounded.
54346         (__libc_msgrcv): Do not use __ptrvalue.
54347         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
54348         startup_info): Do not use __unbounded.
54349         (__libc_start_main): Likewise.  Rename ubp_* variables and
54350         parameters.  Remove argv definitions conditional on
54351         [__BOUNDED_POINTERS__].
54352         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
54353         __ptrvalue.
54354         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
54355         use __unbounded.
54356         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
54357         or __ptrvalue.
54358         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
54359         use __unbounded.
54360         (__new_shmctl): Do not use __ptrvalue.
54361         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
54362         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
54363         Likewise.
54364         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
54365         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
54366         (__libc_sigaction): Likewise.
54367         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
54368         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
54369         Likewise.
54370         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54372 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
54374         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
54376         * string/mempcpy.c: Implement by calling memcpy.
54378 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
54380         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
54382         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
54383         evaluation.
54385         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
54386         values in the mantissa.
54388         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
54389         minimize writes to Z.
54390         (sub_magnitudes): Simplify code a bit.
54392 2013-02-12  Roland McGrath  <roland@hack.frob.com>
54394         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
54395         from the message.  The linker prefixes all warnings with that already.
54397 2013-02-12  Andreas Schwab  <schwab@suse.de>
54399         [BZ #15078]
54400         * posix/regexec.c (extend_buffers): Add parameter min_len.
54401         (check_matching): Pass minimum needed length.
54402         (clean_state_log_if_needed): Likewise.
54403         (get_subexp): Likewise.
54404         * posix/Makefile (tests): Add bug-regex34.
54405         (bug-regex34-ENV): Define.
54406         * posix/bug-regex34.c: New file.
54408         [BZ #11561]
54409         * posix/regcomp.c (parse_bracket_exp): When looking up collating
54410         elements compare against the byte sequence of it, not its name.
54411         * posix/Makefile (tests): Add bug-regex35.
54412         (bug-regex35-ENV): Define.
54413         * posix/bug-regex35.c: New file.
54415 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54417         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
54418         comment.
54419         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
54420         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
54421         (CHECK_EOL): Add undef.
54423 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
54425         * bits/stdlib-bsearch.h: New file.
54426         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
54427         * stdlib/stdlib.h: Likewise.
54429 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54431         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
54432         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
54433         declaration.
54434         * manual/search.texi (Array Search Function): Add missing const in
54435         lfind prototype.
54436         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
54437         declaration to use rlim_t.
54438         (Basic Scheduling Functions): Remove erroneous const from
54439         sched_getparam prototype.  Remove erroneous * from
54440         sched_get_priority_max and sched_get_priority_min prototypes.
54441         (Resource Usage): Fix summary @comment on vtimes to refer to
54442         sys/vtimes.h rather than vtimes.h.
54443         Add missing *s in vtimes prototype.
54444         (Limits on Resources): Fix ulimit prototype to return long int.
54445         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
54446         prototypes to use long int rather than double.
54447         (BSD Random): Fix initstate and setstate to use char *, not void *.
54448         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
54449         prototype to make second argument 'struct aiocb64 *const[]'.
54450         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
54451         (Status of AIO Operations): Remove erroneous const in aio_return and
54452         aio_return64 prototypes.
54453         (Synchronizing I/O): Fix sync prototype to return void.
54454         * manual/startup.texi (Suboptions): Remove an erroneous const in
54455         getsubopt prototype.
54456         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
54457         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
54458         use size_t rather than int.
54459         (Scanning All Users): Likewise for getpwent_r.
54460         (Setting Groups): Add missing const to setgroups prototype.
54461         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
54462         * manual/socket.texi (Host Names): Fix gethostbyaddr and
54463         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
54464         'const void *' rather than 'const char *'.
54465         (Host Address Functions): Likewise for inet_ntop.
54466         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
54467         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
54468         ssize_t for return value.
54469         (Sending Data): Likewise for send, sendto, sendmsg.
54470         (Socket Option Functions): Add a missing const in setsockopt prototype.
54471         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
54472         use wchar_t for the argument.
54473         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
54474         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
54475         take no arguments.
54476         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
54477         double/float/long double for second argument.
54478         Fix return types of significand, significandf, significandl.
54479         * manual/filesys.texi (Setting Permissions): Use mode_t for second
54480         argument in fchmod prototype.
54481         (File Owner): Use uid_t and gid_t in fchown prototype.
54482         (File Times): Add const to utimes, futimes, and lutimes prototypes.
54483         (Making Special Files): Use mode_t and dev_t in mknod prototype.
54484         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
54485         use 'const struct dirent **' as argument types to CMP function pointer
54486         argument.
54487         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
54488         (File Times): Fix summary magic @comment for struct utimbuf and utime
54489         to refer to utime.h, not time.h.
54490         * manual/string.texi (Argz Functions): Add missing const in
54491         argz_extract and argz_next prototypes.
54492         (Finding Tokens in a String): Likewise for basename.
54493         (String/Array Comparison): Fix typo in wcscasecmp prototype.
54494         (Copying and Concatenation): Fix typo in wmemmove prototype.
54495         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
54496         (Signal Stack): Remove erroneous const in sigstack prototype.
54497         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
54498         prototype.
54499         (Simple Calendar Time): Likewise for stime.
54500         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
54501         prototype.
54502         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
54503         say sys/sysctl.h instead.
54504         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
54505         and vsyslog prototypes.
54507 2013-02-11  Tom de Vries  <tom@codesourcery.com>
54509         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
54510         Remove.
54512 2013-02-11  Roland McGrath  <roland@hack.frob.com>
54514         * misc/sys/mman.h: Fix typo in mremap comment.
54516 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54518         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
54519         the '\0' terminator.
54521 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54523         [BZ #13550]
54524         * debug/segfault.c: Don't include <bp-checks.h>.
54525         * sysdeps/generic/bp-checks.h: Remove file.
54526         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
54527         (__GETDENTS): Don't use CHECK_N.
54528         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
54529         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
54530         (__getgroups): Don't use CHECK_N.
54531         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
54532         (setgroups): Don't use CHECK_N.
54533         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
54534         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
54535         (__libc_msgrcv): Don't use CHECK_N.
54536         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
54537         (__libc_msgsnd): Don't use CHECK_N.
54538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
54539         <bp-checks.h>.
54540         (__libc_pread): Don't use CHECK_N.
54541         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
54542         include <bp-checks.h>.
54543         (__libc_pread64): Don't use CHECK_N.
54544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
54545         include <bp-checks.h>.
54546         (__libc_pwrite): Don't use CHECK_N.
54547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
54548         include <bp-checks.h>.
54549         (__libc_pwrite64): Don't use CHECK_N.
54550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
54551         <bp-checks.h>.
54552         (__libc_pread): Don't use CHECK_N.
54553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
54554         include <bp-checks.h>.
54555         (__libc_pread64): Don't use CHECK_N.
54556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
54557         include <bp-checks.h>.
54558         (__libc_pwrite): Don't use CHECK_N.
54559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
54560         include <bp-checks.h>.
54561         (__libc_pwrite64): Don't use CHECK_N.
54562         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
54563         (do_pread): Don't use CHECK_N.
54564         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
54565         (do_pread64): Don't use CHECK_N.
54566         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
54567         (do_pwrite): Don't use CHECK_N.
54568         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
54569         (do_pwrite64): Don't use CHECK_N.
54570         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
54571         (__libc_readv): Don't use CHECK_N.
54572         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
54573         (semop): Don't use CHECK_N.
54574         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
54575         <bp-checks.h>.
54576         (semtimedop): Don't use CHECK_N.
54577         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
54578         (__libc_pread): Don't use CHECK_N.
54579         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
54580         <bp-checks.h>.
54581         (__libc_pread64): Don't use CHECK_N.
54582         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
54583         <bp-checks.h>.
54584         (__libc_pwrite): Don't use CHECK_N.
54585         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
54586         <bp-checks.h>.
54587         (__libc_pwrite64): Don't use CHECK_N.
54588         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
54589         <bp-checks.h>.
54590         (__libc_msgrcv): Don't use CHECK_N.
54591         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
54592         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
54593         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
54594         (__libc_writev): Don't use CHECK_N.
54596 2013-02-08  Roland McGrath  <roland@hack.frob.com>
54598         * string/strcpy.c: Removed unused variable.
54600         * Makeconfig (+sysdep-includes): Define with := rather than =.
54601         Use an existing include/ subdir of each sysdeps dir before it.
54603 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54605         * nscd/connection.c (register_traced_file): Comment function.
54606         [HAVE_INOTIFY] (union __inev): Define.
54607         [HAVE_INOTIFY] (inotify_check_files): New function.
54608         [HAVE_INOTIFY] (clear_db_cache): Likewise.
54609         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
54610         clear_db_cache.
54611         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
54613 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54615         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
54616         loaded if not already and that a failure is permanent.
54618 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
54620         [BZ #15006]
54621         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
54622         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
54624 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
54626         [BZ #13550]
54627         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
54628         (CHECK_1_NULL_OK): Likewise.
54629         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
54630         (__fxstat): Do not use CHECK_1.
54631         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
54632         <bp-checks.h>.
54633         (___fxstat64): Do not use CHECK_1.
54634         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
54635         <bp-checks.h>.
54636         (__fxstatat): Do not use CHECK_1.
54637         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
54638         <bp-checks.h>.
54639         (__fxstatat64): Do not use CHECK_1.
54640         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
54641         <bp-checks.h>.
54642         (__fxstat): Do not use CHECK_1.
54643         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
54644         <bp-checks.h>.
54645         (__fxstatat): Do not use CHECK_1.
54646         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
54647         <bp-checks.h>.
54648         (__getresgid): Do not use CHECK_1.
54649         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
54650         <bp-checks.h>.
54651         (__getresuid): Do not use CHECK_1.
54652         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
54653         <bp-checks.h>.
54654         (__lxstat): Do not use CHECK_1.
54655         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
54656         <bp-checks.h>.
54657         (__old_msgctl): Do not use CHECK_1.
54658         (__new_msgctl): Likewise.
54659         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
54660         <bp-checks.h>.
54661         (__new_setrlimit): Do not use CHECK_1.
54662         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
54663         <bp-checks.h>.
54664         (__old_shmctl): Do not use CHECK_1.
54665         (__new_shmctl): Likewise.
54666         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
54667         <bp-checks.h>.
54668         (__xstat): Do not use CHECK_1.
54669         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
54670         (__lxstat): Do not use CHECK_1.
54671         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
54672         <bp-checks.h>.
54673         (___lxstat64): Do not use CHECK_1.
54674         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
54675         (__old_msgctl): Do not use CHECK_1.
54676         (__new_msgctl): Likewise.
54677         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
54678         <bp-checks.h>.
54679         (__gettimeofday): Do not use CHECK_1.
54680         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
54681         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
54682         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
54683         <bp-checks.h>.
54684         (__gettimeofday): Do not use CHECK_1.
54685         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
54686         (__old_shmctl): Do not use CHECK_1_NULL_OK.
54687         (__new_shmctl): Do not use CHECK_1.
54688         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
54689         <bp-checks.h>.
54690         (do_sigtimedwait): Do not use CHECK_1.
54691         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
54692         <bp-checks.h>.
54693         (do_sigwaitinfo): Do not use CHECK_1.
54694         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
54695         <bp-checks.h>.
54696         (msgctl): Do not use CHECK_1.
54697         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
54698         <bp-checks.h>.
54699         (shmctl): Do not use CHECK_1.
54700         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
54701         (ustat): Do not use CHECK_1.
54702         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
54703         <bp-checks.h>.
54704         (__fxstat): Do not use CHECK_1.
54705         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
54706         <bp-checks.h>.
54707         (__fxstatat): Do not use CHECK_1.
54708         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
54709         <bp-checks.h>.
54710         (__lxstat): Do not use CHECK_1.
54711         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
54712         <bp-checks.h>.
54713         (__xstat): Do not use CHECK_1.
54714         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
54715         (__xstat): Do not use CHECK_1.
54716         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
54717         (___xstat64): Do not use CHECK_1.
54719         [BZ #13550]
54720         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
54721         definitions.
54722         (CHECK_BOUNDS_HIGH): Likewise.
54723         * string/strcpy.c: Do not include <bp-checks.h>.
54724         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
54726 2013-02-07  Roland McGrath  <roland@hack.frob.com>
54728         * nscd/nscd-client.h (__nscd_drop_map_ref):
54729         Add __attribute__ ((unused)).
54730         * nis/nss-nisplus.h (niserr2nss): Likewise.
54732         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
54733         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
54735         * csu/libc-tls.c (init_static_tls, init_slotinfo):
54736         Remove inline keyword.
54737         * include/rounding-mode.h (round_away): Likewise.
54738         * libio/wfileops.c (adjust_wide_data): Likewise.
54739         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
54740         (__m128i_strloadu_tolower): Likewise.
54741         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
54742         (__m128i_strloadu_tolower): Likewise.
54743         * time/mktime.c (ydhms_diff): Likewise.
54744         * locale/elem-hash.h (elem_hash): Likewise.
54745         * locale/setlocale.c (setdata): Likewise.
54746         * posix/regex_internal.h (re_string_char_size_at): Likewise.
54747         (re_string_wchar_at): Likewise.
54748         (bitset_not, bitset_merge, bitset_mask): Likewise.
54749         [!(__GNUC__ > 3)] (inline): Remove macro.
54750         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
54751         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
54752         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
54753         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
54754         * string/memcmp.c (memcmp_bytes): Likewise.
54755         * locale/programs/locarchive.c (compute_hashval): Likewise.
54756         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
54757         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
54758         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
54759         * nss/getent.c (print_rpc, print_protocols): Likewise.
54760         (print_passwd, print_group, print_aliases): Likewise.
54761         * nis/nss-nisplus.h (niserr2nss): Likewise.
54762         * nscd/connections.c (restart_p): Likewise.
54763         Change return type to bool.
54765 2013-02-05  Roland McGrath  <roland@hack.frob.com>
54767         * Makeconfig (all-Depend-files): Add existing
54768         $(sorted-subdirs:=/Depend) files.
54769         (all-subdirs): Remove nss.
54770         * sysdeps/unix/inet/Subdirs: Add it here instead.
54771         * hesiod/Depend: New file.
54773         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
54774         instead of calling alloca.
54776         * io/lseek.c (__lseek): Rename to __libc_lseek.
54777         Define __lseek as an alias.
54779         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
54781 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
54783         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
54784         else clause and remove check for non-standard endianness.
54786 2013-02-04  David S. Miller  <davem@davemloft.net>
54788         * sysdeps/sparc/fpu/libm-test-ulps: Update.
54790 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
54792         [BZ #13550]
54793         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
54794         (__ubp_memchr): Remove prototype.
54795         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
54796         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54797         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
54798         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
54799         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
54800         Remove alias.
54801         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
54802         (__ubp_memchr): Likewise.
54803         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
54804         (__ubp_memchr): Likewise.
54805         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
54806         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
54807         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
54808         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
54809         CHECK_STRING.
54810         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54811         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
54812         (__getcwd): Do not use CHECK_STRING.
54813         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
54814         <bp-checks.h>.
54815         (__real_chown): Do not use CHECK_STRING.
54816         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
54817         <bp-checks.h>.
54818         (fchownat): Do not use CHECK_STRING.
54819         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
54820         CHECK_STRING.
54821         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
54822         <bp-checks.h>.
54823         (__lchown): Do not use CHECK_STRING.
54824         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
54825         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
54826         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
54827         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
54828         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
54829         include <bp-checks.h>.
54830         (truncate64): Do not use CHECK_STRING.
54831         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
54832         <bp-checks.h>.
54833         (__real_chown): Do not use CHECK_STRING.
54834         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
54835         <bp-checks.h>.
54836         (__lchown): Do not use CHECK_STRING.
54837         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
54838         <bp-checks.h>.
54839         (__chown): Do not use CHECK_STRING.
54840         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
54841         <bp-checks.h>.
54842         (truncate64): Do not use CHECK_STRING.
54843         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
54844         Likewise.
54845         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
54846         (__xmknod): Do not use CHECK_STRING.
54847         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
54848         <bp-checks.h>.
54849         (__xmknodat): Do not use CHECK_STRING.
54850         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
54851         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
54853 2013-02-04  Andreas Schwab  <schwab@suse.de>
54855         [BZ #14142]
54856         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
54857         * include/netdb.h: Likewise for h_errno.
54858         * elf/tst-stackguard1.c: Include <tls.h>.
54860 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
54862         * elf/link.h (struct link_map): Extend the l_addr comment.
54863         * include/link.h (struct link_map): Likewise.
54865 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
54867         [BZ #13550]
54868         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
54869         (BOUNDED_1): Remove macro.
54870         * debug/backtrace.c: Don't include <bp-checks.h>.
54871         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
54872         (__backtrace): Likewise.
54873         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
54874         <bp-checks.h>.
54875         (__backtrace): Don't use BOUNDED_1.
54876         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
54877         <bp-checks.h>.
54878         (__backtrace): Don't use BOUNDED_1.
54879         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
54880         (__backtrace): Don't use BOUNDED_1.
54881         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
54882         (shmat): Don't use BOUNDED_N.
54884 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
54886         [BZ #13550]
54887         * sysdeps/generic/bp-start.h: Remove file.
54888         * csu/libc-start.c: Don't include <bp-start.h>.
54889         (LIBC_START_MAIN): Set up __environ directly instead of using
54890         INIT_ARGV_and_ENVIRON.
54891         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
54892         <bp-start.h>.
54894         [BZ #13550]
54895         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
54896         definitions.
54897         (CHECK_FCNTL): Likewise.
54898         (CHECK_N_PAGES): Likewise.
54900         [BZ #13550]
54901         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
54902         definitions.
54903         (CHECK_SIGSET_NULL_OK): Likewise.
54904         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
54905         <bp-checks.h>.
54906         (sigpending): Don't use CHECK_SIGSET.
54907         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
54908         <bp-checks.h>.
54909         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54910         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
54911         <bp-checks.h>.
54912         (do_sigsuspend): Don't use CHECK_SIGSET.
54913         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
54914         use CHECK_SIGSET.
54915         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
54916         (do_sigwait): Don't use CHECK_SIGSET.
54917         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
54918         use CHECK_SIGSET.
54919         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
54920         include <bp-checks.h>.
54921         (sigpending): Don't use CHECK_SIGSET.
54922         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
54923         include <bp-checks.h>.
54924         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54925         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
54926         <bp-checks.h>.
54927         (sigpending): Don't use CHECK_SIGSET.
54928         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
54929         <bp-checks.h>.
54930         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
54932         [BZ #13550]
54933         * sysdeps/generic/bp-semctl.h: Remove file.
54934         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
54935         <bp-checks.h> and <bp-semctl.h>.
54936         (__old_semctl): Don't use CHECK_SEMCTL.
54937         (__new_semctl): Likewise.
54938         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
54939         and <bp-semctl.h>.
54940         (__old_semctl): Don't use CHECK_SEMCTL.
54941         (__new_semctl): Likewise.
54942         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
54943         <bp-checks.h> and <bp-semctl.h>.
54944         (__old_semctl): Don't use CHECK_SEMCTL.
54945         (__new_semctl): Likewise.
54946         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
54947         <bp-checks.h> and <bp-semctl.h>.
54948         (semctl): Don't use CHECK_SEMCTL.
54950         [BZ #13550]
54951         * Makerules (elide-bp-thunks): Remove variable.
54952         (elide-routines.oS): Don't use $(elide-bp-thunks).
54953         (elide-routines.os): Likewise.
54954         (elide-routines.o): Likewise.
54955         (elide-routines.op): Likewise.
54956         (elide-routines.og): Likewise.
54957         (objects): Don't use $(bp-thunks).
54958         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
54959         include.
54960         (common-generated): Do not add s-proto-bp.d.
54961         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
54962         (int): Likewise.
54963         (typ): Likewise.
54964         Do not generate makefile rules for bounded-pointer thunks.
54965         * sysdeps/generic/bp-thunks.h: Remove file.
54966         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
54967         * sysdeps/unix/s-proto-bp.S: Likewise.
54969         [BZ #15062]
54970         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
54971         parts of result separately when argument is not close to line from
54972         -i to i and one part of argument is small.
54973         * math/k_casinhf.c (__kernel_casinhf): Likewise.
54974         * math/k_casinhl.c (__kernel_casinhl): Likewise.
54975         * math/libm-test.inc (cacos_test): Add more tests.
54976         (casin_test): Likewise.
54977         (casinh_test): Likewise.
54978         * sysdeps/i386/fpu/libm-test-ulps: Update.
54979         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54981 2013-01-31  David S. Miller  <davem@davemloft.net>
54983         * po/de.po: Update from translation team.
54985 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
54987         * time/tzfile.c: Include stdint.h for SIZE_MAX.
54989 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
54991         * configure.in (_AC_PROG_CC_C89): New definition.
54992         * configure: Regenerate.
54994         * configure.in (AC_PROG_CPP): New definition.
54995         * configure: Regenerate.
54997 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
54999         * debug/tst-backtrace.h: New file.
55000         * debug/tst-backtrace2.c: Include tst-backtrace.h.
55001         (ret): Remove variable.
55002         (x): Likewise.
55003         (FAIL): Remove macro.
55004         (NO_INLINE): Likewise.
55005         (fn1): Use match function instead of strstr.
55006         * debug/tst-backtrace3.c: Include tst-backtrace.h.
55007         (ret): Remove variable.
55008         (x): Likewise.
55009         (FAIL): Remove macro.
55010         (NO_INLINE): Likewise.
55011         (fn): Use match function instead of strstr.
55012         * debug/tst-backtrace4.c: Include tst-backtrace.h.
55013         (ret): Remove variable.
55014         (x): Likewise.
55015         (FAIL): Remove macro.
55016         (NO_INLINE): Likewise.
55017         (handle_signal): Use match function instead of strstr.
55018         * debug/tst-backtrace5.c: Include tst-backtrace.h.
55019         (ret): Remove variable.
55020         (x): Likewise.
55021         (FAIL): Remove macro.
55022         (NO_INLINE): Likewise.
55023         (handle_signal): Use match function instead of strstr.
55025 2013-01-23  Roland McGrath  <roland@hack.frob.com>
55027         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
55029 2013-01-23  David S. Miller  <davem@davemloft.net>
55031         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
55032         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
55033         argument of CAS if possible.
55034         * sysdeps/sparc/sparc64/bits/atomic.h
55035         (__arch_compare_and_exchange_val_32_acq): Likewise.
55036         (__arch_compare_and_exchange_val_64_acq): Likewise.
55038 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
55040         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
55041         * sysdeps/posix/ulimit.c: ... this.
55042         Include <limits.h>.
55043         * sysdeps/unix/bsd/ulimit.c: Remove file.
55045 2013-01-23  Adam Conrad  <adconrad@0c3.net>
55047         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
55048         (LDFLAGS-tst-array5): Likewise.
55050 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
55052         [BZ #15036]
55053         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
55054         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
55055         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
55056         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
55058 2013-01-21  David S. Miller  <davem@davemloft.net>
55060         * sysdeps/sparc/backtrace.c: New file.
55061         * sysdeps/sparc/sparc32/backtrace.h: New file.
55062         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
55063         * sysdeps/sparc/sparc64/backtrace.h: New file.
55064         * sysdeps/sparc/sparc64/backtrace.c: Delete.
55065         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
55066         -funwind-tables.
55068 2013-01-21  Andreas Schwab  <schwab@suse.de>
55070         [BZ #15020]
55071         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
55072         closed its stdout.
55074 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
55076         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
55077         "mpa2.h".
55078         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55080 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
55081             Mark Mitchell  <mark@codesourcery.com>
55082             Tom de Vries  <tom@codesourcery.com>
55083             Paul Pluzhnikov  <ppluzhnikov@google.com>
55085         * debug/tst-backtrace2.c: New file.
55086         * debug/tst-backtrace3.c: Likewise.
55087         * debug/tst-backtrace4.c: Likewise.
55088         * debug/tst-backtrace5.c: Likewise.
55089         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
55090         (CFLAGS-tst-backtrace3.c): Likewise.
55091         (CFLAGS-tst-backtrace4.c): Likewise.
55092         (CFLAGS-tst-backtrace5.c): Likewise.
55093         (LDFLAGS-tst-backtrace2): Likewise.
55094         (LDFLAGS-tst-backtrace3): Likewise.
55095         (LDFLAGS-tst-backtrace4): Likewise.
55096         (LDFLAGS-tst-backtrace5): Likewise.
55097         (tests): Add new tests tst-backtrace2, tst-backtrace3,
55098         tst-backtrace4 and tst-backtrace5.
55100 2013-01-18  Anton Blanchard  <anton@samba.org>
55101             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
55103         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
55104         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
55105         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
55106         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
55107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
55108         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
55109         "+r" and remove output regs list as redundant.  Add explicit inline
55110         asm to specify register of return val to work around compiler codegen
55111         bug.  Remove (int) cast on return value.  Add return type parameter to
55112         use in macro so that this macro does not truncate return value for
55113         64-bit values.
55114         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
55115         pass to INTERNAL_VSYSCALL_NCS.
55116         (INLINE_VSYSCALL): Add 'long int' as return type to
55117         INTERNAL_VSYSCALL_NCS macro invocation.
55118         (INTERNAL_VSYSCALL): Add 'long int' as return type to
55119         INTERNAL_VSYSCALL_NCS macro invocation.
55120         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
55122 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
55124         [BZ #14496]
55125         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
55126         Fix application of SIMD FP exception mask.
55128         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
55129         mp_no from a power of two.
55130         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
55131         __mpexp_twomm1.  Use __pow_mp.
55133         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
55134         multiplication.
55136 2013-01-17  David S. Miller  <davem@davemloft.net>
55138         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55140 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55142         [BZ #15023]
55143         * include/complex.h: Condition contents on [!_COMPLEX_H].
55144         (__kernel_casinhf): New prototype.
55145         (__kernel_casinh): Likewise.
55146         (__kernel_casinhl): Likewise.
55147         * math/Makefile (libm_calls): Add k_casinh.
55148         * math/k_casinh.c: New file.
55149         * math/k_casinhf.c: Likewise.
55150         * math/k_casinhl.c: Likewise.
55151         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
55152         finite nonzero arguments.
55153         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
55154         finite nonzero arguments.
55155         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
55156         finite nonzero arguments.
55157         * math/s_casinh.c: Do not include <float.h>.
55158         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
55159         * math/s_casinhf.c: Do not include <float.h>.
55160         (__casinhf): Move code for finite nonzero arguments to
55161         k_casinhf.c.
55162         * math/s_casinhl.c: Do not include <float.h>.
55163         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
55164         redefine.
55165         (__casinhl): Move code for finite nonzero arguments to
55166         k_casinhl.c.
55167         * math/libm-test.inc (cacos_test): Add more tests.
55168         * sysdeps/i386/fpu/libm-test-ulps: Update.
55169         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55171 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
55173         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
55174         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
55175         [!HAVE_MREMAP]: Remove [defined linux] case.
55176         * malloc/arena.c: Do not include <malloc-sysdep.h>.
55178 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
55180         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
55182 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
55184         * elf/elf.h (R_386_SIZE32): New relocation.
55185         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
55186         R_386_SIZE32.
55187         (elf_machine_rela): Likewise.
55188         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
55189         R_X86_64_SIZE64 and R_X86_64_SIZE32.
55191 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
55193         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
55194         (FP_FAST_FMA): Do not define.
55195         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
55196         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
55197         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
55198         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
55199         !_SOFT_FLOAT]: Likewise.
55200         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
55201         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
55202         value.
55203         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
55204         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
55205         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
55206         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
55207         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
55208         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
55209         file.
55211 2013-01-16  Andreas Schwab  <schwab@suse.de>
55213         [BZ #14327]
55214         * include/stdlib.h (__mktemp): Add declaration.
55215         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
55216         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
55218 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55220         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
55221         definitions.
55222         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
55223         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
55224         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
55225         definitions here.
55226         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
55227         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
55228         definitions.
55229         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
55230         and ONE.
55231         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
55232         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
55233         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
55234         definitions.
55235         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
55236         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
55237         definitions.
55238         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
55240         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
55242 2013-01-15  David S. Miller  <davem@davemloft.net>
55244         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55245         trunc{,f} to libm-sysdep_routes.
55246         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55247         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
55248         file.
55249         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
55250         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
55251         file.
55252         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
55253         file.
55254         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
55255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
55256         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
55257         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
55258         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
55259         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
55260         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
55261         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
55263         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55264         nearbyint{,f} to libm-sysdep_routes.
55265         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55266         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
55267         New file.
55268         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
55269         file.
55270         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
55271         New file.
55272         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
55273         file.
55274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
55275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
55276         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
55277         file.
55278         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
55279         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
55280         file.
55281         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
55282         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
55283         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
55285         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
55286         libc_feholdexcept and libc_fesetenv.
55288 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
55290         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
55292 2013-01-14  David S. Miller  <davem@davemloft.net>
55294         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
55295         (SPARC_ASM_VIS2_IFUNC): Likewise.
55296         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
55297         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
55298         use of 'siam' instruction.
55299         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
55300         Likewise.
55301         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
55302         Likewise.
55303         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
55304         Likewise.
55305         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
55306         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
55307         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
55308         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
55309         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
55310         file.
55311         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
55312         file.
55313         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
55314         file.
55315         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
55316         file.
55317         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
55318         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
55319         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
55320         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
55321         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
55322         new VIS2 routines.
55323         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
55324         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
55325         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
55326         Likewise.
55327         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
55328         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
55329         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
55330         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
55331         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
55332         routines to libm-sysdep_routines.
55333         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
55335         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
55336         fdim/fdimf to libm-sysdep_routines.
55337         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
55338         file.
55339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
55340         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
55341         file.
55342         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
55343         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
55344         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
55345         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
55346         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
55347         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
55348         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
55350 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
55352         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
55353         to optimize copies.
55355         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
55356         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55357         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55359         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
55360         local variable MPTWO.
55361         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
55362         Likewise.
55364 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55366         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
55367         GLOB_NOESCAPE.
55369 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55371         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
55373 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
55375         * manual/pattern.texi (glob_t): Document gl_flags.
55376         (glob64_t): Likewise.
55378 2013-01-11  David S. Miller  <davem@davemloft.net>
55380         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
55381         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
55382         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
55383         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
55384         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
55385         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
55386         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
55387         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
55388         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
55389         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
55390         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
55391         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
55392         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
55394         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55395         sparc V9 rather than using V8 code.
55396         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55397         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55399         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
55400         Move to...
55401         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
55402         Here.
55404 2013-01-11  Roland McGrath  <roland@hack.frob.com>
55406         [BZ #14941]
55407         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
55408         not in the main loop.
55409         * configure: Regenerated.
55411 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
55413         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
55414         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
55415         to just #else.
55416         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
55417         [!__GLIBC_HAVE_LONG_LONG] case.
55418         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
55419         condition to just #else.
55420         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
55421         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
55422         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
55423         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
55424         unconditional.
55425         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
55426         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55427         #elif condition to just #else.
55428         * sysdeps/unix/sysv/linux/sys/sysmacros.h
55429         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
55430         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
55431         #elif condition to just #else.
55433 2013-01-11  Steve Ellcey  <sellcey@mips.com>
55435         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
55436         (EF_MIPS_ARCH_64): Fix value.
55437         (EF_MIPS_ARCH_32R2): New.
55438         (EF_MIPS_ARCH_64R2): New.
55440 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
55442         * Makeconfig (+link-pie-before-libc): New.
55443         (+link-pie-after-libc): Likewise.
55444         (+link-pie-tests): Likewise.
55445         (+link-pie): Rewritten.
55446         (link-before-libc): Remove $(config-LDFLAGS).
55447         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
55448         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
55449         (config-LDFLAGS): Renamed to ...
55450         (rtld-LDFLAGS): This.
55451         (rtld-tests-LDFLAGS): New macro.
55452         (link-libc-rpath-link): Likewise.
55453         (link-libc-tests-rpath-link): Likewise.
55454         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
55455         (link-libc): Prepand $(link-libc-rpath-link).
55456         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
55457         (test-program-prefix): New macro.
55458         (test-via-rtld-prefix): Likewise.
55459         (test-program-cmd): Likewise.
55460         (host-test-program-cmd): Likewise.
55461         * Makefile ($(common-objpfx)testrun.sh): Replace
55462         $(run-program-prefix) with $(test-program-prefix).
55463         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
55464         $(rtld-LDFLAGS).
55465         ($(common-objpfx)shlib.lds): Likewise.
55466         (build-module-helper): Likewise.
55467         ($(common-objpfx)format.lds): Likewise.
55468         * Rules (binaries-pie-tests): New.
55469         (binaries-pie-notests): Likewise.
55470         (binaries-pie): Rewritten.
55471         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
55472         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
55473         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
55474         (make-test-out): Replace $(host-built-program-cmd) with
55475         $(host-test-program-cmd).
55476         * config.make.in (build-hardcoded-path-in-tests): New variable.
55477         * configure.in (--enable-hardcoded-path-in-tests): New configure
55478         option.
55479         (hardcoded_path_in_tests): New AC_SUBST.
55480         * configure: Regenerated.
55481         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
55482         $(built-program-cmd) with $(test-program-cmd).
55483         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
55484         (test_program_cmd): This.
55485         * elf/Makefile ($(objpfx)order.out): Run test with
55486         $(test-program-prefix).
55487         ($(objpfx)order2.out): Likewise.
55488         ($(objpfx)tst-initorder.out): Likewise.
55489         ($(objpfx)tst-initorder2.out): Likewise.
55490         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
55491         $(test-program-cmd).
55492         ($(objpfx)tst-array1-static.out): Likewise.
55493         ($(objpfx)tst-array2.out): Likewise.
55494         ($(objpfx)tst-array3.out): Likewise.
55495         ($(objpfx)tst-array4.out): Likewise.
55496         ($(objpfx)tst-array5.out): Likewise.
55497         ($(objpfx)tst-array5-static.out): Likewise.
55498         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
55499         $(test-program-cmd).
55500         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
55501         $(run-program-prefix) with $(test-program-prefix).
55502         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
55503         (test_program_prefix): This.
55504         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
55505         $(run-program-prefix) with $(test-program-prefix).
55506         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
55507         (test_program_prefix): This.
55508         * iconvdata/tst-tables.sh: Likewise.
55509         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
55510         $(run-program-prefix) with $(test-program-prefix).
55511         ($(objpfx)tst-translit.out): Likewise.
55512         ($(objpfx)tst-gettext2.out): Likewise.
55513         ($(objpfx)tst-gettext4.out): Likewise.
55514         ($(objpfx)tst-gettext6.out): Likewise.
55515         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
55516         (test_program_prefix): This.
55517         * intl/tst-gettext2.sh: Likewise.
55518         * intl/tst-gettext4.sh  Likewise.
55519         * intl/tst-gettext6.sh: Likewise.
55520         * intl/tst-translit.sh: Likewise.
55521         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
55522         with $(test-program-cmd).
55523         * libio/Makefile ($(objpfx)test-freopen.out): Replace
55524         $(run-program-prefix) with $(test-program-prefix).
55525         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
55526         (test_program_prefix): This.
55527         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
55528         $(run-program-prefix) with $(test-program-prefix).
55529         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
55530         (test_program_prefix): This.
55531         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
55532         * posix/Makefile ($(objpfx)globtest.out): Replace
55533         $(run-via-rtld-prefix) and $(test-wrapper) with
55534         $(test-program-prefix) and $(test-via-rtld-prefix).
55535         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
55536         $(test-program-prefix).
55537         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
55538         $(host-test-program-cmd).
55539         (tst-spawn-ARGS): Likewise.
55540         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
55541         $(test-program-prefix).
55542         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
55543         (test_via_rtld_prefix): This.
55544         (test_wrapper): Renamed to ...
55545         (test_program_prefix): This.
55546         (run_program_prefix): Replaced by test_program_prefix.
55547         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
55548         (test_program_prefix): This.
55549         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
55550         with $(host-test-program-cmd).
55551         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
55552         $(run-program-prefix) with $(test-program-prefix).
55553         ($(objpfx)tst-printf.out): Likewise.
55554         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
55555         $(test-program-cmd).
55556         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
55557         (test_program_prefix): This.
55558         * stdio-common/tst-unbputc.sh: Likewise.
55559         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
55560         $(run-program-prefix) with $(test-program-prefix).
55561         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
55562         (test_program_prefix): This.
55563         * string/Makefile ($(objpfx)tst-svc.out):  Replace
55564         $(built-program-cmd) with $(test-program-cmd).
55566 2013-01-11  Andreas Jaeger  <aj@suse.de>
55568         [BZ #15003]
55569         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
55570         value. Sync with Linux 3.7.
55572 2013-01-10  David S. Miller  <davem@davemloft.net>
55574         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
55575         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55576         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55578 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55580         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
55581         never set.
55582         * configure: Regenerated.
55584 2013-01-10  David S. Miller  <davem@davemloft.net>
55586         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
55587         sparc V9 rather than using V8 code.
55588         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
55589         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
55591 2013-01-10  Roland McGrath  <roland@hack.frob.com>
55593         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
55594         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
55595         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
55596         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
55597         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
55598         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
55599         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
55600         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
55601         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
55602         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
55603         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
55604         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
55605         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
55606         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
55607         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
55608         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
55609         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
55610         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
55611         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
55612         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
55613         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
55614         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
55615         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
55616         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
55617         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
55618         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
55619         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
55621 2013-01-10  David S. Miller  <davem@davemloft.net>
55623         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55625 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55627         * posix/Makefile (tests-static): New variable.
55628         (tests): Add $(tests-static).
55629         (tst-exec-static-ARGS): New variable.
55630         (tst-spawn-static-ARGS): Likewise.
55631         * posix/tst-exec-static.c: New file.
55632         * posix/tst-spawn-static.c: Likewise.
55633         * posix/tst-exec.c: Support run directly.
55634         * posix/tst-spawn.c: Likewise.
55636 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
55638         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
55639         long.
55640         * math/bits/mathcalls.h (llrint): Likewise.
55641         (llround): Likewise.
55642         * stdlib/stdlib.h (struct drand48_data): Likewise.
55643         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
55644         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
55645         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
55646         Likewise.
55647         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
55648         Likewise.
55649         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
55650         (elf_greg_t): Likewise.
55651         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
55652         (__jmp_buf): Likewise.
55653         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
55654         definitions.
55655         (llrint): Likewise, for all definitions.
55656         (llrintl): Likewise.
55658         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
55659         Remove [__GNUC__] condition.
55660         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
55661         condition to just [__USE_ISOC99].
55662         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
55664 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
55666         [BZ #14200]
55667         * sysdeps/unix/sysv/linux/x86/bits/environments.h
55668         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
55669         defined.
55670         (_POSIX_V6_ILP32_OFF32): Likewise.
55671         (_XBS5_ILP32_OFF32): Likewise.
55672         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
55673         (__ILP32_OFFBIG_LDFLAGS): Likewise.
55675 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55677         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
55679         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
55680         doubles __mpexp_twomm1.  Adjust usage.
55681         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
55682         Remove.
55684 2013-01-10  Andreas Schwab  <schwab@suse.de>
55686         [BZ #14964]
55687         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
55688         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
55690 2013-01-09  David S. Miller  <davem@davemloft.net>
55692         [BZ #15003]
55693         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
55694         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
55695         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
55696         (TCP_FASTOPEN): Define.
55697         (tcp_repair_opt): New structure.
55698         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
55699         enum values.
55700         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
55701         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
55702         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
55703         (tcp_cookie_transactions): New structure.
55705 2013-01-09  Anton Blanchard  <anton@samba.org>
55707         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
55708         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
55709         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
55710         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
55712 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
55714         * include/features.h (__USE_ANSI): Remove.
55716 2013-01-09  Roland McGrath  <roland@hack.frob.com>
55718         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
55720         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
55722 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
55724         * sysdeps/s390/fpu/libm-test-ulps: Update.
55726         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55728         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
55729         (__acr): Likewise.
55730         (__cpy): Likewise.
55731         (norm): Likewise.
55732         (denorm): Likewise.
55733         (__mp_dbl): Likewise.
55734         (__dbl_mp): Likewise.
55735         (add_magnitudes): Likewise.
55736         (sub_magnitudes): Likewise.
55737         (__add): Likewise.
55738         (__sub): Likewise.
55739         (__mul): Likewise.
55740         (__inv): Likewise.
55741         (__dvd): Likewise.
55742         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
55743         (__acr): Likewise.
55744         (__cpy): Likewise.
55745         (norm): Likewise.
55746         (denorm): Likewise.
55747         (__mp_dbl): Likewise.
55748         (__dbl_mp): Likewise.
55749         (add_magnitudes): Likewise.
55750         (sub_magnitudes): Likewise.
55751         (__add): Likewise.
55752         (__sub): Likewise.
55753         (__mul): Likewise.
55754         (__inv): Likewise.
55755         (__dvd): Likewise.
55756         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
55757         (__acr): Likewise.
55758         (__cpy): Likewise.
55759         (norm): Likewise.
55760         (denorm): Likewise.
55761         (__mp_dbl): Likewise.
55762         (__dbl_mp): Likewise.
55763         (add_magnitudes): Likewise.
55764         (sub_magnitudes): Likewise.
55765         (__add): Likewise.
55766         (__sub): Likewise.
55767         (__mul): Likewise.
55768         (__inv): Likewise.
55769         (__dvd): Likewise.
55771 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
55773         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
55774         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
55775         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
55776         2 && __USE_EXTERN_INLINES]: Likewise.
55778 2013-01-08  Andreas Jaeger  <aj@suse.de>
55780         [BZ# 14985]
55781         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
55782         Remove.
55783         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55784         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
55786 2013-01-07  Anton Blanchard  <anton@samba.org>
55788         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
55789         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55790         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
55791         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55792         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
55793         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55794         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
55795         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
55796         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
55797         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
55798         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55799         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55800         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
55801         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55802         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
55803         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55804         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55805         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55806         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
55807         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
55808         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
55809         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
55810         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
55811         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
55812         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
55813         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
55814         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
55815         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55816         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
55817         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
55818         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
55819         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
55820         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
55821         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55822         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55823         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
55824         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55825         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
55826         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
55827         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55828         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
55829         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
55830         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55832 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
55834         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
55835         (__MALLOC_PMT): Likewise.
55836         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
55837         [__GNUC__], only on [_LIBC].
55838         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55839         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
55840         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
55841         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
55842         forward declaration.
55843         (realloc_hook_ini): Likewise.
55844         (memalign_hook_ini): Likewise.
55845         (__libc_memalign): Do not use __MALLOC_PMT in variable
55846         declaration.
55847         (__libc_valloc): Likewise.
55848         (__libc_pvalloc): Likewise.
55849         (__libc_calloc): Likewise.
55850         (__posix_memalign): Likewise.
55852         [BZ #14996]
55853         * math/s_casinh.c: Include <float.h>.
55854         (__casinh): Do not do computation with squaring and square root
55855         for large arguments.
55856         * math/s_casinhf.c: Include <float.h>.
55857         (__casinhf): Do not do computation with squaring and square root
55858         for large arguments.
55859         * math/s_casinhl.c: Include <float.h>.
55860         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
55861         (__casinhl): Do not do computation with squaring and square root
55862         for large arguments.
55863         * math/libm-test.inc (casin_test): Add more tests.
55864         (casinh_test): Likewise.
55865         * sysdeps/i386/fpu/libm-test-ulps: Update.
55866         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55868 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
55870         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
55871         (__x86_64_raw_data_cache_size): Likewise.
55872         (__x86_64_data_cache_size_half): Likewise.
55873         (__x86_64_raw_data_cache_size_half): Likewise.
55874         (__x86_64_shared_cache_size): Likewise.
55875         (__x86_64_raw_shared_cache_size): Likewise.
55876         (__x86_64_shared_cache_size_half): Likewise.
55877         (__x86_64_raw_shared_cache_size_half): Likewise.
55878         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
55879         to ...
55880         (__x86_data_cache_size): This.
55881         (__x86_64_raw_data_cache_size): Renamed to ...
55882         (__x86_raw_data_cache_size): This.
55883         (__x86_64_data_cache_size_half): Renamed to ...
55884         (__x86_data_cache_size_half): This.
55885         (__x86_64_raw_data_cache_size_half): Renamed to ...
55886         (__x86_raw_data_cache_size_half): This.
55887         (__x86_64_shared_cache_size): Renamed to ...
55888         (__x86_shared_cache_size): This.
55889         (__x86_64_raw_shared_cache_size): Renamed to ...
55890         (__x86_raw_shared_cache_size): This.
55891         (__x86_64_shared_cache_size_half): Renamed to ...
55892         (__x86_shared_cache_size_half): This.
55893         (__x86_64_raw_shared_cache_size_half): Renamed to ...
55894         (__x86_raw_shared_cache_size_half): This.
55895         * sysdeps/x86_64/memcpy.S: Updated.
55896         * sysdeps/x86_64/memset.S: Likewise.
55897         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
55898         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
55899         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
55901 2013-01-04  David S. Miller  <davem@davemloft.net>
55903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
55905 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
55907         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
55908         1 to avoid redefinition warning.
55909         (__USE_GNU): Don't define.
55910         (init_signaling_nan): Protoize.
55912         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55914 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55916         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
55917         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
55918         (__cpymn): Likewise.
55919         (norm): Remove commented code.
55920         (denorm): Likewise.
55921         (__mp_dbl): Likewise.
55922         (__inv): Likewise.
55923         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
55924         (__cpymn): Likewise.
55925         (norm): Remove commented code.
55926         (denorm): Likewise.
55927         (__mp_dbl): Likewise.
55928         (__inv): Likewise.
55930         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
55931         mp_no value for 1.0 and 2.0.
55932         (norm): Use RADIXI instead of radixi.d.
55933         (denorm): Likewise.
55934         (__mul): Use 0.0 instead of zero.d.
55935         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
55936         mp_no value for 1.0 and 2.0.
55937         (norm): Use RADIXI instead of radixi.d.
55938         (denorm): Likewise.
55939         (__mul): Use 0.0 instead of zero.d.
55941 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
55943         [BZ #14994]
55944         * math/s_casinh.c (__casinh): Reduce finite argument to first
55945         quadrant then set signs of results at the end.
55946         * math/s_casinhf.c (__casinhf): Likewise.
55947         * math/s_casinhl.c (__casinhl): Likewise.
55948         * math/libm-test.inc (casin_test): Add more tests.
55949         (casinh_test): Likewise.
55950         * sysdeps/i386/fpu/libm-test-ulps: Update.
55951         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55953 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
55955         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
55957         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
55959         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
55960         declarations.
55961         (denorm): Likewise.
55962         (__mp_dbl): Likewise.
55963         (__inv): Likewise.
55965         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
55966         and adjust the header comment.
55968         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
55969         variable name from declaration.
55971 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
55973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
55974         Initialize COMMON_CPUID_INDEX_7 element.
55975         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
55976         (CPUID_RTM): Likewise.
55977         (HAS_RTM): Likewise.
55978         (COMMON_CPUID_INDEX_7): New enum.
55980 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
55982         [BZ #14981]
55983         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
55984         size is zero, record memory as freed.
55986 2013-01-03  Andreas Jaeger  <aj@suse.de>
55988         * po/ia.po: Add new Interlingua translation.
55990 2012-01-03  Allan McRae  <allan@archlinux.org>
55992         * locale/programs/localedef.c: Fix description of '--posix' flag.
55994 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
55996         * NEWS: Update dates in second copyright notice.
55997         * README: Update copyright dates in example.
55998         * manual/libc.texinfo: Update copyright dates.
55999         * scripts/test-installation.pl: Update copyright date in --version
56000         output.
56002         * hurd/ctty-input.c: Fix copyright notice formatting.
56003         * hurd/ctty-output.c: Likewise.
56004         * hurd/dtable.c: Likewise.
56005         * hurd/hurd-raise.c: Likewise.
56006         * hurd/hurdprio.c: Likewise.
56007         * hurd/msgportdemux.c: Likewise.
56008         * misc/sys/file.h: Likewise.
56009         * misc/sys/ioctl.h: Likewise.
56010         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
56011         * sysdeps/mach/hurd/chdir.c: Likewise.
56012         * sysdeps/mach/hurd/fchdir.c: Likewise.
56013         * sysdeps/mach/hurd/rename.c: Likewise.
56014         * sysdeps/mach/hurd/rmdir.c: Likewise.
56015         * sysdeps/mach/hurd/seekdir.c: Likewise.
56016         * sysdeps/mach/hurd/setsid.c: Likewise.
56017         * sysdeps/posix/wait3.c: Likewise.
56019         * All files with FSF copyright notices: Update copyright dates
56020         using scripts/update-copyrights.
56021         * intl/plural.c: Regenerated.
56022         * locale/programs/charmap-kw.h: Likewise.
56023         * locale/programs/locfile-kw.h: Likewise.
56025 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
56027         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
56028         four values.
56030         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
56031         calculation loop and add branch prediction.
56033         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
56034         check access beyond bounds of m1np.
56036         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56037         MPTWO.
56038         (__inv): Remove local variable MPTWO to use the global
56039         constant.
56040         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
56041         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56042         variable MPTWO.
56043         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
56044         MP3HALFS static const.
56046 2013-01-01  David S. Miller  <davem@davemloft.net>
56048         * po/ca.po: Update from translation team.
56050 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
56052         * scripts/update-copyrights: New file.
56053         * Makeconfig: Reformat copyright notice.
56054         * ctype/ctype.h: Likewise.
56055         * debug/swprintf_chk.c: Likewise.
56056         * elf/dl-cache.c: Likewise.
56057         * elf/dl-debug.c: Likewise.
56058         * elf/dl-object.c: Likewise.
56059         * grp/initgroups.c: Likewise.
56060         * hurd/Makefile: Likewise.
56061         * hurd/hurd/signal.h: Likewise.
56062         * hurd/hurdfault.c: Likewise.
56063         * hurd/hurdioctl.c: Likewise.
56064         * hurd/hurdlookup.c: Likewise.
56065         * hurd/intr-msg.c: Likewise.
56066         * iconv/gconv_open.c: Likewise.
56067         * libio/swprintf.c: Likewise.
56068         * locale/lc-ctype.c: Likewise.
56069         * locale/nl_langinfo.c: Likewise.
56070         * mach/Machrules: Likewise.
56071         * mach/Makefile: Likewise.
56072         * malloc/obstack.h: Likewise.
56073         * manual/Makefile: Likewise.
56074         * manual/tsort.awk: Likewise.
56075         * misc/bits/stab.def: Likewise.
56076         * nis/nis_print_group_entry.c: Likewise.
56077         * nis/nis_table.c: Likewise.
56078         * nis/nss_compat/compat-pwd.c: Likewise.
56079         * nis/nss_compat/compat-spwd.c: Likewise.
56080         * po/Makefile: Likewise.
56081         * posix/fnmatch.c: Likewise.
56082         * posix/regex.h: Likewise.
56083         * resolv/Makefile: Likewise.
56084         * resolv/nss_dns/dns-network.c: Likewise.
56085         * resolv/res_hconf.c: Likewise.
56086         * scripts/gen-sorted.awk: Likewise.
56087         * soft-fp/soft-fp.h: Likewise.
56088         * stdio-common/printf.h: Likewise.
56089         * stdlib/monetary.h: Likewise.
56090         * stdlib/random.c: Likewise.
56091         * stdlib/random_r.c: Likewise.
56092         * sysdeps/generic/Makefile: Likewise.
56093         * sysdeps/gnu/Makefile: Likewise.
56094         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
56095         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
56096         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
56097         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
56098         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
56099         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
56100         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
56101         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
56102         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
56103         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
56104         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
56105         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
56106         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
56107         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
56108         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
56109         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
56110         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
56111         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
56112         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
56113         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
56114         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
56115         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
56116         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
56117         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
56118         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
56119         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
56120         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
56121         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
56122         * sysdeps/mach/hurd/errnos.awk: Likewise.
56123         * sysdeps/mach/hurd/fork.c: Likewise.
56124         * sysdeps/mach/hurd/getcwd.c: Likewise.
56125         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
56126         * sysdeps/mach/hurd/mmap.c: Likewise.
56127         * sysdeps/mach/hurd/utimes.c: Likewise.
56128         * sysdeps/mach/hurd/xmknod.c: Likewise.
56129         * sysdeps/posix/profil.c: Likewise.
56130         * sysdeps/posix/readdir_r.c: Likewise.
56131         * sysdeps/powerpc/bits/mathdef.h: Likewise.
56132         * sysdeps/powerpc/bits/setjmp.h: Likewise.
56133         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
56134         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
56135         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
56136         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
56137         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
56138         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
56139         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
56140         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
56141         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
56142         * sysdeps/pthread/lio_listio.c: Likewise.
56143         * sysdeps/sparc/dl-procinfo.h: Likewise.
56144         * sysdeps/unix/i386/sysdep.S: Likewise.
56145         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
56146         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
56147         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
56148         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
56149         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
56150         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
56151         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
56152         * sysdeps/unix/sysv/linux/speed.c: Likewise.
56153         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
56154         * sysdeps/wordsize-32/divdi3.c: Likewise.
56155         * time/sys/time.h: Likewise.
56156         * wcsmbs/Makefile: Likewise.
56158 2013-01-01  David S. Miller  <davem@davemloft.net>
56160         * po/fr.po: Update from translation team.
56162         * catgets/gencat.c: Update copyright year.
56163         * csu/version.c: Likewise.
56164         * debug/catchsegv.sh: Likewise.
56165         * debug/pcprofiledump.c: Likewise.
56166         * debug/xtrace.sh: Likewise.
56167         * elf/ldconfig.c: Likewise.
56168         * elf/ldd.bash.in: Likewise.
56169         * elf/pldd.c: Likewise.
56170         * elf/sotruss.ksh: Likewise.
56171         * elf/sprof.c: Likewise.
56172         * iconv/iconv_prog.c: Likewise.
56173         * iconv/iconvconfig.c: Likewise.
56174         * locale/programs/locale.c: Likewise.
56175         * locale/programs/localedef.c: Likewise.
56176         * login/programs/pt_chown.c: Likewise.
56177         * malloc/memusage.sh: Likewise.
56178         * malloc/memusagestat.c: Likewise.
56179         * malloc/mtrace.pl: Likewise.
56180         * nscd/nscd.c: Likewise.
56181         * nss/getent.c: Likewise.
56182         * nss/makedb.c: Likewise.
56183         * posix/getconf.c: Likewise.
56185 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
56187         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
56188         numbers.
56190 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
56192         * math/bits/mathcalls.h (modf): Use __nonnull.
56194 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
56196         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
56197         (split): Use macro CN instead of the bare value.
56198         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
56199         could be used.
56200         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
56201         instead of the bare value.
56202         (power1): Likewise.
56204 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56206         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
56207         __ATAN_TWOM.
56208         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56210         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
56211         their values.
56212         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
56213         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
56214         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
56215         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
56217 2012-12-28  Andreas Jaeger  <aj@suse.de>
56219         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
56220         values are from Linux 3.7.
56222         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
56223         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
56225 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56227         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
56228         TRUE case.
56230         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
56231         (norm): Likewise.
56232         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
56233         variables with preprocessor constants.
56234         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
56235         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
56236         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
56238 2012-12-27  Bruno Haible  <bruno@clisp.org>
56240         [BZ #14317]
56241         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
56242         only if needed.
56244 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56246         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
56247         and use variable directly.
56248         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
56250         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
56251         MPONE.
56252         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
56253         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
56254         variable MPONE.
56255         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
56256         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
56257         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
56258         include directive.  Remove local variable MPONE.
56259         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
56260         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
56261         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
56263 2012-12-25  David S. Miller  <davem@davemloft.net>
56265         * version.h (RELEASE): Set to "development".
56266         (VERSION): Set to "2.17.90".
56267         * NEWS: Add 2.18 section.
56269 2012-12-21  David S. Miller  <davem@davemloft.net>
56271         * po/hr.po: Update from translation team.
56273 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
56275         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
56277 2012-12-19  Steve Ellcey  <sellcey@mips.com>
56279         * NEWS:  Mention new memcpy for MIPS.
56281 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
56283         * manual/contrib.texi (Contributors): Spelling correction.
56285 2012-12-15  David S. Miller  <davem@davemloft.net>
56287         * po/ru.po: Update from translation team.
56289 2012-12-13  David S. Miller  <davem@davemloft.net>
56291         * NEWS: Mention IFUNC testsuite enhancements.
56293         * po/pl.po: Update from translation team.
56294         * po/bg.po: Likewise.
56296         * manual/contrib.texi (Contributors): Update entries for Hongjiu
56297         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
56299 2012-12-11  David S. Miller  <davem@davemloft.net>
56301         * po/sv.po: Update from translation team.
56303         * po/vi.po: Update from translation team.
56305         * po/cs.po: Update from translation team.
56307         * po/de.po: Update from translation team.
56308         * po/eo.po: Likewise.
56309         * po/nl.po: Likewise.
56311 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56313         [BZ #14246]
56314         * manual/argp.texi (Argp Helper Functions): Move node to follow
56315         Argp Parsing State.
56317         [BZ #14872]
56318         * manual/conf.texi (Limits on File System Capacity): Mention if
56319         terminating null is included in the max size.
56321 2012-12-10  Andreas Jaeger  <aj@suse.de>
56323         * po/cs.po: Update from translation team.
56325 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
56327         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
56328         void pointer and cast to uintptr_t.
56329         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
56330         path.
56331         * sysdeps/s390/s390-64/memcpy.S: Likewise.
56332         * sysdeps/s390/s390-64/memset.S: Likewise.
56334 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
56336         [BZ #14833]
56337         * menual/message.texi (Message Translation): Fix typos.
56338         (Helper programs for gettext): Likewise.
56340 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
56342         [BZ #14898]
56343         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
56344         Change to -1.
56346 2012-12-07  David S. Miller  <davem@davemloft.net>
56348         * po/libc.pot: Update.
56350 2012-12-07  Richard Henderson  <rth@redhat.com>
56352         [BZ #10114]
56353         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
56354         normal/normal case to before the switch.
56355         (_FP_DIV): Likewise.
56357 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
56358             Mike Frysinger  <vapier@gentoo.org>
56360         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
56361         check for __NR_fadvise64_64.
56363 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
56365         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
56366         0, not just to plain "0" as a statement.
56367         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
56368         with cw.
56370 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
56372         * NEWS: Use sourceware.org in Bugzilla URL.
56374 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
56376         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
56377         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56379         * stdio-common/tst-put-error.c (do_test): Add newline to the
56380         padded test to ensure flush.
56382 2012-12-05  Jeff Law  <law@redhat.com>
56384         * sunrpc/etc.rpc (fedfs_admin): Add entry.
56386 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
56388         * README: Don't refer to ports add-on as distributed separately.
56389         Mention AArch64 in list of systems supported in the ports add-on.
56391         * LICENSES: Add more non-FSF copyright and license notices.
56393         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
56394         ((unused)).
56396         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
56398         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
56399         10000 as width of padded output.
56401 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56403         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
56405         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
56406         variable LX with __attribute__ ((unused)).
56407         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
56408         Likewise.
56409         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
56410         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
56411         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
56412         with __attribute__ ((unused)).
56414 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
56416         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
56418 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
56420         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
56421         (CFLAGS-nldbl-acos.c): New variable.
56422         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
56423         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
56424         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
56425         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
56426         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
56427         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
56428         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
56429         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
56430         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
56431         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
56432         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
56433         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
56434         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
56435         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
56436         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
56437         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
56438         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
56439         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
56440         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
56441         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
56442         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
56443         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
56444         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
56445         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
56446         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
56447         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
56448         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
56449         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
56450         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
56451         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
56452         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
56453         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
56454         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
56455         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
56456         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
56457         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
56458         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
56459         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
56460         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
56461         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
56462         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
56463         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
56464         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
56465         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
56466         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
56467         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
56468         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
56469         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
56470         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
56471         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
56472         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
56473         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
56474         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
56475         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
56476         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
56477         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
56478         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
56479         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
56480         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
56481         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
56482         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
56483         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
56484         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
56485         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
56486         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
56487         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
56488         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
56489         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
56490         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
56491         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
56492         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
56493         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
56494         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
56495         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
56496         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
56497         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
56498         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
56499         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
56500         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
56501         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
56502         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
56503         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
56504         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
56505         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
56506         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
56507         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
56508         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
56509         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
56510         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
56511         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
56512         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
56513         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
56514         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
56515         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
56516         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
56517         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
56518         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
56520         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
56521         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
56523         [BZ #14914]
56524         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
56525         whole low double instead of just low 47 bits when splitting values
56526         into two parts.
56528 2012-12-03  Allan McRae  <allan@archlinux.org>
56530         * manual/stdio.texi (Predefined Printf Handlers): Remove
56531         @hsep and @vsep usage.
56533 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
56535         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
56536         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
56538 2012-12-03  Jeff Law  <law@redhat.com>
56540         * time/sys/time.h (settimeofday): Do not mark TV argument
56541         as __nonnull.
56543 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
56545         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
56546         when currently writing and seek to current position when not.
56547         * libio/Makefile (tests): Remove bug-fclose1.
56548         * libio/bug-fclose1.c: Delete.
56550 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
56552         * manual/arith.texi (feenableexcept): Fix typo.
56553         (fedisableexcept): Likewise.
56555 2012-11-30  Roland McGrath  <roland@hack.frob.com>
56557         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
56558         second, differently-typed declaration, rather than a cast.
56560 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
56562         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
56563         * include/rpc/svc.h: ... here.
56565 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
56567         [BZ #13013]
56568         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
56569         depending n and resplen2 to catch cases where answer
56570         equals answerp2.
56572 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
56574         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
56575         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
56577 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
56579         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
56581 2012-11-29  Roland McGrath  <roland@hack.frob.com>
56583         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
56585 2012-11-28  Jeff Law  <law@redhat.com>
56587         [BZ #13761]
56588         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
56589         dataset_temporary.  Track alloca usage into alloca_used.
56590         If dataset is large allocate and release it via malloc/free.
56592 2012-06-04  Florian Weimer  <fweimer@redhat.com>
56594         [BZ #14197]
56595         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
56597 2012-11-28  David S. Miller  <davem@davemloft.net>
56599         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56601 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56603         [BZ #14803]
56604         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
56605         of pi/2 rounded to nearest to 64 bits.
56606         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
56607         nearest to 64 bits.
56608         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
56609         bits.
56611 2012-11-28  Jeff Law <law@redhat.com>
56612             Martin Osvald <mosvald@redhat.com>
56614         [BZ #14889]
56615         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
56616         * sunrpc/svc.c: Include time.h.
56617         (__svc_accept_failed): New function.
56618         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
56619         any reason other than EINTR, call __svc_accept_failed.
56620         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
56621         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
56623 2012-11-28  Andreas Schwab  <schwab@suse.de>
56625         * scripts/abilist.awk: Also handle indirect functions in .opd
56626         section.
56628 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
56630         [BZ #13881]
56631         * sysdeps/x86/fpu/powl_helper.c: New file.
56632         * sysdeps/x86/fpu/Makefile: Likewise.
56633         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
56634         (p3): New object.
56635         (__ieee754_powl): Use __powl_helper for finite arguments except
56636         integer exponents below 8.
56637         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
56638         (p3): New object.
56639         (__ieee754_powl): Use __powl_helper for finite arguments except
56640         integer exponents below 8.
56641         * math/libm-test.inc (pow_test): Add more tests and enable some
56642         previously disabled tests.
56643         * sysdeps/i386/fpu/libm-test-ulps: Update.
56644         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56646 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
56647             Carlos O'Donell  <carlos_odonell@mentor.com>
56649         * nss/makedb.c (is_prime): Assert that input is odd and greater
56650         than 4.  Note that fact in a comment too.
56651         (next_prime): Add 4 to input.
56653 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
56655         [BZ #11741]
56656         * libio/Makefile (tests): Add test case tst-fwrite-error.
56657         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
56658         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
56659         * libio/tst-fwrite-error.c: New test case.
56661 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
56663         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
56664         before casting to void *.
56665         * include/libc-internal.h (__pointer_type): New macro.
56666         (__integer_if_pointer_type_sub): Likewise.
56667         (__integer_if_pointer_type): Likewise.
56668         (cast_to_integer): Likewise.
56669         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
56670         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
56671         before casting to atomic64_t.
56672         (atomic_exchange_acq): Likewise.
56673         (__arch_exchange_and_add_body): Likewise.
56674         (__arch_add_body): Likewise.
56675         (atomic_add_negative): Likewise.
56676         (atomic_add_zero): Likewise.
56678 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
56680         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
56681         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
56682         (add_fdes): Likewise.
56683         (linear_search_fdes): Likewise.
56684         (binary_search_unencoded_fdes): Likewise.
56686 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
56688         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
56690 2012-11-24  Adam Conrad  <adconrad@0c3.net>
56692         * configure.in: Autodetect C++ header directories.
56693         * configure: Regenerated.
56695 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
56697         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
56699 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
56701         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56703 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
56705         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
56706         LDBL_MANT_DIG == 106]: Disable some tests.
56707         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56708         Likewise.
56709         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
56710         Likewise.
56712         [BZ #14871]
56713         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
56714         input for small inputs.  Return +/- pi/2 for large inputs.
56715         * math/libm-test.inc (atan_test): Add more tests.
56717         * sysdeps/generic/unwind-dw2-fde-glibc.c
56718         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
56719         __attribute__ ((unused)).
56721         [BZ #14645]
56722         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
56723         x * y if x and y are nonzero and z is zero.
56725         [BZ #14811]
56726         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
56727         nonzero exponents with absolute value below 0x1p-117 to +/-
56728         0x1p-117.
56730         [BZ #14869]
56731         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
56732         up arguments below 2**-450, not just those below 2**-500.
56733         * math/libm-test.inc (hypot_test): Add another test.
56735         [BZ #14868]
56736         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
56737         Return a+b for ratio over 2**120, not 2**60.
56738         * math/libm-test.inc (hypot_test): Add another test.
56740         * math/libm-test.inc (clog_test): Use
56741         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
56742         (clog10_test): Likewise.
56744         [BZ #6778]
56745         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
56747 2012-11-22  Andreas Schwab  <schwab@suse.de>
56749         * sysdeps/i386/fpu/libm-test-ulps: Update.
56751 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
56753         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
56754         printf output with newline.
56756 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
56758         [BZ #14865]
56759         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
56760         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
56761         -z nodlopen, -z initfirst and -z execstack support.
56762         * configure: Regenerated.
56764         * elf/elf.h (DF_1_NODIRECT): New macro.
56765         (DF_1_IGNMULDEF): Likewise.
56766         (DF_1_NOKSYMS): Likewise.
56767         (DF_1_NOHDR): Likewise.
56768         (DF_1_EDITED): Likewise.
56769         (DF_1_NORELOC): Likewise.
56770         (DF_1_SYMINTPOSE): Likewise.
56771         (DF_1_GLOBAUDIT): Likewise.
56772         (DF_1_SINGLETON): Likewise.
56773         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
56774         DT_1_SUPPORTED_MASK bits.
56775         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
56777 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
56779         * sysdeps/unix/make-syscalls.sh: Document prefixes.
56781 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
56783         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
56784         macro.
56786         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
56787         (sendmmsg): Move declarations...
56788         * socket/sys/socket.h: ... here.
56789         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
56790         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
56791         include it from...
56792         * socket/recvmmsg.c: ... this new file.
56793         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
56794         (sendmmsg): Rename to __sendmmsg, create weak alias and make
56795         definition of __sendmmsg hidden.
56796         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
56797         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
56798         Move ENOSYS stub into and include it from...
56799         * socket/sendmmsg.c: ... this new file.
56800         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
56801         (sysdep_routines): Move recvmmsg and sendmmsg...
56802         * socket/Makefile (routines): ... here.
56803         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
56804         (GLIBC_PRIVATE): Add __sendmmsg.
56805         * include/sys/socket.h (__sendmmsg): Add declarations.
56806         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
56807         sendmmsg.
56809 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
56811         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
56812         variable I1 with __attribute__ ((unused)).
56813         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
56815 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56817         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
56818         DUMMY variables with __attribute__ ((unused)).
56820         * bits/byteswap.h: Include <bits/types.h>.
56821         (__bswap_64): Use __uint64_t instead of unsigned long long int.
56823 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
56825         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
56826         string_t.  Do not manually set errno.
56827         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
56828         length with __strnlen.  Make sure to both set errno and return it on
56829         failure.
56831 2012-11-19  David S. Miller  <davem@davemloft.net>
56833         With help from Joseph Myers.
56834         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
56835         very large arguments properly.
56836         * math/libm-test.inc (atan_test): New tests.
56837         (atan2_test): New tests.
56838         * sysdeps/sparc/fpu/libm-test-ulps: Update.
56839         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56841 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
56843         [BZ #14856]
56844         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
56845         Define to 3.
56847         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
56848         [POSIX] (EADDRNOTAVAIL): Likewise.
56849         [POSIX] (EAFNOSUPPORT): Likewise.
56850         [POSIX] (EALREADY): Likewise.
56851         [POSIX] (ECONNABORTED): Likewise.
56852         [POSIX] (ECONNREFUSED): Likewise.
56853         [POSIX] (ECONNRESET): Likewise.
56854         [POSIX] (EDESTADDRREQ): Likewise.
56855         [POSIX] (EDQUOT): Likewise.
56856         [POSIX] (EHOSTUNREACH): Likewise.
56857         [POSIX] (EIDRM): Likewise.
56858         [POSIX] (EISCONN): Likewise.
56859         [POSIX] (ELOOP): Likewise.
56860         [POSIX] (EMULTIHOP): Likewise.
56861         [POSIX] (ENETDOWN): Likewise.
56862         [POSIX] (ENETUNREACH): Likewise.
56863         [POSIX] (ENOBUFS): Likewise.
56864         [POSIX] (ENODATA): Likewise.
56865         [POSIX] (ENOLINK): Likewise.
56866         [POSIX] (ENOMSG): Likewise.
56867         [POSIX] (ENOPROTOOPT): Likewise.
56868         [POSIX] (ENOSR): Likewise.
56869         [POSIX] (ENOSTR): Likewise.
56870         [POSIX] (ENOTCONN): Likewise.
56871         [POSIX] (ENOTSOCK): Likewise.
56872         [POSIX] (EOPNOTSUPP): Likewise.
56873         [POSIX] (EOVERFLOW): Likewise.
56874         [POSIX] (EPROTO): Likewise.
56875         [POSIX] (EPROTONOSUPPORT): Likewise.
56876         [POSIX] (EPROTOTYPE): Likewise.
56877         [POSIX] (ESTALE): Likewise.
56878         [POSIX] (ETIME): Likewise.
56879         [POSIX] (ETXTBSY): Likewise.
56880         [POSIX] (EWOULDBLOCK): Likewise.
56881         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
56882         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
56883         [POSIX] (SEEK_CUR): Likewise.
56884         [POSIX] (SEEK_END): Likewise.
56885         [POSIX || UNIX98] (mode_t): Do not require.
56886         [POSIX] (off_t): Likewise.
56887         [POSIX] (pid_t): Likewise.
56888         [POSIX] (sys/stat.h): Do not allow header.
56889         [POSIX] (unistd.h): Likewise.
56890         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
56891         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
56892         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
56893         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
56894         require.
56895         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
56896         sigevent): Specify elements.
56897         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
56898         entry.
56899         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
56900         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
56902         * conform/data/cpio.h-data [POSIX]: Disable whole file.
56903         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
56904         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
56905         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
56906         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
56907         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
56908         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
56909         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
56910         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
56911         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
56912         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
56913         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
56914         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
56915         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
56916         Likewise.
56917         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
56918         Likewise.
56919         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
56920         Likewise.
56921         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
56922         Likewise.
56923         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
56924         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
56925         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
56926         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
56927         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
56928         Specify lower bound on value.
56929         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
56930         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
56931         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
56932         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
56933         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
56934         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
56935         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
56936         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
56937         value.
56938         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
56939         as optional.
56940         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
56941         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
56942         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
56943         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
56944         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
56945         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
56946         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
56947         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
56948         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
56949         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
56950         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
56951         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
56952         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
56953         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
56954         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
56955         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
56956         entry.
56957         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
56958         optional.
56959         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
56960         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
56961         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
56962         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
56963         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
56964         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
56965         Likewise.
56966         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
56967         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
56968         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
56969         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
56970         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
56971         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
56972         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
56973         as optional.
56974         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
56975         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
56976         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
56977         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
56978         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
56979         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
56980         specify as optional.
56981         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
56982         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
56983         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
56984         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
56985         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
56986         [XPG3] (NL_LANGMAX): Likewise.
56987         [POSIX || XPG3] (NL_MSGMAX): Likewise.
56988         [POSIX || XPG3] (NL_NMAX): Likewise.
56989         [POSIX || XPG3] (NL_SETMAX): Likewise.
56990         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
56991         [XPG3] (NZERO): Likewise.
56992         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
56993         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
56994         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
56995         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
56996         (REG_ERANGE): Expect.
56997         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
56998         optional-constant.
56999         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
57000         Use (void) in prototype.
57001         [POSIX] (*_t): Allow.
57002         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
57003         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
57004         (WRDE_BADVAL): Expect.
57006         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
57007         expect.
57008         [XPG3 || XPG4] (O_RSYNC): Likewise.
57009         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
57010         Likewise.
57011         [XPG3 || XPG4] (pthread_sigmask): Likewise.
57012         [XPG3 || XPG4] (sigqueue): Likewise.
57013         [XPG3 || XPG4] (sigtimedwait): Likewise.
57014         [XPG3 || XPG4] (sigwaitinfo): Likewise.
57015         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
57016         [XPG3 || XPG4] (vsnprintf): Likewise.
57017         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
57018         Likewise.
57019         [XPG3 || XPG4] (blksize_t): Likewise.
57020         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
57021         Likewise.
57022         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
57023         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
57024         [XPG3 || XPG4] (struct itimerspec): Likewise.
57025         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
57026         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
57027         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
57028         [XPG3 || XPG4] (clockid_t): Likewise.
57029         [XPG3 || XPG4] (timer_t): Likewise.
57030         [XPG3 || XPG4] (clock_getres): Likewise.
57031         [XPG3 || XPG4] (clock_gettime): Likewise.
57032         [XPG3 || XPG4] (clock_settime): Likewise.
57033         [XPG3 || XPG4] (nanosleep): Likewise.
57034         [XPG3 || XPG4] (timer_create): Likewise.
57035         [XPG3 || XPG4] (timer_delete): Likewise.
57036         [XPG3 || XPG4] (timer_gettime): Likewise.
57037         [XPG3 || XPG4] (timer_getoverrun): Likewise.
57038         [XPG3 || XPG4] (timer_settime): Likewise.
57039         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
57040         [XPG3 || XPG4] (getlogin_r): Likewise.
57041         [XPG3 || XPG4] (pread): Likewise.
57042         [XPG3 || XPG4] (pthread_atfork): Likewise.
57043         [XPG3 || XPG4] (pwrite): Likewise.
57045         [BZ #14835]
57046         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
57047         <bits/siginfo.h>.
57049 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
57051         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
57052         finalizing MALLSTREAM.
57054         * sysdeps/mach/hurd/syncfs.c: New file.
57056 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
57058         [BZ #14719]
57059         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
57060         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
57061         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
57062         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
57063         (_nss_dns_gethostbyname4_r): Likewise.
57064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
57065         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
57067 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
57069         [BZ #13763]
57070         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
57072 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
57074         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
57075         * elf/cache.c (print_entry): Print ",AArch64" for
57076         FLAG_AARCH64_LIB64
57078         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
57079         * elf/cache.c (print_entry): Print ",hard-float" for
57080         FLAG_ARM_LIBHF.
57082 2012-11-18  David S. Miller  <davem@davemloft.net>
57084         With help from Joseph Myers.
57085         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
57086         cutoff to 2**-13.
57087         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
57088         cutoff to 2**-25.
57089         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
57090         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
57091         small.
57092         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
57093         * math/libm-test.inc (y0_test): New tests.
57094         (y1_test): New tests.
57095         * sysdeps/i386/fpu/libm-test-ulps: Update.
57096         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
57097         * sysdeps/sparc/fpu/libm-test-ulps: Update.
57099 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
57101         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
57102         64-bit targets.
57103         * configure: Regenerated.
57105 2012-11-17  David S. Miller  <davem@davemloft.net>
57107         [BZ #14811]
57108         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
57109         nonzero exponents with absolute value below 0x1p-128 to +/-
57110         0x1p-128.
57112 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
57114         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
57116         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
57118         * posix/getconf-speclist.c: New file.
57119         * posix/posix-envs.def: Likewise.
57120         * posix/confstr.c (START_ENV_GROUP): New macro.
57121         (END_ENV_GROUP): Likewise.
57122         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57123         (KNOWN_PRESENT_ENV_STRING): Likewise.
57124         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57125         (UNKNOWN_ENVIRONMENT): Likewise.
57126         (confstr): Include posix-envs.def instead of handling
57127         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
57128         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
57129         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
57130         (END_ENV_GROUP): Likewise.
57131         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
57132         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
57133         (UNKNOWN_ENVIRONMENT): Likewise.
57134         (__sysconf): Include posix-envs.def instead of handling associated
57135         cases directly here.
57136         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
57137         preprocessing getconf-speclist.c rather than running getconf or
57138         generating empty file.
57140 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
57142         * scripts/check-local-headers.sh: Ignore 'mach' headers.
57144 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
57146         [BZ #14672]
57147         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
57149 2012-11-16  David S. Miller  <davem@davemloft.net>
57151         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
57152         smaller than LDBL_EPSILON/2.0L, just return xm1.
57154 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
57156         * elf/tst-array1.c (init): Set constructor priority to 1000.
57157         (fini): Set destructor priority to 1000.
57158         * elf/tst-array2dep.c: Likewise.
57160 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57162         [BZ #11741]
57163         * libio/fileops.c (_IO_new_file_write): Correctly return error.
57164         (_IO_new_file_xsputn): Also return EOF if none of the input
57165         data was written when overflow failed.
57166         * libio/iopadn.c (_IO_padn): Likewise.
57167         * libio/iowpadn.c (_IO_wpadn): Likewise.
57168         * stdio-common/tst-put-error.c: Add copyright notice.
57169         (do_test): Add case for printing padded string.
57170         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
57171         _IO_padn returned error.
57172         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
57173         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
57174         return EOF.
57176 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
57178         * libio/libioP.h: Add comment note that the references to C++
57179         bits are now obsolete.
57181 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57183         * math/libm-test.inc (check_complex): Use asprintf.
57185 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
57187         * debug/pcprofiledump.c (print_version): Update copyright year.
57188         * malloc/memusagestat.c (print_version): Likewise.
57190 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
57192         [BZ #14831]
57193         * elf/Makefile (tests): Add tst-audit8.
57194         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
57195         ($(objpfx)tst-audit8.out): New target.
57196         (tst-audit8-ENV): New variable.
57197         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
57198         audit if l_reloc_result is NULL.
57199         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
57200         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
57201         * elf/tst-audit8.c: New file.
57203 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57205         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
57206         * misc/Makefile (CFLAGS-select.c): Define.
57207         * posix/Makefile (CFLAGS-pause.c): Define.
57209 2012-11-13  David S. Miller  <davem@davemloft.net>
57211         * crypt/Makefile: Move test targets after toplevel Rules
57212         inclusion.  Grab any necessary sysdep routines when linking.
57213         * crypt/md5.c (md5_process_block): Remove define, we will always
57214         name it __md5_process_block.
57215         (md5_finish_ctx): Update md5_process_block call.
57216         (md5_stream): Likewise.
57217         (md5_process_bytes): Likewise.
57218         (md5_process_block): Rename to __md5_process_block and move to ...
57219         * crypt/md5-block.c: ... here.
57220         * crypt/sha256.c (sha256_process_block): Move to ...
57221         * crypt/sha256-block.c: ... here.
57222         * crypt/sha512.c (sha512_process_block): Move to ...
57223         * crypt/sha512-block.c: ... here.
57224         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
57225         path.
57226         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
57227         * sysdeps/sparc/sparc64/multiarch/Makefile
57228         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
57229         crypt subdir.
57230         (localedef-aux): Add md5 crypto assembler when in locale subdir.
57231         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
57232         multiarch changes.
57233         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
57234         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
57235         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
57236         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
57237         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
57238         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
57239         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
57240         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
57241         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
57242         file.
57243         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
57244         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
57245         file.
57246         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
57248 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
57250         * timezone/tzselect.ksh: Update from tzcode git revision
57251         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
57252         * timezone/zdump.c: Likewise.
57253         * timezone/zic.c: Likewise.
57254         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
57255         in TZVERSION setting, not $(PKGVERSION).
57256         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
57257         REPORT_BUGS_TO settings.
57259         [BZ #14838]
57260         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
57261         macro.
57263 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57265         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
57266         detection to immediately after _FP_ROUND().
57267         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
57268         bits are 0.
57270 2012-11-11  David S. Miller  <davem@davemloft.net>
57272         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
57273         inttypes.h
57274         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
57275         __close rather than their public counterparts.
57277 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
57279         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
57280         file.
57281         [UNIX98] (sem_timedwait): Do not expect.
57282         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
57283         [XPG4 || UNIX98] (sockatmark): Do not expect.
57284         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
57285         (clock_getcpuclockid): Do not expect.
57286         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
57287         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
57288         Do not expect.
57289         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
57290         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
57291         [UNIX98] (vwscanf): Likewise.
57292         [UNIX98] (vswscanf): Likewise.
57294 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
57296         * timezone/version.h: Remove file.
57297         * timezone/README: Do not refer to version.h.
57298         * timezone/Makefile ($(objpfx)zic.o): New dependency on
57299         $(objpfx)version.h.
57300         ($(objpfx)zdump.o): Likewise.
57301         ($(objpfx)version.h): New target.
57303         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
57304         2012i.
57305         * timezone/README: Don't mention modification to tzselect.ksh.
57306         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
57307         work on unmodified tzselect.ksh.  Substitute version numbers in
57308         tzselect.ksh.
57310         * Makefile (format-me): Remove.
57311         (INSTALL): Adjust indentation.  Use commands directly instead of
57312         using $(format-me).
57314         * aclocal.m4 (ACX_PKGVERSION): New macro.
57315         (ACX_BUGURL): Likewise.
57316         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
57317         (PKGVERSION): New AC_DEFINE_UNQUOTED.
57318         (REPORT_BUGS_TO): Likewise.
57319         * configure: Regenerated.
57320         * config.h.in (PKGVERSION): New macro.
57321         (REPORT_BUGS_TO): Likewise.
57322         * config.make.in (PKGVERSION): New variable.
57323         (PKGVERSION_TEXI): Likewise.
57324         (REPORT_BUGS_TO): Likewise.
57325         (REPORT_BUGS_TEXI): Likewise.
57326         * Makefile (format-me): Use -I$(common-objpfx)manual.
57327         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
57328         ($(common-objpfx)manual/%): New target.
57329         (manual/%): Remove target.
57330         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
57331         (print_version): Use PKGVERSION.
57332         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
57333         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
57334         and REPORT_BUGS_TO.
57335         ($(objpfx)xtrace): Likewise.
57336         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
57337         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
57338         (print_version): Use PKGVERSION.
57339         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
57340         (do_version): Use PKGVERSION.
57341         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
57342         REPORT_BUGS_TO.
57343         (common-ldd-rewrite): Likewise.
57344         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
57345         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
57346         (print_version): Use PKGVERSION.
57347         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
57348         * elf/pldd.c (argp_program_bug_address): Remove variable.
57349         (more_help): New function.
57350         (argp): Use more_help.
57351         (print_version): Use PKGVERSION.
57352         * elf/sln.c (main): Use PKGVERSION.
57353         (usage): Use REPORT_BUGS_TO.
57354         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
57355         (top level): Use PKGVERSION.
57356         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
57357         (print_version): Use PKGVERSION.
57358         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
57359         (print_version): Use PKGVERSION.
57360         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
57361         (print_version): Use PKGVERSION.
57362         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
57363         (print_version): Use PKGVERSION.
57364         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
57365         (print_version): Use PKGVERSION.
57366         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
57367         (print_version): Use PKGVERSION.
57368         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
57369         and BUGURL.
57370         ($(objpfx)memusage): Likewise.
57371         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
57372         (do_version): Use PKGVERSION.
57373         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
57374         (print_version): Use PKGVERSION.
57375         * malloc/mtrace.pl ($PACKAGE): Remove variable.
57376         ($PKGVERSION): New variable.
57377         ($REPORT_BUGS_TO): Likewise.
57378         (usage): Use $REPORT_BUGS_TO.
57379         (top level): Use $PKGVERSION.
57380         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
57381         ($(objpfx)pkgvers.texi): New rule.
57382         ($(objpfx)stamp-pkgvers): Likewise.
57383         * manual/install.texi: Include pkgvers.texi.
57384         (--with-pkgversion): Document new configure option.
57385         (--with-bugurl): Likewise.
57386         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
57387         than necessarily for this particular distribution.  Use
57388         REPORT_BUGS_TO for where to report bugs.
57389         * INSTALL: Regenerated.
57390         * manual/libc.texinfo: Include pkgvers.texi.
57391         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
57392         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
57393         (print_version): Use PKGVERSION.
57394         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
57395         (print_version): Use PKGVERSION.
57396         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
57397         (print_version): Use PKGVERSION.
57398         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
57399         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
57400         macro.
57401         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
57402         (print_version): Use PKGVERSION.
57403         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
57404         (print_version): Use PKGVERSION.
57405         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
57406         and PKGVERSION.
57408         * timezone/checktab.awk: Update from tzcode 2012i.
57409         * timezone/ialloc.c: Likewise.
57410         * timezone/private.h: Likewise.
57411         * timezone/scheck.c: Likewise.
57412         * timezone/tzfile.h: Likewise.
57413         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
57414         (TZVERSION): Hardcode tzcode version number.
57415         * timezone/zdump.c: Update from tzcode 2012i.
57416         * timezone/zic.c: Likewise.
57417         * timezone/version.h: New file.
57418         * timezone/README: Describe version.h.  Update upstream location.
57420         [BZ #14824]
57421         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
57422         (mktemp): Enable declaration.
57423         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
57424         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
57425         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
57426         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
57427         Likewise.
57428         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
57429         Likewise.
57430         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
57431         Likewise.
57432         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
57433         Likewise.
57434         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
57435         Likewise.
57436         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
57437         Likewise.
57439         [BZ #14821]
57440         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
57441         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
57442         for copies of such integer values.
57443         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
57444         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
57446 2012-11-09  Andreas Jaeger  <aj@suse.de>
57448         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
57449         definitions and declarations that are provided by
57450         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
57452 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57454         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
57455         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
57456         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
57457         definition.
57459 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57461         * elf/elf.h: Update comment before AArch64 relocations.
57463 2012-11-07  David S. Miller  <davem@davemloft.net>
57465         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
57466         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
57467         (__start_context): Declare.
57468         (__makecontext_ret): Delete.
57469         (__makecontext): Hook up __start_context instead of
57470         __makecontext_ret.
57471         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
57472         (sysdep_routines): Add __start_context when in stdlib.
57474 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57476         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
57477         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
57478         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
57479         hardcoded "nm".
57480         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
57481         (READELF): New variable.  Use it instead of hardcoded "readelf".
57483 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
57485         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
57486         * sysdeps/x86/Makefile: Here.
57487         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
57488         * sysdeps/x86/tst-xmmymm.sh: This.
57490 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57492         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
57493         expectations.
57494         [UNIX98] (pthread_barrier_t): Do not expect.
57495         [UNIX98] (pthread_barrierattr_t): Likewise.
57496         [UNIX98] (pthread_spinlock_t): Likewise.
57497         [UNIX98] (pthread_barrier_destroy): Likewise.
57498         [UNIX98] (pthread_barrier_init): Likewise.
57499         [UNIX98] (pthread_barrier_wait): Likewise.
57500         [UNIX98] (pthread_barrierattr_destroy): Likewise.
57501         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
57502         [UNIX98] (pthread_barrierattr_init): Likewise.
57503         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
57504         [UNIX98] (pthread_getcpuclockid): Likewise.
57505         [UNIX98] (pthread_mutex_timedlock): Likewise.
57506         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
57507         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
57508         [UNIX98] (pthread_sigmask): Likewise.
57509         [UNIX98] (pthread_spin_destroy): Likewise.
57510         [UNIX98] (pthread_spin_init): Likewise.
57511         [UNIX98] (pthread_spin_lock): Likewise.
57512         [UNIX98] (pthread_spin_trylock): Likewise.
57513         [UNIX98] (pthread_spin_unlock): Likewise.
57514         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
57515         Do not expect.
57516         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
57517         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
57518         [XPG3 || XPG4] (pthread_cond_t): Likewise.
57519         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
57520         [XPG3 || XPG4] (pthread_key_t): Likewise.
57521         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
57522         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
57523         [XPG3 || XPG4] (pthread_once_t): Likewise.
57524         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
57525         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
57526         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
57527         [XPG3 || XPG4] (pthread_t): Likewise.
57529         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
57530         not expect.
57531         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
57533         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
57534         Change function return type to int.
57536         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
57537         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
57538         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
57539         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
57540         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
57541         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
57542         [!POSIX] (posix_madvise): Likewise.
57543         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
57544         && !UNIX98].
57545         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
57546         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
57547         (mode_t): Likewise.
57548         (posix_mem_offset): Likewise.
57549         (posix_typed_mem_get_info): Likewise.
57550         (posix_typed_mem_open): Likewise.
57552         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
57553         Change condition to [XOPEN2K8].
57555         * conform/conformtest.pl: Preprocess allow-header data with -x c
57556         instead of from stdin.
57557         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
57558         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
57559         [C99-based standards] (cerfc): Likewise.
57560         [C99-based standards] (cexp2): Likewise.
57561         [C99-based standards] (cexpm1): Likewise.
57562         [C99-based standards] (clog10): Likewise.
57563         [C99-based standards] (clog1p): Likewise.
57564         [C99-based standards] (clog2): Likewise.
57565         [C99-based standards] (clgamma): Likewise.
57566         [C99-based standards] (ctgamma): Likewise.
57567         [C99-based standards] (cerff): Likewise.
57568         [C99-based standards] (cerfcf): Likewise.
57569         [C99-based standards] (cexp2f): Likewise.
57570         [C99-based standards] (cexpm1f): Likewise.
57571         [C99-based standards] (clog10f): Likewise.
57572         [C99-based standards] (clog1pf): Likewise.
57573         [C99-based standards] (clog2f): Likewise.
57574         [C99-based standards] (clgammaf): Likewise.
57575         [C99-based standards] (ctgammaf): Likewise.
57576         [C99-based standards] (cerfl): Likewise.
57577         [C99-based standards] (cerfcl): Likewise.
57578         [C99-based standards] (cexp2l): Likewise.
57579         [C99-based standards] (cexpm1l): Likewise.
57580         [C99-based standards] (clog10l): Likewise.
57581         [C99-based standards] (clog1pl): Likewise.
57582         [C99-based standards] (clog2l): Likewise.
57583         [C99-based standards] (clgammal): Likewise.
57584         [C99-based standards] (ctgammal): Likewise.
57585         * conform/data/inttypes.h-data [C99-based standards]: Include
57586         stdint.h-data.  Remove all expectations for stdint.h contents.
57587         [C99-based standards] (PRI*): Do not allow.
57588         [C99-based standards] (SCN*): Likewise.
57589         [C99-based standards] (*_t): Likewise.
57590         [C99-based-standards] (PRId8): Expect macro.
57591         [C99-based-standards] (PRIi8): Likewise.
57592         [C99-based-standards] (PRIo8): Likewise.
57593         [C99-based-standards] (PRIu8): Likewise.
57594         [C99-based-standards] (PRIx8): Likewise.
57595         [C99-based-standards] (PRIX8): Likewise.
57596         [C99-based-standards] (SCNd8): Likewise.
57597         [C99-based-standards] (SCNi8): Likewise.
57598         [C99-based-standards] (SCNo8): Likewise.
57599         [C99-based-standards] (SCNu8): Likewise.
57600         [C99-based-standards] (SCNx8): Likewise.
57601         [C99-based-standards] (PRIdLEAST8): Likewise.
57602         [C99-based-standards] (PRIiLEAST8): Likewise.
57603         [C99-based-standards] (PRIoLEAST8): Likewise.
57604         [C99-based-standards] (PRIuLEAST8): Likewise.
57605         [C99-based-standards] (PRIxLEAST8): Likewise.
57606         [C99-based-standards] (PRIXLEAST8): Likewise.
57607         [C99-based-standards] (SCNdLEAST8): Likewise.
57608         [C99-based-standards] (SCNiLEAST8): Likewise.
57609         [C99-based-standards] (SCNoLEAST8): Likewise.
57610         [C99-based-standards] (SCNuLEAST8): Likewise.
57611         [C99-based-standards] (SCNxLEAST8): Likewise.
57612         [C99-based-standards] (PRIdFAST8): Likewise.
57613         [C99-based-standards] (PRIiFAST8): Likewise.
57614         [C99-based-standards] (PRIoFAST8): Likewise.
57615         [C99-based-standards] (PRIuFAST8): Likewise.
57616         [C99-based-standards] (PRIxFAST8): Likewise.
57617         [C99-based-standards] (PRIXFAST8): Likewise.
57618         [C99-based-standards] (SCNdFAST8): Likewise.
57619         [C99-based-standards] (SCNiFAST8): Likewise.
57620         [C99-based-standards] (SCNoFAST8): Likewise.
57621         [C99-based-standards] (SCNuFAST8): Likewise.
57622         [C99-based-standards] (SCNxFAST8): Likewise.
57623         [C99-based-standards] (PRId16): Likewise.
57624         [C99-based-standards] (PRIi16): Likewise.
57625         [C99-based-standards] (PRIo16): Likewise.
57626         [C99-based-standards] (PRIu16): Likewise.
57627         [C99-based-standards] (PRIx16): Likewise.
57628         [C99-based-standards] (PRIX16): Likewise.
57629         [C99-based-standards] (SCNd16): Likewise.
57630         [C99-based-standards] (SCNi16): Likewise.
57631         [C99-based-standards] (SCNo16): Likewise.
57632         [C99-based-standards] (SCNu16): Likewise.
57633         [C99-based-standards] (SCNx16): Likewise.
57634         [C99-based-standards] (PRIdLEAST16): Likewise.
57635         [C99-based-standards] (PRIiLEAST16): Likewise.
57636         [C99-based-standards] (PRIoLEAST16): Likewise.
57637         [C99-based-standards] (PRIuLEAST16): Likewise.
57638         [C99-based-standards] (PRIxLEAST16): Likewise.
57639         [C99-based-standards] (PRIXLEAST16): Likewise.
57640         [C99-based-standards] (SCNdLEAST16): Likewise.
57641         [C99-based-standards] (SCNiLEAST16): Likewise.
57642         [C99-based-standards] (SCNoLEAST16): Likewise.
57643         [C99-based-standards] (SCNuLEAST16): Likewise.
57644         [C99-based-standards] (SCNxLEAST16): Likewise.
57645         [C99-based-standards] (PRIdFAST16): Likewise.
57646         [C99-based-standards] (PRIiFAST16): Likewise.
57647         [C99-based-standards] (PRIoFAST16): Likewise.
57648         [C99-based-standards] (PRIuFAST16): Likewise.
57649         [C99-based-standards] (PRIxFAST16): Likewise.
57650         [C99-based-standards] (PRIXFAST16): Likewise.
57651         [C99-based-standards] (SCNdFAST16): Likewise.
57652         [C99-based-standards] (SCNiFAST16): Likewise.
57653         [C99-based-standards] (SCNoFAST16): Likewise.
57654         [C99-based-standards] (SCNuFAST16): Likewise.
57655         [C99-based-standards] (SCNxFAST16): Likewise.
57656         [C99-based-standards] (PRId32): Likewise.
57657         [C99-based-standards] (PRIi32): Likewise.
57658         [C99-based-standards] (PRIo32): Likewise.
57659         [C99-based-standards] (PRIu32): Likewise.
57660         [C99-based-standards] (PRIx32): Likewise.
57661         [C99-based-standards] (PRIX32): Likewise.
57662         [C99-based-standards] (SCNd32): Likewise.
57663         [C99-based-standards] (SCNi32): Likewise.
57664         [C99-based-standards] (SCNo32): Likewise.
57665         [C99-based-standards] (SCNu32): Likewise.
57666         [C99-based-standards] (SCNx32): Likewise.
57667         [C99-based-standards] (PRIdLEAST32): Likewise.
57668         [C99-based-standards] (PRIiLEAST32): Likewise.
57669         [C99-based-standards] (PRIoLEAST32): Likewise.
57670         [C99-based-standards] (PRIuLEAST32): Likewise.
57671         [C99-based-standards] (PRIxLEAST32): Likewise.
57672         [C99-based-standards] (PRIXLEAST32): Likewise.
57673         [C99-based-standards] (SCNdLEAST32): Likewise.
57674         [C99-based-standards] (SCNiLEAST32): Likewise.
57675         [C99-based-standards] (SCNoLEAST32): Likewise.
57676         [C99-based-standards] (SCNuLEAST32): Likewise.
57677         [C99-based-standards] (SCNxLEAST32): Likewise.
57678         [C99-based-standards] (PRIdFAST32): Likewise.
57679         [C99-based-standards] (PRIiFAST32): Likewise.
57680         [C99-based-standards] (PRIoFAST32): Likewise.
57681         [C99-based-standards] (PRIuFAST32): Likewise.
57682         [C99-based-standards] (PRIxFAST32): Likewise.
57683         [C99-based-standards] (PRIXFAST32): Likewise.
57684         [C99-based-standards] (SCNdFAST32): Likewise.
57685         [C99-based-standards] (SCNiFAST32): Likewise.
57686         [C99-based-standards] (SCNoFAST32): Likewise.
57687         [C99-based-standards] (SCNuFAST32): Likewise.
57688         [C99-based-standards] (SCNxFAST32): Likewise.
57689         [C99-based-standards] (PRId64): Likewise.
57690         [C99-based-standards] (PRIi64): Likewise.
57691         [C99-based-standards] (PRIo64): Likewise.
57692         [C99-based-standards] (PRIu64): Likewise.
57693         [C99-based-standards] (PRIx64): Likewise.
57694         [C99-based-standards] (PRIX64): Likewise.
57695         [C99-based-standards] (SCNd64): Likewise.
57696         [C99-based-standards] (SCNi64): Likewise.
57697         [C99-based-standards] (SCNo64): Likewise.
57698         [C99-based-standards] (SCNu64): Likewise.
57699         [C99-based-standards] (SCNx64): Likewise.
57700         [C99-based-standards] (PRIdLEAST64): Likewise.
57701         [C99-based-standards] (PRIiLEAST64): Likewise.
57702         [C99-based-standards] (PRIoLEAST64): Likewise.
57703         [C99-based-standards] (PRIuLEAST64): Likewise.
57704         [C99-based-standards] (PRIxLEAST64): Likewise.
57705         [C99-based-standards] (PRIXLEAST64): Likewise.
57706         [C99-based-standards] (SCNdLEAST64): Likewise.
57707         [C99-based-standards] (SCNiLEAST64): Likewise.
57708         [C99-based-standards] (SCNoLEAST64): Likewise.
57709         [C99-based-standards] (SCNuLEAST64): Likewise.
57710         [C99-based-standards] (SCNxLEAST64): Likewise.
57711         [C99-based-standards] (PRIdFAST64): Likewise.
57712         [C99-based-standards] (PRIiFAST64): Likewise.
57713         [C99-based-standards] (PRIoFAST64): Likewise.
57714         [C99-based-standards] (PRIuFAST64): Likewise.
57715         [C99-based-standards] (PRIxFAST64): Likewise.
57716         [C99-based-standards] (PRIXFAST64): Likewise.
57717         [C99-based-standards] (SCNdFAST64): Likewise.
57718         [C99-based-standards] (SCNiFAST64): Likewise.
57719         [C99-based-standards] (SCNoFAST64): Likewise.
57720         [C99-based-standards] (SCNuFAST64): Likewise.
57721         [C99-based-standards] (SCNxFAST64): Likewise.
57722         [C99-based-standards] (PRIdMAX): Likewise.
57723         [C99-based-standards] (PRIiMAX): Likewise.
57724         [C99-based-standards] (PRIoMAX): Likewise.
57725         [C99-based-standards] (PRIuMAX): Likewise.
57726         [C99-based-standards] (PRIxMAX): Likewise.
57727         [C99-based-standards] (PRIXMAX): Likewise.
57728         [C99-based-standards] (SCNdMAX): Likewise.
57729         [C99-based-standards] (SCNiMAX): Likewise.
57730         [C99-based-standards] (SCNoMAX): Likewise.
57731         [C99-based-standards] (SCNuMAX): Likewise.
57732         [C99-based-standards] (SCNxMAX): Likewise.
57733         [C99-based-standards] (PRIdPTR): Likewise.
57734         [C99-based-standards] (PRIiPTR): Likewise.
57735         [C99-based-standards] (PRIoPTR): Likewise.
57736         [C99-based-standards] (PRIuPTR): Likewise.
57737         [C99-based-standards] (PRIxPTR): Likewise.
57738         [C99-based-standards] (PRIXPTR): Likewise.
57739         [C99-based-standards] (SCNdPTR): Likewise.
57740         [C99-based-standards] (SCNiPTR): Likewise.
57741         [C99-based-standards] (SCNoPTR): Likewise.
57742         [C99-based-standards] (SCNuPTR): Likewise.
57743         [C99-based-standards] (SCNxPTR): Likewise.
57744         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
57745         allow.
57746         * conform/data/stdint.h-data: Update comments to clarify
57747         requirements.
57748         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
57749         type.
57750         [C99-based standards] (INT8_MAX): Likewise.
57751         [C99-based standards] (INT16_MIN): Likewise.
57752         [C99-based standards] (INT16_MAX): Likewise.
57753         [C99-based standards] (INT32_MIN): Likewise.
57754         [C99-based standards] (INT32_MAX): Likewise.
57755         [C99-based standards] (INT64_MIN): Likewise.
57756         [C99-based standards] (INT64_MAX): Likewise.
57757         [C99-based standards] (UINT8_MAX): Likewise.
57758         [C99-based standards] (UINT16_MAX): Likewise.
57759         [C99-based standards] (UINT32_MAX): Likewise.
57760         [C99-based standards] (UINT64_MAX): Likewise.
57761         [C99-based standards] (INT_LEAST8_MIN): Likewise.
57762         [C99-based standards] (INT_LEAST8_MAX): Likewise.
57763         [C99-based standards] (INT_LEAST16_MIN): Likewise.
57764         [C99-based standards] (INT_LEAST16_MAX): Likewise.
57765         [C99-based standards] (INT_LEAST32_MIN): Likewise.
57766         [C99-based standards] (INT_LEAST32_MAX): Likewise.
57767         [C99-based standards] (INT_LEAST64_MIN): Likewise.
57768         [C99-based standards] (INT_LEAST64_MAX): Likewise.
57769         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
57770         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
57771         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
57772         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
57773         [C99-based standards] (INT_FAST8_MIN): Likewise.
57774         [C99-based standards] (INT_FAST8_MAX): Likewise.
57775         [C99-based standards] (INT_FAST16_MIN): Likewise.
57776         [C99-based standards] (INT_FAST16_MAX): Likewise.
57777         [C99-based standards] (INT_FAST32_MIN): Likewise.
57778         [C99-based standards] (INT_FAST32_MAX): Likewise.
57779         [C99-based standards] (INT_FAST64_MIN): Likewise.
57780         [C99-based standards] (INT_FAST64_MAX): Likewise.
57781         [C99-based standards] (UINT_FAST8_MAX): Likewise.
57782         [C99-based standards] (UINT_FAST16_MAX): Likewise.
57783         [C99-based standards] (UINT_FAST32_MAX): Likewise.
57784         [C99-based standards] (UINT_FAST64_MAX): Likewise.
57785         [C99-based standards] (INTPTR_MIN): Likewise.
57786         [C99-based standards] (INTPTR_MAX): Likewise.
57787         [C99-based standards] (UINTPTR_MAX): Likewise.
57788         [C99-based standards] (INTMAX_MIN): Likewise.
57789         [C99-based standards] (INTMAX_MAX): Likewise.
57790         [C99-based standards] (UINTMAX_MAX): Likewise.
57791         [C99-based standards] (PTRDIFF_MIN): Likewise.
57792         [C99-based standards] (PTRDIFF_MAX): Likewise.
57793         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
57794         [C99-based standards] (SIZE_MAX): Likewise.
57795         [C99-based standards] (WCHAR_MAX): Likewise.
57796         [C99-based standards] (WINT_MAX): Likewise.
57797         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
57798         constraint on value.
57799         [C99-based standards] (WCHAR_MIN): Likewise.
57800         [C99-based standards] (WINT_MIN): Likewise.
57801         [C99-based standards] (*_t): Allow.
57802         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
57803         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
57804         Include math.h-data and complex.h-data.  Remove all expectations
57805         of math.h and complex.h contents.
57806         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
57807         at end of line.
57808         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
57809         (struct tm): Expect tag.
57810         [C99-based-standards] (wcstof): Expect function.
57811         [C99-based-standards] (wcstold): Likewise.
57812         [C99-based-standards] (wcstoll): Likewise.
57813         [C99-based-standards] (wcstoull): Likewise.
57814         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
57815         macro-int-constant.  Specify type.
57816         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
57817         constraint on value.
57818         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57819         Specify type.
57820         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
57821         Specify value.
57822         [ISO C standards]: Do not allow headers.
57823         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
57824         wcs[abcdefghijklmnopqrstuvwxyz]*.
57825         [ISO C standards] (*_t): Do not allow.
57826         * conform/data/wctype.h-data [C99-based standards] (iswblank):
57827         Expect function.
57828         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
57829         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
57830         Specify type.
57831         [ISO C standards]: Do not allow headers.
57832         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
57833         is[abcdefghijklmnopqrstuvwxyz]*.
57834         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
57835         to[abcdefghijklmnopqrstuvwxyz]*.
57836         [ISO C standards] (*_t): Do not allow.
57837         * conform/data/stdalign.h-data: New file.
57838         * conform/data/stdbool.h-data: Likewise.
57839         * conform/data/stdnoreturn.h-data: Likewise.
57841 2012-11-07  Roland McGrath  <roland@hack.frob.com>
57843         [BZ #14815]
57844         * manual/filesys.texi (Directory Entries): Typo fix.
57845         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
57847 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
57849         * elf/elf.h (EM_AARCH64): New macro.
57850         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
57851         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
57852         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
57853         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
57854         (R_AARCH64_TLSDESC): Likewise.
57855         (NT_ARM_TLS): Likewise.
57856         (NT_ARM_HW_BREAK): Likewise.
57857         (NT_ARM_HW_WATCH): Likewise.
57859 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57861         [BZ #14811]
57862         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
57863         (__ieee754_powl): Saturate nonzero exponents with absolute value
57864         below 0x1p-79 to +/- 0x1p-79.
57865         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
57866         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
57867         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
57868         nonzero exponents with absolute value below 0x1p-32 to +/-
57869         0x1p-32.
57870         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
57871         (__ieee754_powl): Saturate nonzero exponents with absolute value
57872         below 0x1p-79 to +/- 0x1p-79.
57873         * math/libm-test.inc (pow_test): Add more tests.
57875 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57877         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
57878         _dl_s390_cap_flags with kernel. Increase string length.
57879         (_dl_s390_platforms): Add z196 and zEC12.
57881 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
57883         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
57884         Change XOPEN21K to XOPEN2K.
57886 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
57888         * string/memmove.c: Use memcpy when possible.
57890 2012-11-06  Andreas Jaeger  <aj@suse.de>
57892         * po/eo.po: Update from translation team.
57894 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
57896         [BZ #14793]
57897         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
57898         exponent and small x and y exponents, scale x or y up.  Increase
57899         by 2 the exponent used in scaling up.
57900         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57901         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57902         * math/libm-test.inc (fma_test): Add more tests.
57903         (fma_test_towardzero): Likewise.
57904         (fma_test_downward): Likewise.
57905         (fma_test_upward): Likewise.
57907 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
57909         [BZ #14805]
57910         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
57911         fenv_t *.
57913         [BZ #14801]
57914         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
57915         namespace for names of struct fields.
57916         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
57917         fenv_t fields.
57918         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
57919         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
57921 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
57923         [BZ #3665]
57924         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
57926 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57928         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
57929         PTR_DEMANGLE.
57931         [BZ #5246]
57932         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
57933         PTR_DEMANGLE.
57935 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
57937         [BZ #14797]
57938         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
57939         definitely overflow as x * y not x * y + z.
57940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
57941         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
57942         * math/libm-test.inc (fma_test): Add more tests.
57943         (fma_test_towardzero): Likewise.
57944         (fma_test_downward): Likewise.
57945         (fma_test_upward): Likewise.
57947 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
57949         [BZ #157]
57951         * include/stub-tag.h: Remove file.
57952         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
57953         '#include' of it.
57954         * manual/maint.texi (Porting): Don't reference it.
57955         * Makerules ($(objpfx)stubs): Likewise.
57956         * dirent/closedir.c: Don't include <stub-tag.h>.
57957         * dirent/dirfd.c: Likewise.
57958         * dirent/fdopendir.c: Likewise.
57959         * dirent/getdents.c: Likewise.
57960         * dirent/getdents64.c: Likewise.
57961         * dirent/opendir.c: Likewise.
57962         * dirent/readdir.c: Likewise.
57963         * dirent/readdir64.c: Likewise.
57964         * dirent/readdir64_r.c: Likewise.
57965         * dirent/readdir_r.c: Likewise.
57966         * dirent/rewinddir.c: Likewise.
57967         * dirent/seekdir.c: Likewise.
57968         * dirent/telldir.c: Likewise.
57969         * gmon/profil.c: Likewise.
57970         * grp/setgroups.c: Likewise.
57971         * inet/if_index.c: Likewise.
57972         * io/access.c: Likewise.
57973         * io/chdir.c: Likewise.
57974         * io/chmod.c: Likewise.
57975         * io/chown.c: Likewise.
57976         * io/close.c: Likewise.
57977         * io/dup.c: Likewise.
57978         * io/dup2.c: Likewise.
57979         * io/dup3.c: Likewise.
57980         * io/euidaccess.c: Likewise.
57981         * io/faccessat.c: Likewise.
57982         * io/fchdir.c: Likewise.
57983         * io/fchmod.c: Likewise.
57984         * io/fchmodat.c: Likewise.
57985         * io/fchown.c: Likewise.
57986         * io/fchownat.c: Likewise.
57987         * io/fcntl.c: Likewise.
57988         * io/flock.c: Likewise.
57989         * io/fstatfs.c: Likewise.
57990         * io/fstatfs64.c: Likewise.
57991         * io/fstatvfs.c: Likewise.
57992         * io/fstatvfs64.c: Likewise.
57993         * io/futimens.c: Likewise.
57994         * io/fxstat.c: Likewise.
57995         * io/fxstat64.c: Likewise.
57996         * io/fxstatat.c: Likewise.
57997         * io/fxstatat64.c: Likewise.
57998         * io/getcwd.c: Likewise.
57999         * io/isatty.c: Likewise.
58000         * io/lchmod.c: Likewise.
58001         * io/lchown.c: Likewise.
58002         * io/link.c: Likewise.
58003         * io/linkat.c: Likewise.
58004         * io/lseek.c: Likewise.
58005         * io/lseek64.c: Likewise.
58006         * io/lxstat64.c: Likewise.
58007         * io/mkdir.c: Likewise.
58008         * io/mkdirat.c: Likewise.
58009         * io/mkfifo.c: Likewise.
58010         * io/mkfifoat.c: Likewise.
58011         * io/open.c: Likewise.
58012         * io/open64.c: Likewise.
58013         * io/openat.c: Likewise.
58014         * io/openat64.c: Likewise.
58015         * io/pipe.c: Likewise.
58016         * io/pipe2.c: Likewise.
58017         * io/poll.c: Likewise.
58018         * io/posix_fadvise.c: Likewise.
58019         * io/posix_fadvise64.c: Likewise.
58020         * io/posix_fallocate.c: Likewise.
58021         * io/posix_fallocate64.c: Likewise.
58022         * io/read.c: Likewise.
58023         * io/readlink.c: Likewise.
58024         * io/readlinkat.c: Likewise.
58025         * io/rmdir.c: Likewise.
58026         * io/sendfile.c: Likewise.
58027         * io/sendfile64.c: Likewise.
58028         * io/statfs.c: Likewise.
58029         * io/statfs64.c: Likewise.
58030         * io/statvfs.c: Likewise.
58031         * io/statvfs64.c: Likewise.
58032         * io/symlink.c: Likewise.
58033         * io/symlinkat.c: Likewise.
58034         * io/ttyname.c: Likewise.
58035         * io/ttyname_r.c: Likewise.
58036         * io/umask.c: Likewise.
58037         * io/unlink.c: Likewise.
58038         * io/unlinkat.c: Likewise.
58039         * io/utime.c: Likewise.
58040         * io/utimensat.c: Likewise.
58041         * io/write.c: Likewise.
58042         * io/xmknod.c: Likewise.
58043         * io/xmknodat.c: Likewise.
58044         * io/xstat.c: Likewise.
58045         * io/xstat64.c: Likewise.
58046         * login/getpt.c: Likewise.
58047         * login/grantpt.c: Likewise.
58048         * login/unlockpt.c: Likewise.
58049         * math/e_acoshl.c: Likewise.
58050         * math/e_acosl.c: Likewise.
58051         * math/e_asinl.c: Likewise.
58052         * math/e_atan2l.c: Likewise.
58053         * math/e_atanhl.c: Likewise.
58054         * math/e_coshl.c: Likewise.
58055         * math/e_expl.c: Likewise.
58056         * math/e_fmodl.c: Likewise.
58057         * math/e_gammal_r.c: Likewise.
58058         * math/e_hypotl.c: Likewise.
58059         * math/e_j0l.c: Likewise.
58060         * math/e_j1l.c: Likewise.
58061         * math/e_jnl.c: Likewise.
58062         * math/e_lgammal_r.c: Likewise.
58063         * math/e_log10l.c: Likewise.
58064         * math/e_log2l.c: Likewise.
58065         * math/e_logl.c: Likewise.
58066         * math/e_powl.c: Likewise.
58067         * math/e_rem_pio2l.c: Likewise.
58068         * math/e_sinhl.c: Likewise.
58069         * math/e_sqrtl.c: Likewise.
58070         * math/fclrexcpt.c: Likewise.
58071         * math/fedisblxcpt.c: Likewise.
58072         * math/feenablxcpt.c: Likewise.
58073         * math/fegetenv.c: Likewise.
58074         * math/fegetexcept.c: Likewise.
58075         * math/fegetround.c: Likewise.
58076         * math/feholdexcpt.c: Likewise.
58077         * math/fesetenv.c: Likewise.
58078         * math/fesetround.c: Likewise.
58079         * math/feupdateenv.c: Likewise.
58080         * math/fgetexcptflg.c: Likewise.
58081         * math/fraiseexcpt.c: Likewise.
58082         * math/fsetexcptflg.c: Likewise.
58083         * math/ftestexcept.c: Likewise.
58084         * math/k_cosl.c: Likewise.
58085         * math/k_rem_pio2l.c: Likewise.
58086         * math/k_sinl.c: Likewise.
58087         * math/k_tanl.c: Likewise.
58088         * math/s_asinhl.c: Likewise.
58089         * math/s_atanl.c: Likewise.
58090         * math/s_cbrtl.c: Likewise.
58091         * math/s_erfl.c: Likewise.
58092         * math/s_expm1l.c: Likewise.
58093         * math/s_log1pl.c: Likewise.
58094         * math/s_tanhl.c: Likewise.
58095         * misc/acct.c: Likewise.
58096         * misc/brk.c: Likewise.
58097         * misc/chflags.c: Likewise.
58098         * misc/chroot.c: Likewise.
58099         * misc/fchflags.c: Likewise.
58100         * misc/fgetxattr.c: Likewise.
58101         * misc/flistxattr.c: Likewise.
58102         * misc/fremovexattr.c: Likewise.
58103         * misc/fsetxattr.c: Likewise.
58104         * misc/fsync.c: Likewise.
58105         * misc/ftruncate.c: Likewise.
58106         * misc/futimes.c: Likewise.
58107         * misc/futimesat.c: Likewise.
58108         * misc/getdomain.c: Likewise.
58109         * misc/getdtsz.c: Likewise.
58110         * misc/gethostid.c: Likewise.
58111         * misc/gethostname.c: Likewise.
58112         * misc/getloadavg.c: Likewise.
58113         * misc/getpagesize.c: Likewise.
58114         * misc/getsysstats.c: Likewise.
58115         * misc/getxattr.c: Likewise.
58116         * misc/gtty.c: Likewise.
58117         * misc/ioctl.c: Likewise.
58118         * misc/lgetxattr.c: Likewise.
58119         * misc/listxattr.c: Likewise.
58120         * misc/llistxattr.c: Likewise.
58121         * misc/lremovexattr.c: Likewise.
58122         * misc/lsetxattr.c: Likewise.
58123         * misc/lutimes.c: Likewise.
58124         * misc/madvise.c: Likewise.
58125         * misc/mincore.c: Likewise.
58126         * misc/mlock.c: Likewise.
58127         * misc/mlockall.c: Likewise.
58128         * misc/mmap.c: Likewise.
58129         * misc/mprotect.c: Likewise.
58130         * misc/msync.c: Likewise.
58131         * misc/munlock.c: Likewise.
58132         * misc/munlockall.c: Likewise.
58133         * misc/munmap.c: Likewise.
58134         * misc/preadv.c: Likewise.
58135         * misc/preadv64.c: Likewise.
58136         * misc/ptrace.c: Likewise.
58137         * misc/pwritev.c: Likewise.
58138         * misc/pwritev64.c: Likewise.
58139         * misc/readv.c: Likewise.
58140         * misc/reboot.c: Likewise.
58141         * misc/remap_file_pages.c: Likewise.
58142         * misc/removexattr.c: Likewise.
58143         * misc/revoke.c: Likewise.
58144         * misc/select.c: Likewise.
58145         * misc/setdomain.c: Likewise.
58146         * misc/setegid.c: Likewise.
58147         * misc/seteuid.c: Likewise.
58148         * misc/sethostid.c: Likewise.
58149         * misc/sethostname.c: Likewise.
58150         * misc/setregid.c: Likewise.
58151         * misc/setreuid.c: Likewise.
58152         * misc/setxattr.c: Likewise.
58153         * misc/sstk.c: Likewise.
58154         * misc/stty.c: Likewise.
58155         * misc/swapoff.c: Likewise.
58156         * misc/swapon.c: Likewise.
58157         * misc/sync.c: Likewise.
58158         * misc/syncfs.c: Likewise.
58159         * misc/syscall.c: Likewise.
58160         * misc/truncate.c: Likewise.
58161         * misc/ualarm.c: Likewise.
58162         * misc/usleep.c: Likewise.
58163         * misc/ustat.c: Likewise.
58164         * misc/utimes.c: Likewise.
58165         * misc/vhangup.c: Likewise.
58166         * misc/writev.c: Likewise.
58167         * posix/_exit.c: Likewise.
58168         * posix/alarm.c: Likewise.
58169         * posix/execve.c: Likewise.
58170         * posix/fexecve.c: Likewise.
58171         * posix/fork.c: Likewise.
58172         * posix/fpathconf.c: Likewise.
58173         * posix/getaddrinfo.c: Likewise.
58174         * posix/getegid.c: Likewise.
58175         * posix/geteuid.c: Likewise.
58176         * posix/getgid.c: Likewise.
58177         * posix/getgroups.c: Likewise.
58178         * posix/getlogin.c: Likewise.
58179         * posix/getlogin_r.c: Likewise.
58180         * posix/getpgid.c: Likewise.
58181         * posix/getpid.c: Likewise.
58182         * posix/getppid.c: Likewise.
58183         * posix/getresgid.c: Likewise.
58184         * posix/getresuid.c: Likewise.
58185         * posix/getsid.c: Likewise.
58186         * posix/getuid.c: Likewise.
58187         * posix/glob64.c: Likewise.
58188         * posix/nanosleep.c: Likewise.
58189         * posix/pathconf.c: Likewise.
58190         * posix/pause.c: Likewise.
58191         * posix/posix_madvise.c: Likewise.
58192         * posix/pread.c: Likewise.
58193         * posix/pread64.c: Likewise.
58194         * posix/pwrite.c: Likewise.
58195         * posix/pwrite64.c: Likewise.
58196         * posix/sched_getaffinity.c: Likewise.
58197         * posix/sched_getp.c: Likewise.
58198         * posix/sched_gets.c: Likewise.
58199         * posix/sched_primax.c: Likewise.
58200         * posix/sched_primin.c: Likewise.
58201         * posix/sched_rr_gi.c: Likewise.
58202         * posix/sched_setaffinity.c: Likewise.
58203         * posix/sched_setp.c: Likewise.
58204         * posix/sched_sets.c: Likewise.
58205         * posix/sched_yield.c: Likewise.
58206         * posix/setgid.c: Likewise.
58207         * posix/setlogin.c: Likewise.
58208         * posix/setpgid.c: Likewise.
58209         * posix/setresgid.c: Likewise.
58210         * posix/setresuid.c: Likewise.
58211         * posix/setsid.c: Likewise.
58212         * posix/setuid.c: Likewise.
58213         * posix/sleep.c: Likewise.
58214         * posix/spawni.c: Likewise.
58215         * posix/sysconf.c: Likewise.
58216         * posix/times.c: Likewise.
58217         * posix/wait.c: Likewise.
58218         * posix/wait3.c: Likewise.
58219         * posix/wait4.c: Likewise.
58220         * posix/waitpid.c: Likewise.
58221         * resolv/gai_sigqueue.c: Likewise.
58222         * resource/getpriority.c: Likewise.
58223         * resource/getrlimit.c: Likewise.
58224         * resource/getrusage.c: Likewise.
58225         * resource/nice.c: Likewise.
58226         * resource/setpriority.c: Likewise.
58227         * resource/setrlimit.c: Likewise.
58228         * resource/ulimit.c: Likewise.
58229         * rt/aio_cancel.c: Likewise.
58230         * rt/aio_fsync.c: Likewise.
58231         * rt/aio_read.c: Likewise.
58232         * rt/aio_sigqueue.c: Likewise.
58233         * rt/aio_suspend.c: Likewise.
58234         * rt/aio_write.c: Likewise.
58235         * rt/clock_getres.c: Likewise.
58236         * rt/clock_gettime.c: Likewise.
58237         * rt/clock_nanosleep.c: Likewise.
58238         * rt/clock_settime.c: Likewise.
58239         * rt/lio_listio.c: Likewise.
58240         * rt/mq_close.c: Likewise.
58241         * rt/mq_getattr.c: Likewise.
58242         * rt/mq_notify.c: Likewise.
58243         * rt/mq_open.c: Likewise.
58244         * rt/mq_receive.c: Likewise.
58245         * rt/mq_send.c: Likewise.
58246         * rt/mq_setattr.c: Likewise.
58247         * rt/mq_timedreceive.c: Likewise.
58248         * rt/mq_timedsend.c: Likewise.
58249         * rt/mq_unlink.c: Likewise.
58250         * rt/shm_open.c: Likewise.
58251         * rt/shm_unlink.c: Likewise.
58252         * rt/timer_create.c: Likewise.
58253         * rt/timer_delete.c: Likewise.
58254         * rt/timer_getoverr.c: Likewise.
58255         * rt/timer_gettime.c: Likewise.
58256         * rt/timer_settime.c: Likewise.
58257         * setjmp/__longjmp.c: Likewise.
58258         * setjmp/setjmp.c: Likewise.
58259         * signal/kill.c: Likewise.
58260         * signal/killpg.c: Likewise.
58261         * signal/raise.c: Likewise.
58262         * signal/sigaction.c: Likewise.
58263         * signal/sigaltstack.c: Likewise.
58264         * signal/sigblock.c: Likewise.
58265         * signal/sigignore.c: Likewise.
58266         * signal/sigintr.c: Likewise.
58267         * signal/signal.c: Likewise.
58268         * signal/sigpause.c: Likewise.
58269         * signal/sigpending.c: Likewise.
58270         * signal/sigqueue.c: Likewise.
58271         * signal/sigreturn.c: Likewise.
58272         * signal/sigset.c: Likewise.
58273         * signal/sigsetmask.c: Likewise.
58274         * signal/sigstack.c: Likewise.
58275         * signal/sigsuspend.c: Likewise.
58276         * signal/sigtimedwait.c: Likewise.
58277         * signal/sigvec.c: Likewise.
58278         * signal/sigwait.c: Likewise.
58279         * signal/sigwaitinfo.c: Likewise.
58280         * signal/sysv_signal.c: Likewise.
58281         * socket/accept.c: Likewise.
58282         * socket/accept4.c: Likewise.
58283         * socket/bind.c: Likewise.
58284         * socket/connect.c: Likewise.
58285         * socket/getpeername.c: Likewise.
58286         * socket/getsockname.c: Likewise.
58287         * socket/getsockopt.c: Likewise.
58288         * socket/isfdtype.c: Likewise.
58289         * socket/listen.c: Likewise.
58290         * socket/recv.c: Likewise.
58291         * socket/recvfrom.c: Likewise.
58292         * socket/recvmsg.c: Likewise.
58293         * socket/send.c: Likewise.
58294         * socket/sendmsg.c: Likewise.
58295         * socket/sendto.c: Likewise.
58296         * socket/setsockopt.c: Likewise.
58297         * socket/shutdown.c: Likewise.
58298         * socket/sockatmark.c: Likewise.
58299         * socket/socket.c: Likewise.
58300         * socket/socketpair.c: Likewise.
58301         * stdio-common/ctermid.c: Likewise.
58302         * stdio-common/cuserid.c: Likewise.
58303         * stdio-common/remove.c: Likewise.
58304         * stdio-common/rename.c: Likewise.
58305         * stdio-common/renameat.c: Likewise.
58306         * stdio-common/tempname.c: Likewise.
58307         * stdlib/getcontext.c: Likewise.
58308         * stdlib/makecontext.c: Likewise.
58309         * stdlib/setcontext.c: Likewise.
58310         * stdlib/swapcontext.c: Likewise.
58311         * stdlib/system.c: Likewise.
58312         * streams/fattach.c: Likewise.
58313         * streams/fdetach.c: Likewise.
58314         * streams/getmsg.c: Likewise.
58315         * streams/getpmsg.c: Likewise.
58316         * streams/putmsg.c: Likewise.
58317         * streams/putpmsg.c: Likewise.
58318         * sysdeps/unix/bsd/getpt.c: Likewise.
58319         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
58320         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
58321         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
58322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
58323         Likewise.
58324         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
58325         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
58326         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
58327         * sysvipc/msgctl.c: Likewise.
58328         * sysvipc/msgget.c: Likewise.
58329         * sysvipc/msgrcv.c: Likewise.
58330         * sysvipc/msgsnd.c: Likewise.
58331         * sysvipc/semctl.c: Likewise.
58332         * sysvipc/semget.c: Likewise.
58333         * sysvipc/semop.c: Likewise.
58334         * sysvipc/semtimedop.c: Likewise.
58335         * sysvipc/shmat.c: Likewise.
58336         * sysvipc/shmctl.c: Likewise.
58337         * sysvipc/shmdt.c: Likewise.
58338         * sysvipc/shmget.c: Likewise.
58339         * termios/tcdrain.c: Likewise.
58340         * termios/tcflow.c: Likewise.
58341         * termios/tcflush.c: Likewise.
58342         * termios/tcgetattr.c: Likewise.
58343         * termios/tcgetpgrp.c: Likewise.
58344         * termios/tcsendbrk.c: Likewise.
58345         * termios/tcsetattr.c: Likewise.
58346         * termios/tcsetpgrp.c: Likewise.
58347         * time/adjtime.c: Likewise.
58348         * time/clock.c: Likewise.
58349         * time/getitimer.c: Likewise.
58350         * time/gettimeofday.c: Likewise.
58351         * time/setitimer.c: Likewise.
58352         * time/settimeofday.c: Likewise.
58353         * time/stime.c: Likewise.
58354         * time/time.c: Likewise.
58356 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
58358         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
58359         /usr/old/bin.
58361         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
58362         instead of spaces.
58363         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
58365 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
58367         [BZ #14796]
58368         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
58369         FE_TONEAREST before applying Dekker multiplication and Knuth
58370         addition.  Clear inexact exceptions and check for exact zero
58371         results afterwards.
58372         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58373         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
58374         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58375         * math/libm-test.inc (fma_test): Add more tests.
58376         (fma_test_towardzero): Likewise.
58377         (fma_test_downward): Likewise.
58378         (fma_test_upward): Likewise.
58379         * sysdeps/generic/math_private.h (default_libc_fesetround): New
58380         function.
58381         (libc_fesetround): New macro.
58382         (libc_fesetroundf): Likewise.
58383         (libc_fesetroundl): Likewise.
58384         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
58385         function.
58386         (libc_fesetround_387): Likewise.
58387         (libc_fesetroundf): New macro.
58388         (libc_fesetround): Likewise.
58389         (libc_fesetroundl): Likewise.
58390         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
58391         function.
58392         (libc_fesetroundf): New macro.
58393         (libc_fesetround): Likewise.
58394         (libc_fesetroundl): Likewise.
58395         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
58396         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
58397         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
58398         libm_hidden_ver.
58399         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
58400         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
58401         libm_hidden_def.
58402         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
58403         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
58404         libm_hidden_ver.
58405         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
58406         libm_hidden_def.
58408         [BZ #3439]
58409         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
58410         integer constant usable in #if and use that to give value to enum
58411         constant.
58412         (FE_DIVBYZERO): Likewise.
58413         (FE_UNDERFLOW): Likewise.
58414         (FE_OVERFLOW): Likewise.
58415         (FE_INVALID): Likewise.
58416         (FE_INVALID_SNAN): Likewise.
58417         (FE_INVALID_ISI): Likewise.
58418         (FE_INVALID_IDI): Likewise.
58419         (FE_INVALID_ZDZ): Likewise.
58420         (FE_INVALID_IMZ): Likewise.
58421         (FE_INVALID_COMPARE): Likewise.
58422         (FE_INVALID_SOFTWARE): Likewise.
58423         (FE_INVALID_SQRT): Likewise.
58424         (FE_INVALID_INTEGER_CONVERSION): Likewise.
58425         (FE_TONEAREST): Likewise.
58426         (FE_TOWARDZERO): Likewise.
58427         (FE_UPWARD): Likewise.
58428         (FE_DOWNWARD): Likewise.
58429         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
58430         (FE_DIVBYZERO): Likewise.
58431         (FE_OVERFLOW): Likewise.
58432         (FE_UNDERFLOW): Likewise.
58433         (FE_INEXACT): Likewise.
58434         (FE_TONEAREST): Likewise.
58435         (FE_DOWNWARD): Likewise.
58436         (FE_UPWARD): Likewise.
58437         (FE_TOWARDZERO): Likewise.
58438         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
58439         (FE_UNDERFLOW): Likewise.
58440         (FE_OVERFLOW): Likewise.
58441         (FE_DIVBYZERO): Likewise.
58442         (FE_INVALID): Likewise.
58443         (FE_TONEAREST): Likewise.
58444         (FE_TOWARDZERO): Likewise.
58445         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
58446         (FE_OVERFLOW): Likewise.
58447         (FE_UNDERFLOW): Likewise.
58448         (FE_DIVBYZERO): Likewise.
58449         (FE_INEXACT): Likewise.
58450         (FE_TONEAREST): Likewise.
58451         (FE_TOWARDZERO): Likewise.
58452         (FE_UPWARD): Likewise.
58453         (FE_DOWNWARD): Likewise.
58454         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
58455         (FE_DIVBYZERO): Likewise.
58456         (FE_OVERFLOW): Likewise.
58457         (FE_UNDERFLOW): Likewise.
58458         (FE_INEXACT): Likewise.
58459         (FE_TONEAREST): Likewise.
58460         (FE_DOWNWARD): Likewise.
58461         (FE_UPWARD): Likewise.
58462         (FE_TOWARDZERO): Likewise.
58464 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
58466         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
58468 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
58470         * scripts/cross-test-ssh.sh (command): Use newlines to separate
58471         commands.  Quote $PWD.
58472         (blacklist_exports): Don't use remove_newlines.  Replace "declare
58473         -x" by "export".
58474         (remove_newlines): Remove.
58476 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
58478         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
58479         * stdlib/stdlib.h (atof): Moved to ...
58480         * include/bits/stdlib-float.h: Here.  New file.
58481         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
58482         * stdlib/bits/stdlib-float.h: New file.
58483         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
58484         -mno-sse -mno-mmx.
58485         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
58486         <xmmintrin.h>.
58488 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58490         * conform/conformtest.pl (@headers): Add fenv.h.
58491         * conform/data/fenv.h-data: New file.
58492         * include/fenv.h [_ISOMAC]: Disable all contents of file except
58493         include of <math/fenv.h>.
58495         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
58496         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
58497         && !UNIX98].  Enables tests for XOPEN2K8.
58498         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
58499         POSIX2008]: Likewise.
58501         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
58502         (struct rusage): Do not expect type or its members.
58504         [BZ #3439]
58505         * math/math.h (FP_NAN): Define macro to integer constant usable in
58506         #if and use that to give value to enum constant.
58507         (FP_INFINITE): Likewise.
58508         (FP_ZERO): Likewise.
58509         (FP_SUBNORMAL): Likewise.
58510         (FP_NORMAL): Likewise.
58512 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
58514         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
58515         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
58516         arguments.
58518 2012-11-02  Roland McGrath  <roland@hack.frob.com>
58520         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
58521         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
58522         autoconf-time if not.
58523         * configure.in: Remove AC_PREREQ.
58525 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58527         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
58528         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
58529         of the internal implementation.
58531 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
58533         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
58534         except include of <misc/sys/syslog.h>.
58536 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
58539         function returns with a NULL context exit with zero.
58541 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58543         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
58545 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
58547         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
58548         (run_program_cmd): This.
58549         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
58550         (tst_langinfo): New variable.  Use it.
58552 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
58554         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
58555         floating point opcodes.
58557 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58559         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
58560         variable.
58562         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
58564         * sysdeps/mach/hurd/powerpc: Remove directory.
58565         * sysdeps/mach/powerpc: Likewise.
58567 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
58569         * scripts/check-local-headers.sh: Ignore c++ headers.
58571 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58573         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
58574         __libc_cleanup_region_start argument.
58576 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
58578         [BZ #14784]
58579         [BZ #14785]
58580         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
58581         x * y using scaling, not as x * y + z.
58582         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58583         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58584         * math/libm-test.inc (fma_test): Add more tests.
58585         (fma_test_towardzero): Likewise.
58586         (fma_test_downward): Likewise.
58587         (fma_test_upward): Likewise.
58589 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
58591         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
58593 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58595         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
58596         New variable.
58598 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
58600         * rt/tst-shm.c (worker): Correct checking for mmap failure.
58602 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58605         Fix sort order.
58606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58607         Likewise.
58609 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
58611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58612         Fix the order of the list for glibc 2.17.
58613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58614         Likewise.
58616 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
58618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58620 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
58622         [BZ #14610]
58623         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
58624         for low part of x being zero before using __atanl (y).
58625         * math/libm-test.inc (atan2_test): Add another test.
58627         * manual/install.texi (Configuring and compiling): Document
58628         general use of test-wrapper and test-wrapper-env.
58629         * INSTALL: Regenerated.
58631         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
58632         (__fma): Do not extract and scale down low bits on after-rounding
58633         systems when result rounded to normal precision would have normal
58634         exponent.
58635         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
58636         (__fmal): Do not extract and scale down low bits on after-rounding
58637         systems when result rounded to normal precision would have normal
58638         exponent.
58639         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
58640         (__fmal): Do not extract and scale down low bits on after-rounding
58641         systems when result rounded to normal precision would have normal
58642         exponent.
58643         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
58644         macro.
58645         (fma_test): Add more tests.
58646         (fma_test_towardzero): Likewise.
58647         (fma_test_downward): Likewise.
58648         (fma_test_upward): Likewise.
58650 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
58652         * sysdeps/i386/tininess.h: Renamed to ...
58653         * sysdeps/x86/tininess.h: This.
58654         * sysdeps/x86_64/tininess.h: Removed.
58656 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58658         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
58659         input.  Use $(build-program-cmd).
58660         ($(objpfx)tst-array1-static.out): Likewise.
58661         ($(objpfx)tst-array2.out): Likewise.
58662         ($(objpfx)tst-array3.out): Likewise.
58663         ($(objpfx)tst-array4.out): Likewise.
58664         ($(objpfx)tst-array5.out): Likewise.
58665         ($(objpfx)tst-array5-static.out): Likewise.
58667 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
58669         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
58670         if defined.
58672         * nss/nsswitch.h (nss_interface_function): Provide new
58673         macro for use with NSS functions.
58674         * grp/initgroups.c: Use new macro.
58675         * nss/getXXbyYY.c: Likewise.
58676         * nss/getXXbyYY_r.c: Likewise.
58677         * nss/getXXent.c: Likewise.
58678         * nss/getXXent_r.c: Likewise.
58679         * sysdeps/posix/getaddrinfo.c: Likewise.
58681 2012-10-30  Andreas Jaeger  <aj@suse.de>
58683         * po/ru.po: Update Russion translation from translation project.
58685 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
58687         [BZ #14152]
58688         [BZ #14783]
58689         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
58690         result and shift together with sticky bit instead of replicating
58691         round-to-nearest rounding.
58692         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
58693         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
58694         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
58695         missing underflow exceptions.
58696         (fma_test_towardzero): Add more tests.
58697         (fma_test_downward): Likewise.
58698         (fma_test_upward): Likewise.
58700         [BZ #14047]
58701         * sysdeps/generic/tininess.h: New file.
58702         * sysdeps/i386/tininess.h: Likewise.
58703         * sysdeps/sh/tininess.h: Likewise.
58704         * sysdeps/x86_64/tininess.h: Likewise.
58705         * stdlib/tst-strtod-underflow.c: Likewise.
58706         * stdlib/tst-tininess.c: Likewise.
58707         * stdlib/strtod_l.c: Include <tininess.h>.
58708         (round_and_return): Do not set errno for exact underflow cases.
58709         Force an underflow exception when setting errno for underflow.
58710         Determine underflow based on rounding to normal precision if
58711         TININESS_AFTER_ROUNDING.
58712         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
58713         ERANGE for exact underflow cases.
58714         * stdlib/Makefile (tests): Add tst-tininess and
58715         tst-strtod-underflow.
58716         ($(objpfx)tst-tininess): Use $(link-libm).
58717         ($(objpfx)tst-strtod-underflow): Likewise.
58719 2012-10-30  Andreas Jaeger  <aj@suse.de>
58721         [BZ#14767]
58722         * elf/Makefile (tests): Remove conditional for have-initfini-array
58723         since this is now always required and the variable does not exist
58724         anymore.
58725         (tests-static): Likewise.
58726         (modules-names): Likewise.
58728         * po/eo.po: Add Esperanto translation from translation project.
58730         * elf/tst-array1.c (fini_array): Make writeable so that it can be
58731         merged with constructor/destructor.
58732         (init_array): Likewise.
58733         * elf/tst-array2dep.c (fini_array): Likewise.
58734         (init_array): Likewise.
58736 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
58738         * manual/message.texi: Delete @cartouche tags.
58740 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
58742         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
58743         EOPNOTSUPP.
58744         * sysdeps/mach/hurd/fsync.c: Likewise.
58746         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
58747         [_POSIX_REALTIME_SIGNALS]: Change condition to
58748         [_POSIX_REALTIME_SIGNALS > 0].
58750 2012-10-27  Andreas Jaeger  <aj@suse.de>
58752         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
58753         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
58754         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
58755         [__WORDSIZE != 64]: Likewise.
58757 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
58759         *  iconvdata/tst-table.sh: Remove ${SHELL}.
58760         *  iconvdata/tst-tables.sh: Likewise.
58762 2012-10-25  David S. Miller  <davem@davemloft.net>
58764         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58765         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
58766         of strtoull.
58768         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
58769         ifunc-impl-list.c
58770         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
58771         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
58772         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
58773         file.
58775 2012-10-25  Roland McGrath  <roland@hack.frob.com>
58777         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58778         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
58779         __getdirentries.
58781 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58782             Jim Blandy  <jimb@codesourcery.com>
58784         * scripts/cross-test-ssh.sh: New file.
58785         * manual/install.texi (Configuring and compiling): Document use of
58786         cross-test-ssh.sh.
58787         * INSTALL: Regenerated.
58789 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
58791         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
58792         EOPNOTSUPP.
58794 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
58796         * Makeconfig (run-program-prefix): Fix comment.
58798 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58799             Jim Blandy  <jimb@codesourcery.com>
58801         * Makeconfig (test-wrapper): New variable,
58802         (test-wrapper-env): Likewise.
58803         [$(cross-compiling) = yes && $(test-wrapper) != ""]
58804         (run-built-tests): Define to yes.
58805         (run-program-prefix): Use $(test-wrapper).
58806         (built-program-cmd): Likewise.
58807         * Rules (make-test-out): Use $(test-wrapper-env) and
58808         $(host-built-program-cmd).
58809         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
58810         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
58811         tst-pathopt.sh.
58812         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
58813         $(test-wrapper-env) to tst-rtld-load-self.sh.
58814         ($(objpfx)order2.out): Use $(test-wrapper).
58815         ($(objpfx)tst-initorder.out): Likewise.
58816         ($(objpfx)tst-initorder2.out): Likewise.
58817         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
58818         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
58819         (test_wrapper_env): New variable.  Use it to run ld.so.
58820         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
58821         Use it to run ld.so.
58822         (test_wrapper_env): Likewise.
58823         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
58824         $(test-wrapper) to run-iconv-test.sh.
58825         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
58826         (ICONV): Use $test_wrapper.
58827         * posix/Makefile ($(objpfx)globtest.out): Pass
58828         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
58829         globtest.sh, not $(run-program-prefix).
58830         * posix/globtest.sh (run_via_rtld_prefix): New variable.
58831         (test_wrapper): Likewise.
58832         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
58833         set together with run_via_rtld_prefix.
58834         (run_program_prefix): Define in terms of test_wrapper and
58835         run_via_rtld_prefix.
58837 2012-10-24  Roland McGrath  <roland@hack.frob.com>
58839         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
58840         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
58841         Targets removed.
58843         [BZ #14743]
58844         * include/time.h: Remove librt_hidden_proto (clock_gettime).
58845         Declare __clock_getres, __clock_gettime, __clock_settime,
58846         __clock_nanosleep, and __clock_getcpuclockid.
58847         * rt/clock_gettime.c: Define __clock_gettime as an alias.
58848         Remove librt_hidden_def (clock_gettime).
58849         * sysdeps/unix/clock_gettime.c: Likewise.
58850         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
58851         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
58852         * rt/clock_getres.c: Define __clock_getres as an alias.
58853         * sysdeps/posix/clock_getres.c: Likewise.
58854         * rt/clock_settime.c: Define __clock_settime as an alias.
58855         * sysdeps/unix/clock_settime.c: Likewise.
58856         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
58857         * sysdeps/unix/clock_nanosleep.c: Likewise.
58858         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
58859         * rt/clock-compat.c: New file.
58860         * rt/Makefile (librt-routines): Add clock-compat and move
58861         $(clock-routines) to ...
58862         (routines): ... here, new variable.
58863         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
58864         Don't add get_clockfreq here.
58865         * rt/Versions (libc: GLIBC_2.17): New version set.
58866         Add clock_* symbols here.
58867         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
58868         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
58869         (GLIBC_2.17): Add clock_* symbols.
58870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
58871         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
58872         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
58873         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
58874         Likewise.
58875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
58876         Likewise.
58877         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
58878         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
58879         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
58880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
58881         * NEWS: Mention the move.
58883         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
58884         Use __open, __read, __close rather than their public counterparts.
58885         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
58886         (__get_clockfreq_via_cpuinfo): Likewise.
58887         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
58888         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
58890         * config.h.in (HAVE_IFUNC): New #undef.
58891         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
58892         was successful.
58893         * configure: Regenerated.
58895 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58897         * configure.in: Move READELF check to start of file.
58898         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
58899         libc_cv_asm_gnu_indirect_function in the process.
58900         * configure: Regenerated.
58902 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
58904         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
58905         send the output to /dev/null.
58906         (libc_cv_cc_with_libunwind): Likewise.
58907         (libc_cv_as_noexecstack): Likewise.
58908         * configure: Regenerate.
58910 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
58912         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
58914         * posix/globtest.sh (TMPDIR): Do not set.
58915         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
58916         (testout): Likewise.
58918 2012-10-24  Andreas Jaeger  <aj@suse.de>
58920         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
58921         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
58922         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
58923         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
58924         posix_fadvise64, posix_fallocate64.
58926         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
58927         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
58928         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
58929         Likewise.
58930         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
58931         Likewise.
58932         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
58934         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
58935         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
58936         <bits/fcntl-linux.h>.
58937         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
58939         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
58940         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
58941         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
58942         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
58943         [__WORDSIZE != 64]: Likewise.
58945 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58947         * Makeconfig (run-built-tests): New variable.
58948         * Rules [$(cross-compiling) = yes]: Change condition to
58949         [$(run-built-tests) = no].
58950         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
58951         to [$(run-built-tests) = yes].
58952         * elf/Makefile [$(cross-compiling) = no]: Likewise.
58953         * grp/Makefile [$(cross-compiling) = no]: Likewise.
58954         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
58955         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
58956         * intl/Makefile [$(cross-compiling) = no]: Likewise.
58957         * io/Makefile [$(cross-compiling) = no]: Likewise.
58958         * libio/Makefile [$(cross-compiling) = no]: Likewise.
58959         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
58960         * misc/Makefile [$(cross-compiling) = no]: Likewise.
58961         * posix/Makefile [$(cross-compiling) = no]: Likewise.
58962         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
58963         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
58964         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
58965         * string/Makefile [$(cross-compiling) = no]: Likewise.
58967         * posix/Makefile ($(objpfx)globtest.out): Pass
58968         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
58969         $(rtld-installed-name).
58970         * posix/globtest.sh (elf_objpfx): Remove variable.
58971         (rtld_installed_name): Likewise.
58972         (library_path): Likewise.
58973         (run_program_prefix): New variable.  Use for running globtest
58974         binary.
58976 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
58977             Joseph Myers  <joseph@codesourcery.com>
58979         * Makeconfig (host-built-program-cmd): New variable.
58980         * elf/Makefile (tst-stackguard1-ARGS): Use
58981         $(host-built-program-cmd).
58982         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
58983         (tst-spawn-ARGS): Likewise.
58984         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
58986 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
58987             Jim Blandy  <jimb@codesourcery.com>
58989         * Makeconfig (run-via-rtld-prefix): New variable.
58990         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
58991         (built-program-cmd): Likewise.
58993 2012-10-22  Andreas Jaeger  <aj@suse.de>
58995         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
58996         __O_RSYNC if it exists, otherwise to O_SYNC.
58998 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
58999             Joseph Myers  <joseph@codesourcery.com>
59001         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
59002         /dev/null.
59003         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
59004         from /dev/null
59005         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
59006         /dev/null.
59008 2012-10-22  Andreas Jaeger  <aj@suse.de>
59010         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
59011         Define always.
59012         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
59014         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59015         bits/fcntl-linux.h.
59017         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
59018         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
59020         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
59021         to __O_LARGEFILE.
59022         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
59023         to __O_LARGEFILE.
59025 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
59026             Joseph Myers  <joseph@codesourcery.com>
59028         * config.make.in (NM): New variable.
59030 2012-10-21  Andreas Jaeger  <aj@suse.de>
59032         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
59033         definitions and declarations that are provided by
59034         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
59036 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59038         [BZ #14683]
59039         * elf/Makefile (tests-static): Add tst-leaks1-static.
59040         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
59041         ($(objpfx)tst-leaks1-static): New rule.
59042         ($(objpfx)tst-leaks1-static-mem): Likewise.
59043         (tst-leaks1-static-ENV): New macro.
59044         * elf/dl-open.c (dl_open_worker): Check the main application
59045         only if SHARED is defined.
59046         * elf/tst-leaks1-static.c: New file.
59048 2012-10-20  Andreas Jaeger  <aj@suse.de>
59050         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
59051         generic values for Linux.
59052         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
59053         and declarations that are provided by <bits/fcntl-linux.h> and
59054         include <bits/fcntl-linux.h>.
59055         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
59056         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
59058 2012-10-20  Roland McGrath  <roland@hack.frob.com>
59060         * io/fcntl.h: Move include of <bits/types.h> to the top and
59061         include it unconditionally.
59063 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
59065         * wcsmbs/Makefile (tests-ifunc): New variable.
59066         (tests): Add $(tests-ifunc).
59067         * wcsmbs/test-wcschr-ifunc.c: New file.
59068         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
59069         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
59070         * wcsmbs/test-wcslen-ifunc.c: Likewise.
59071         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
59072         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
59074         * string/Makefile (tests-ifunc): New variable.
59075         (tests): Add $(tests-ifunc).
59076         * string/test-memccpy.c (TEST_NAME): New macro.
59077         * string/test-memchr.c (TEST_NAME): Likewise.
59078         * string/test-memcmp.c (TEST_NAME): Likewise.
59079         * string/test-memcpy.c (TEST_NAME): Likewise.
59080         * string/test-memmem.c (TEST_NAME): Likewise.
59081         * string/test-memmove.c (TEST_NAME): Likewise.
59082         * string/test-memset.c (TEST_NAME): Likewise.
59083         * string/test-rawmemchr.c (TEST_NAME): Likewise.
59084         * string/test-stpcpy.c (TEST_NAME): Likewise.
59085         * string/test-stpncpy.c (TEST_NAME): Likewise.
59086         * string/test-strcasecmp.c (TEST_NAME): Likewise.
59087         * string/test-strcasestr.c (TEST_NAME): Likewise.
59088         * string/test-strcat.c (TEST_NAME): Likewise.
59089         * string/test-strchr.c (TEST_NAME): Likewise.
59090         * string/test-strcmp.c(TEST_NAME): Likewise.
59091         * string/test-strcpy.c (TEST_NAME): Likewise.
59092         * string/test-strcspn.c (TEST_NAME): Likewise.
59093         * string/test-strlen.c (TEST_NAME): Likewise.
59094         * string/test-strncasecmp.c (TEST_NAME): Likewise.
59095         * string/test-strncmp.c (TEST_NAME): Likewise.
59096         * string/test-strncpy.c (TEST_NAME): Likewise.
59097         * string/test-strnlen.c (TEST_NAME): Likewise.
59098         * string/test-strpbrk.c (TEST_NAME): Likewise.
59099         * string/test-strrchr.c (TEST_NAME): Likewise.
59100         * string/test-strspn.c (TEST_NAME): Likewise.
59101         * string/test-strstr.c (TEST_NAME): Likewise.
59102         * string/test-bcopy-ifunc.c: New file.
59103         * string/test-bzero-ifunc.c: Likewise.
59104         * string/test-memccpy-ifunc.c: Likewise.
59105         * string/test-memchr-ifunc.c: Likewise.
59106         * string/test-memcmp-ifunc.c: Likewise.
59107         * string/test-memcpy-ifunc.c: Likewise.
59108         * string/test-memmem-ifunc.c: Likewise.
59109         * string/test-memmove-ifunc.c: Likewise.
59110         * string/test-mempcpy-ifunc.c: Likewise.
59111         * string/test-memset-ifunc.c: Likewise.
59112         * string/test-rawmemchr-ifunc.c: Likewise.
59113         * string/test-stpcpy-ifunc.c: Likewise.
59114         * string/test-stpncpy-ifunc.c: Likewise.
59115         * string/test-strcasecmp-ifunc.c: Likewise.
59116         * string/test-strcasestr-ifunc.c: Likewise.
59117         * string/test-strcat-ifunc.c: Likewise.
59118         * string/test-strchr-ifunc.c: Likewise.
59119         * string/test-strchrnul-ifunc.c: Likewise.
59120         * string/test-strcmp-ifunc.c: Likewise.
59121         * string/test-strcpy-ifunc.c: Likewise.
59122         * string/test-strcspn-ifunc.c: Likewise.
59123         * string/test-strlen-ifunc.c: Likewise.
59124         * string/test-strncasecmp-ifunc.c: Likewise.
59125         * string/test-strncat-ifunc.c: Likewise.
59126         * string/test-strncmp-ifunc.c: Likewise.
59127         * string/test-strncpy-ifunc.c: Likewise.
59128         * string/test-strnlen-ifunc.c: Likewise.
59129         * string/test-strpbrk-ifunc.c: Likewise.
59130         * string/test-strrchr-ifunc.c: Likewise.
59131         * string/test-strspn-ifunc.c: Likewise.
59132         * string/test-strstr-ifunc.c: Likewise.
59134         * debug/Makefile (tests-ifunc): New variable.
59135         (tests): Add $(tests-ifunc).
59136         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
59137         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
59138         * debug/test-stpcpy_chk-ifunc.c: New file.
59139         * debug/test-strcpy_chk-ifunc.c: Likewise.
59141 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
59143         [BZ #13601]
59144         * elf/dl-load.c (open_verify): Retry read if the entire ELF
59145         header is not read in.
59147 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
59149         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
59150         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
59151         directly.  Pass built executable to script as
59152         $(built-program-cmd).
59153         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
59154         $testprogram without using LD_LIBRARY_PATH and $ldso.
59156         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
59157         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
59158         $(rtld-installed-name).
59159         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
59160         (rtld_installed_name): Likewise.
59161         (library_path): Likewise.
59162         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
59163         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
59164         $(run-program-prefix) to tst-tables.sh.
59165         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
59166         it to run tst-table-from and tst-table-to.
59167         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
59168         Pass it to tst-table.sh.
59169         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
59170         $(run-program-prefix) to tst-gettext.sh.
59171         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
59172         tst-translit.sh.
59173         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
59174         tst-gettext2.sh.
59175         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
59176         to run tst-gettext.
59177         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
59178         to run tst-gettext2.
59179         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
59180         to run tst-translit.
59181         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
59182         $(run-program-prefix) to tst-mtrace.sh.
59183         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
59184         to run tst-mtrace.
59185         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
59186         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
59187         $(rtld-installed-name).
59188         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
59189         (rtld_installed_name): Likewise.
59190         (run_program_prefix): New variable.  Use it to run wordexp-test.
59192         * Makeconfig (ARCH): Remove all definitions.
59193         (machine): Likewise.
59194         [ARCH]: Remove conditional code.
59195         [!objdir]: Give error.
59196         [!objdir] (objpfx): Remove.
59197         [!objdir] (common-objpfx): Likewise.
59198         [!objdir] (common-objdir): Likewise.
59199         * configure.in (config_makefile): Remove.  Hardcode Makefile in
59200         AC_CONFIG_FILES call.
59201         * configure: Regenerated.
59203         [BZ #13888]
59204         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
59205         or TMPDIR.
59206         (testout): Likewise.
59208         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
59209         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
59210         $(rtld-installed-name).
59211         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
59212         (rtld_installed_name): Likwise.
59213         (runit): Remove function.
59214         (run_getconf): New variable,  Use it for running getconf binary.
59216 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
59218         [BZ #14716]
59219         * string/test-memmem.c (check_result): New function.
59220         (do_one_test): Use it.
59221         (check1): New function.
59222         (test_main): Use it.
59224 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
59226         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
59228 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
59230         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
59231         (_G_LSEEK64): Likewise.
59232         (_G_MMAP64): Likewise.
59233         (_G_FSTAT64): Likewise.
59234         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
59235         (_G_LSEEK64): Likewise.
59236         (_G_MMAP64): Likewise.
59237         (_G_FSTAT64): Likewise.
59238         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
59239         unconditional.  Call __mmap64 directly.
59240         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
59241         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
59242         __lseek64 directly.
59243         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
59244         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
59245         __mmap64 directly.
59246         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
59247         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59248         __lseek64 directly.
59249         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
59250         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
59251         __lseek64 directly.
59252         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
59253         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
59254         __lseek64 directly.
59255         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
59256         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
59257         __fxstat64 directly.
59258         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
59259         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
59260         unconditional.
59261         (freopen64) [!_G_OPEN64]: Remove conditional code.
59262         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
59263         unconditional.
59264         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
59265         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
59266         unconditional.
59267         (ftello64) [!_G_LSEEK64]: Remove conditional code.
59268         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
59269         unconditional.
59270         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59271         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
59272         unconditional.
59273         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
59274         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
59275         unconditional.
59276         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59277         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
59278         unconditional.
59279         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
59280         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
59281         unconditional.
59282         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
59284 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
59286         [BZ #12140]
59287         * manual/memory.texi (Malloc Tunable Parameters): Add note
59288         about free list pointers overwriting some perturb bytes.
59289         Wording suggested by Roland McGrath.
59291 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
59293         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
59294         (lgamma_test): Likewise.
59295         (tgamma_test): Likewise.
59297 2012-10-16  Florian Weimer  <fweimer@redhat.com>
59299         [BZ #14700]
59300         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
59301         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
59303 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
59305         * NEWS: Mention BZ #14716.
59306         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
59307         when removing AVAILABLE1_USES_J macro.
59309 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
59311         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
59312         (__bswap_64): __uint64_t for unsigned 64-bit int.
59314 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
59316         * include/string.h (memmem): Declare libc hidden alias.
59317         * string/memmem.c (memmem): Define libc hidden alias.
59318         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
59319         __read, __close instead of open, read, close.
59321 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
59323         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
59324         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
59325         global and hidden.
59326         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
59327         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
59328         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
59329         Likewise.
59330         (__rawmemchr_sse2): Likewise.
59331         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
59332         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
59333         (__strchr_sse2): Likewise.
59334         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
59335         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
59336         (__strcasecmp_sse2): Likewise.
59337         (__strncasecmp_sse2): Likewise.
59338         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
59339         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
59340         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
59341         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
59342         (__strrchr_sse2): Likewise.
59343         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
59344         ifunc-impl-list.c.
59345         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
59346         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
59347         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
59348         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
59349         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
59350         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
59351         * sysdeps/x86_64/multiarch/memset.S: Likewise.
59352         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59353         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
59354         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
59355         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
59356         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
59357         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
59358         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
59359         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
59360         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
59361         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
59362         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
59363         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
59364         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
59365         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
59366         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
59367         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
59368         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59369         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
59370         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
59371         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
59372         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
59373         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
59374         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
59376         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
59377         global and hidden.
59378         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
59379         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
59380         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
59381         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
59382         Likewise.
59383         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
59384         Likewise.
59385         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
59386         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
59387         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
59388         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
59389         ifunc-impl-list.c.
59390         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
59391         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
59392         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
59393         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
59394         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
59395         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
59396         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
59397         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
59398         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
59399         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
59400         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
59401         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
59402         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
59403         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
59404         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
59405         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
59406         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
59407         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
59408         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
59409         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
59410         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
59411         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
59412         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
59413         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
59414         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
59415         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
59416         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
59417         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
59418         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
59419         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
59420         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
59421         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
59422         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
59423         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
59424         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
59425         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
59426         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
59427         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
59428         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
59429         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
59430         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
59432         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
59433         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
59434         * include/ifunc-impl-list.h: New file.
59435         * misc/ifunc-impl-list.c: Likewise.
59436         * misc/Makefile (routines): Add ifunc-impl-list.
59437         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
59438         * string/test-string.h: Include <ifunc-impl-list.h>.
59439         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
59440         TEST_NAME]: New variables.
59441         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
59442         are defined.
59443         (test_init): Call __libc_ifunc_impl_list to initialize
59444         func_list if TEST_IFUNC and TEST_NAME are defined.
59446         * string/Makefile (strop-tests): Add bcopy and bzero.
59447         * string/test-bcopy.c: New file.
59448         * string/test-bzero.c: Likewise.
59449         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
59450         defined.
59451         * string/test-memset.c: Support bzero test if TEST_BZERO is
59452         defined.
59453         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
59454         __libc_memmove.
59455         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
59456         __libc_memset.
59457         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
59458         of memset.
59460 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
59462         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
59463         * configure: Regenerated.
59465         * Makeconfig (+link-static-before-libc): Don't include
59466         $(link-static-libc).
59468         * libio/libio.h (_IO_pos_t): Remove.
59470 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59472         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
59473         McGrath.
59475 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59477         * crypt/crypt-entry.c: Include fips-private.h.
59478         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
59479         * crypt/md5c-test.c (main): Tolerate disabled MD5.
59480         * sysdeps/unix/sysv/linux/fips-private.h: New file.
59481         * sysdeps/generic/fips-private.h: New file, dummy fallback.
59483 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
59485         * crypt/crypt-private.h: Include stdbool.h.
59486         (_ufc_setup_salt_r): Return bool.
59487         * crypt/crypt-entry.c: Include errno.h.
59488         (__crypt_r): Return NULL with EINVAL for bad salt.
59489         * crypt/crypt_util.c (bad_for_salt): New.
59490         (_ufc_setup_salt_r): Check that salt is long enough and within
59491         the specified alphabet.
59492         * crypt/badsalttest.c: New file.
59493         * crypt/Makefile (tests): Add it.
59494         ($(objpfx)badsalttest): New.
59496 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
59498         * NEWS: Add entry for BZ #14602.
59500 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59502         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
59503         type-generic.
59504         * math/libm-test.inc: Update comment listing what functions and
59505         macros are tested.
59506         (isgreater_test): New function.
59507         (isgreaterequal_test): Likewise.
59508         (isless_test): Likewise.
59509         (islessequal_test): Likewise.
59510         (islessgreater_test): Likewise.
59511         (isunordered_test): Likewise.
59512         (main): Call the new functions.
59514 2012-10-09  Roland McGrath  <roland@hack.frob.com>
59516         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
59517         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
59518         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
59519         * sysdeps/i386/configure: Regenerated.
59520         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
59521         * sysdeps/mach/configure: Regenerated.
59522         * sysdeps/mach/hurd/configure: Regenerated.
59523         * sysdeps/powerpc/configure: Regenerated.
59524         * sysdeps/powerpc/powerpc32/configure: Regenerated.
59525         * sysdeps/powerpc/powerpc64/configure: Regenerated.
59526         * sysdeps/s390/s390-32/configure: Regenerated.
59527         * sysdeps/s390/s390-64/configure: Regenerated.
59528         * sysdeps/sh/configure: Regenerated.
59529         * sysdeps/sparc/configure: Regenerated.
59530         * sysdeps/unix/sysv/linux/configure: Regenerated.
59531         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
59532         * sysdeps/x86_64/configure: Regenerated.
59534         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
59535         defined.  Don't check if MAP is NULL.
59537 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
59539         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
59540         (_G_stat64): Likewise.
59541         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
59542         (_G_stat64): Likewise.
59543         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
59544         instead of struct _G_stat64.
59545         * libio/fileops.c (mmap_remap_check): Likewise.
59546         (decide_maybe_mmap): Likewise.
59547         (_IO_new_file_seekoff): Likewise.
59548         (_IO_file_stat): Likewise.
59549         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
59550         _G_off64_t.
59551         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
59552         instead of struct _G_stat64.
59553         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59555 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
59557         [BZ #14602]
59558         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59559         Replace with ...
59560         (CHECK_EOL): New macro.
59561         (two_way_short_needle): Check beginning of haystack for EOL.  Use
59562         CHECK_EOL.
59563         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59564         Replace with CHECK_EOL.
59565         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
59566         Replace with CHECK_EOL.
59568 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
59570         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
59571         type-generic.
59572         * math/libm-test.inc: Update comment listing what functions and
59573         macros are tested.
59574         (finite_test): New function.
59575         (isinf_test): Likewise.
59576         (isnan_test): Likewise.
59577         (fpclassify_test): Test subnormal input.
59578         (isfinite_test): Likewise.
59579         (isnormal_test): Likewise.
59580         (main): Call the new functions.
59582 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
59584         [BZ #14660]
59585         * Makerules (%.dynsym): Force C locale when running
59586         $(OBJDUMP) --dynamic-syms.
59588 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
59590         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
59591         <stdint.h>.
59593 2012-10-06  David S. Miller  <davem@davemloft.net>
59595         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
59596         upper 32-bits of the length value in %o2 since we use branch-on-register
59597         tests which consider the entire 64-bit register.
59599 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
59601         * string/test-strstr.c (check2): Add a test for page boundary.
59603 2012-10-05  David S. Miller  <davem@davemloft.net>
59605         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
59606         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
59607         file.
59608         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59609         sysdep_routines.
59610         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59611         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
59612         and bzero when HWCAP_SPARC_CRYPTO is present.
59614 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
59616         [BZ #14602]
59617         * string/test-strstr.c (check2): New function.
59618         (test_main): Call check2.
59620         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
59621         and bug-strchr1.
59622         * string/bug-strcasestr1.c (do_test): Moved to ...
59623         * string/test-strcasestr.c (check1): Here.  New function.
59624         (do_one_test): Break out result checking code into ...
59625         (check_result): This.  New function.
59626         (do_one_test): Call check_result.
59627         (test_main): Call check1.
59628         * string/bug-strchr1.c (do_test): Moved to ...
59629         * string/test-strchr.c (check1): Here.  New function.
59630         (do_one_test): Break out result checking code into ...
59631         (check_result): This.  New function.
59632         (do_one_test): Call check_result.
59633         (test_main): Call check1.
59634         * string/bug-strstr1.c (main): Moved to ...
59635         * string/test-strstr.c (check1): Here.  New function.
59636         (do_one_test): Break out result checking code into ...
59637         (check_result): This.  New function.
59638         (do_one_test): Call check_result.
59639         (test_main): Call check1.
59640         * string/bug-strcasestr1.c: Removed.
59641         * string/bug-strchr1.c: Likewise.
59642         * string/bug-strstr1.c: Likewise.
59644         * elf/Makefile (dl-routines): Add hwcaps.
59645         * elf/dl-support.c (_dl_important_hwcaps): Removed.
59646         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
59647         (_dl_important_hwcaps): Moved to ...
59648         * elf/dl-hwcaps.c: Here.  New file.
59649         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
59651         [BZ #14557]
59652         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
59653         if IS_IN_rtld isn't defined.
59655         * elf/dl-support.c (_dl_sysinfo_map): New.
59656         Include "get-dynamic-info.h" and "setup-vdso.h".
59657         (_dl_non_dynamic_init): Call setup_vdso.
59658         * elf/dynamic-link.h: Don't include <assert.h>.
59659         (elf_get_dynamic_info): Moved to ...
59660         * elf/get-dynamic-info.h: Here.  New file.
59661         * elf/dynamic-link.h: Include "get-dynamic-info.h".
59662         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
59663         * elf/setup-vdso.h: Here.  New file.
59664         * elf/rtld.c: Include "setup-vdso.h".
59665         (dl_main): Call setup_vdso.
59667 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
59669         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
59670         creal in comment listing functions tested.  List finite, isinf,
59671         isnan, isless, islessequal, isgreater, isgreaterequal,
59672         islessgreater, isunordered, lgamma_r and pow10 as functions and
59673         macros not tested.  Mention which functions not tested are aliases
59674         for other functions.  Fix typo.  Note that signs of NaNs are not
59675         tested.
59677         * scripts/config.guess: Update from config.git.
59678         * scripts/config.sub: Likewise.
59680 2012-10-04  Roland McGrath  <roland@hack.frob.com>
59682         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
59683         * misc/madvise.c (madvise): Renamed to __madvise.
59684         Make madvise a weak alias.
59685         * include/sys/mman.h: Declare __madvise.
59686         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
59687         * sysdeps/unix/syscalls.list
59688         (madvise): Make __madvise the strong name, and madvise a weak alias.
59689         * sysdeps/unix/sysv/linux/syscalls.list
59690         (madvise, mmap): Remove redundant entries.
59691         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
59692         * malloc/malloc.c (mtrim): Likewise.
59693         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
59695 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59697         * sysdeps/mach/hurd/dl-cache.c: File removed.
59698         * config.h.in (USE_LDCONFIG): New #undef.
59699         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
59700         * configure: Regenerated.
59701         * elf/Makefile (dl-routines): Add dl-cache only under
59702         [$(use-ldconfig) = yes].
59703         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
59704         cache on [USE_LDCONFIG].
59705         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
59706         [USE_LDCONFIG].
59707         * elf/rtld.c (dl_main): Likewise.
59709 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
59711         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
59712         _SC_LEVEL4_CACHE_LINESIZE.
59714 2012-10-03  Roland McGrath  <roland@hack.frob.com>
59716         * sysdeps/unix/bsd/confstr.h: File removed.
59718 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
59720         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
59721         sys/sdt-config.h.
59723 2012-10-02  Roland McGrath  <roland@hack.frob.com>
59725         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
59726         Make 'mapoff' field ElfW(Off) rather than off_t.
59728 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
59730         * nscd/Makefile: Remove nscd-cflags and all its users.
59731         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
59732         (CFLAGS-nonlib): Add compiler flags for nscd modules.
59734         [BZ #10631]
59735         * malloc.c (malloc_printerr): Clarify error message.
59737 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
59739         [BZ #14648]
59740         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59741         Set bit_FMA_Usable if FMA is supported.
59742         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
59743         macro.
59744         (bit_FMA4_Usable): Updated.
59745         (index_FMA_Usable): New macro.
59746         (CPUID_FMA): Likewise.
59747         (HAS_FMA): Defined with bit_FMA_Usable.
59749 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59751         * bits/types.h (__swblk_t): Type removed.
59752         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
59753         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
59754         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
59755         (__SWBLK_T_TYPE): Likewise.
59756         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
59757         (__SWBLK_T_TYPE): Likewise.
59758         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
59759         (__SWBLK_T_TYPE): Likewise.
59760         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
59761         (__SWBLK_T_TYPE): Likewise.
59763 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
59764             Honza Horak <hhorak@redhat.com>
59766         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
59767         (xdr_mapname): Use YPMAXMAP as maxsize.
59768         (xdr_peername): Use YPMAXPEER as maxsize.
59769         (xdr_keydat): Use YPAXRECORD as maxsize.
59770         (xdr_valdat): Use YPMAXRECORD as maxsize.
59772 2012-10-01  Roland McGrath  <roland@hack.frob.com>
59774         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
59776         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
59777         * csu/init-first.c: ... here.
59778         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
59779         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
59780         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
59781         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
59782         * sysdeps/i386/init-first.c: File removed.
59783         * sysdeps/sh/init-first.c: File removed.
59785 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
59787         [BZ #14645]
59788         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
59789         if x * y might underflow to zero and z is zero.
59790         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
59791         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59792         * math/libm-test.inc (min_subnorm_value): New variable.
59793         (fma_test): Add more tests.
59794         (fma_test_towardzero): Likewise.
59795         (fma_test_downward): Likewise.
59796         (fma_test_upward): Likewise.
59797         (initialize): Set min_subnorm_value.
59799 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
59801         [BZ #14638]
59802         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
59803         0 + 0.
59804         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
59805         mode for addition resulting in exact zero.
59806         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
59807         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
59808         exact 0 + 0.
59809         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
59810         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
59811         * math/libm-test.inc (fma_test): Add more tests.
59812         (fma_test_towardzero): New function.
59813         (fma_test_downward): Likewise.
59814         (fma_test_upward): Likewise.
59815         (main): Call the new functions.
59817 2012-09-28  David S. Miller  <davem@davemloft.net>
59819         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
59821 2012-09-28  Roland McGrath  <roland@hack.frob.com>
59823         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
59824         instead of SIGALRM.
59826         * sysdeps/gnu/_G_config.h: Moved to ...
59827         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
59828         * sysdeps/mach/hurd/_G_config.h: Moved to ...
59829         * sysdeps/generic/_G_config.h: ... here.
59831         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
59833         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
59835         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
59836         Conditionalize target on [libnss_test1.so-version].
59838         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
59840         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
59841         (elfobjdir): Move out of conditionals.
59843         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
59844         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
59845         (__nss_lookup_function): Conditionalize label remove_from_tree on
59846         [!DO_STATIC_NSS || SHARED], matching its only use.
59848 2012-09-28  David S. Miller  <davem@davemloft.net>
59850         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
59851         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
59852         file.
59853         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
59854         sysdep_routines.
59855         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
59856         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
59857         when HWCAP_SPARC_CRYPTO is present.
59859 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59861         * io/tst-mknodat.c: Create a FIFO instead of a socket.
59863 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
59865         [BZ #6530]
59866         * stdio-common/vfprintf.c (process_string_arg): Revert
59867         2000-07-22 change.
59869 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
59871         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
59872         for testcase.
59873         * stdio-common/tst-sprintf.c: Include <locale.h>
59874         (main): Test sprintf's handling of incomplete multibyte
59875         characters.
59877 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
59879         * elf/dl-runtime.c (VERSYMIDX): Removed.
59880         * elf/dl-version.c (VERSYMIDX): Likewise.
59881         * elf/do-rel.h (VERSYMIDX): Likewise.
59882         (VALIDX): Likewise.
59883         * elf/dynamic-link.h (VERSYMIDX): Likewise.
59884         * elf/rtld.c (VALIDX): Likewise.
59885         (ADDRIDX): Likewise.
59886         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
59887         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
59888         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
59889         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
59890         (VALIDX): Likewise.
59891         (ADDRIDX): Likewise.
59893 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59895         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
59897 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
59899         [BZ #11438]
59900         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
59901         to global scope.
59902         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
59903         addresses are in the same scope as 192.0.2/24.
59904         * posix/gai.conf: Document new scope table defaults.
59906 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59908         [BZ #5298]
59909         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
59910         for ftell.  Compute offsets from write pointers instead.
59911         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
59913 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
59915         [BZ #14543]
59916         * libio/Makefile (tests): New test case tst-fseek.
59917         * libio/tst-fseek.c: New test case to verify that fseek/ftell
59918         combination works in wide mode.
59919         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
59920         state when the external buffer state changes.
59922 2012-09-27  David S. Miller  <davem@davemloft.net>
59924         [BZ #14376]
59925         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
59926         pass reloc->r_addend in as the 'high' argument to
59927         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
59929         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59931 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
59933         * rt/tst-aio2.c: Include <pthread.h>.
59934         * rt/tst-aio3.c: Likewise.
59936 2012-09-27  Steve Ellcey  <sellcey@mips.com>
59938         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
59940 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
59942         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
59943         contents on [SHARED].
59945 2012-09-26  Marek Polacek  <polacek@redhat.com>
59947         [BZ #14530]
59948         [BZ #13741]
59949         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
59950         for C++ and GCC <4.3 as well as for non GCC compilers.
59952 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
59954         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
59956 2012-09-25  Roland McGrath  <roland@hack.frob.com>
59958         * Makefile.in (all, install): Declare with .PHONY.
59959         Reported by Michael Hope <michael.hope@linaro.org>.
59961 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
59963         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
59964         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
59965         system header.
59966         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
59967         Likewise.
59968         (sydep_routines): Add the new and the internal functions.
59969         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
59970         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
59971         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
59972         (GLIBC_2.17): Add the new function.
59973         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
59974         (GLIBC_2.17): Likewise.
59975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
59976         (GLIBC_2.17): Likewise.
59977         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
59978         (GLIBC_2.17): Likewise.
59979         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
59981 2012-09-25  Alan Modra  <amodra@gmail.com>
59983         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
59984         Add release barrier before setting once_control to say
59985         initialisation is done.  Add hints on lwarx.  Use macro in
59986         place of isync.
59987         (clear_once_control): Add release barrier.
59989 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
59991         [BZ #13629]
59992         * math/s_clog.c (__clog): Handle more values close to |z| = 1
59993         specially.
59994         * math/s_clog10.c (__clog10): Likewise.
59995         * math/s_clog10f.c (__clog10f): Likewise.
59996         * math/s_clog10l.c (__clog10l): Likewise.
59997         * math/s_clogf.c (__clogf): Likewise.
59998         * math/s_clogl.c (__clogl): Likewise.
59999         * math/Makefile (libm-calls): Add x2y2m1.
60000         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
60001         (__x2y2m1): Likewise.
60002         (__x2y2m1l): Likewise.
60003         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
60004         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
60005         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
60006         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60007         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
60008         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
60009         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
60010         * sysdeps/i386/fpu/libm-test-ulps: Update.
60011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60013         [BZ #14621]
60014         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
60015         int as type of variable DEPTH.
60016         (glob): Use size_t instead of int as type of variables NEWCOUNT
60017         and OLD_PATHC.
60019 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60021         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60022         Add s_sincosf-sse2.
60023         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
60024         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
60025         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
60026         macros for using routine as __sincosf_ia32.
60027         Use macro for function declaration and weak_alias.
60028         * sysdeps/i386/fpu/libm-test-ulps: Update.
60030         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
60031         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60033         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
60034         subnormal argument.
60035         * math/s_cexpf.c (__cexpf): Likewise.
60036         * math/s_csinf.c (__csinf): Likewise.
60037         * math/s_csinhf.c (__csinhf): Likewise.
60038         * math/s_ctanf.c (__ctanf): Likewise.
60039         * math/s_ctanhf.c (__ctanhf): Likewise.
60040         * math/s_ccosh.c (__ccoshf): Likewise.
60041         * math/s_cexp.c (__cexpl): Likewise.
60042         * math/s_csin.c (__csin): Likewise.
60043         * math/s_csinh.c (__csinh): Likewise.
60044         * math/s_ctan.c (__ctan): Likewise.
60045         * math/s_ctanh.c (ctanh): Likewise.
60046         * math/s_ccoshl.c (__ccoshl): Likewise.
60047         * math/s_cexpl.c (__cexpl): Likewise.
60048         * math/s_csinl.c (__csinl): Likewise.
60049         * math/s_csinhl.c (__csinhl): Likewise.
60050         * math/s_ctanl.c (__ctanl): Likewise.
60051         * math/s_ctanhl.c (__ctanhl): Likewise.
60053 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
60055         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
60056         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
60057         (_IO_off_t): Define to __off_t, not _G_off_t.
60058         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
60059         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
60060         (_IO_wint_t): Define to wint_t, not _G_wint_t.
60061         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
60062         type of __dummy and __dummy2 fields.
60063         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
60064         (_G_ssize_t): Likewise.
60065         (_G_off_t): Likewise.
60066         (_G_pid_t): Likewise.
60067         (_G_uid_t): Likewise.
60068         (_G_wchar_t): Likewise.
60069         (_G_wint_t): Likewise.
60070         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
60071         (_G_ssize_t): Likewise.
60072         (_G_off_t): Likewise.
60073         (_G_pid_t): Likewise.
60074         (_G_uid_t): Likewise.
60075         (_G_wchar_t): Likewise.
60076         (_G_wint_t): Likewise.
60077         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
60078         (_G_ssize_t): Likewise.
60079         (_G_off_t): Likewise.
60080         (_G_pid_t): Likewise.
60081         (_G_uid_t): Likewise.
60082         (_G_wchar_t): Likewise.
60083         (_G_wint_t): Likewise.
60085 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60087         * malloc/arena.c: Include malloc-sysdep.h.
60088         (shrink_heap): Use check_may_shrink_heap to decide if madvise
60089         is sufficient to shrink the heap or an unmap is needed.
60090         * sysdeps/generic/malloc-sysdep.h: New file.  Define
60091         new function check_may_shrink_heap.
60092         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
60093         new function check_may_shrink_heap.
60095 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
60097         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
60098         comments.
60100 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
60102         * catgets/test-gencat.sh: Add "set -e".
60103         * elf/tst-pathopt.sh: Likewise.
60104         * grp/tst_fgetgrent.sh: Likewise.
60105         * iconvdata/run-iconv-test.sh: Likewise.
60106         * intl/tst-gettext.sh: Likewise.
60107         * intl/tst-gettext2.sh: Likewise.
60108         * intl/tst-gettext4.sh: Likewise.
60109         * intl/tst-gettext6.sh: Likewise.
60110         * intl/tst-translit.sh: Likewise.
60111         * io/ftwtest-sh: Likewise.
60112         * libio/test-freopen.sh: Likewise.
60113         * malloc/tst-mtrace.sh: Likewise.
60114         * posix/globtest.sh: Likewise.
60115         * posix/tst-getconf.sh: Likewise.
60116         * posix/wordexp-tst.sh: Likewise.
60117         * stdio-common/tst-printf.sh: Likewise.
60118         * stdio-common/tst-unbputc.sh: Likewise.
60119         * stdlib/tst-fmtmsg.sh: Likewise.
60120         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60121         * catgets/Makefile: Do not specify -e option when running
60122         testsuite shell scripts.
60123         * elf/Makefile: Likewise.
60124         * grp/Makefile: Likewise.
60125         * iconvdata/Makefile: Likewise.
60126         * intl/Makefile: Likewise.
60127         * io/Makefile: Likewise.
60128         * libio/Makefile: Likewise.
60129         * malloc/Makefile: Likewise.
60130         * posix/Makefile: Likewise.
60131         * stdio-common/Makefile: Likewise.
60132         * stdlib/Makefile: Likewise.
60133         * sysdeps/x86_64/Makefile: Likewise.
60135         * io/ftwtest-sh: Add copyright header.
60136         * posix/globtest.sh: Likewise.
60137         * posix/tst-getconf.sh: Likewise.
60138         * posix/wordexp-tst.sh: Likewise.
60139         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
60141 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
60143         [BZ #13679]
60144         * Makeconfig (+link): Defined as $(+link-static) if
60145         $(build-shared) isn't yes.
60146         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
60147         isn't yes.
60148         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
60150         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
60152         [BZ #14562]
60153         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
60154         new chunk size with MALLOC_ALIGN_MASK.
60156 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
60158         [BZ #5044]
60159         * stdio-common/printf_fphex.c: Include <stdbool.h> and
60160         <rounding-mode.h>.
60161         (__printf_fphex): Determine rounding using get_rounding_mode and
60162         round_away.
60163         * stdio-common/tst-printf-round.c (struct hex_test): New
60164         structure.
60165         (hex_tests): New variable.
60166         (test_hex_in_one_mode): New function.
60167         (do_test): Also run tests for hex float output.
60169 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
60171         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60172         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60173         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
60174         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
60175         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
60176         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
60177         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60178         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
60180 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
60182         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
60183         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
60184         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
60185         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
60187 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
60189         [BZ #14579]
60190         * elf/rtld.c (dl_main): Limit the check for self loading to normal
60191         mode only.
60192         * elf/tst-rtld-load-self.sh: New test.
60193         * elf/Makefile: Run it.
60195 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
60197         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
60198         (tst-writev-ENV): Remove.
60199         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
60201 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
60203         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
60205 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
60207         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
60208         unconditional.
60209         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
60210         Likewise.
60211         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
60212         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
60213         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
60214         Likewise.
60216 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
60218         [BZ #14587]
60219         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
60220         * config.make.in (have-cpp-asm-debuginfo): Removed.
60221         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
60222         * configure: Regenerated.
60224 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
60226         [BZ #5044]
60227         * stdio-common/printf_fp.c: Include <stdbool.h> and
60228         <rounding-mode.h>.
60229         (___printf_fp): Determine rounding using get_rounding_mode and
60230         round_away.
60231         * stdio-common/tst-printf-round.c: New file.
60232         * stdio-common/Makefile (tests): Add tst-printf-round.
60233         (link-libm): New variable.
60234         ($(objpfx)tst-printf-round): Depend in $(link-libm).
60236 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
60238         [BZ #14576]
60239         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
60240         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
60241         Likewise.
60242         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
60243         Likewise.
60245 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
60247         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
60248         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60249         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60250         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
60252 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
60254         [BZ #14518]
60255         * include/rounding-mode.h: New file.
60256         * sysdeps/generic/get-rounding-mode.h: Likewise.
60257         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
60258         * stdlib/strtod_l.c: Include <rounding-mode.h>.
60259         (MAX_VALUE): New macro.
60260         (MIN_VALUE): Likewise.
60261         (overflow_value): New function.
60262         (underflow_value): Likewise.
60263         (round_and_return): Use overflow_value and underflow_value to
60264         determine return values in overflow and underflow cases.  Use
60265         round_away to determine rounding depending on rounding mode.
60266         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
60267         determine return values in overflow and underflow cases.
60268         * stdlib/tst-strtod-round.c: Include <fenv.h>.
60269         (struct test_results): New structure.
60270         (struct test): Use struct test_results to store expected results
60271         for all rounding modes.
60272         (TEST): Include expected results for all rounding modes.
60273         (test_in_one_mode): New function.
60274         (do_test): Use test_in_one_mode to compute and check results.
60275         Check results for all rounding modes.
60276         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
60277         $(link-libm).
60279 2012-12-09  Allan McRae  <allan@archlinux.org>
60281         * sysdeps/i386/fpu/libm-test-ulps: Update
60283 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
60285         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
60286         (_G_int32_t): Likewise.
60287         (_G_uint16_t): Likewise.
60288         (_G_uint32_t): Likewise.
60289         (_G_HAVE_BOOL): Likewise.
60290         (_G_HAVE_ATEXIT): Likewise.
60291         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60292         (_G_HAVE_IO_FILE_OPEN): Likewise.
60293         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
60294         (_G_int32_t): Likewise.
60295         (_G_uint16_t): Likewise.
60296         (_G_uint32_t): Likewise.
60297         (_G_HAVE_BOOL): Likewise.
60298         (_G_HAVE_ATEXIT): Likewise.
60299         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60300         (_G_HAVE_IO_FILE_OPEN): Likewise.
60301         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
60302         (_G_int32_t): Likewise.
60303         (_G_uint16_t): Likewise.
60304         (_G_uint32_t): Likewise.
60305         (_G_HAVE_BOOL): Likewise.
60306         (_G_HAVE_ATEXIT): Likewise.
60307         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
60308         (_G_HAVE_IO_FILE_OPEN): Likewise.
60310 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
60312         * csu/libc-tls.c: Update copyright years.
60314 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
60316         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
60317         [!_G_USING_THUNKS]: Remove conditional code.
60318         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
60319         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
60321         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
60322         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
60323         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60324         (_G_VTABLE_LABEL_PREFIX): Likewise.
60325         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60326         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60327         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60328         (_G_VTABLE_LABEL_PREFIX): Likewise.
60329         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60330         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
60331         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
60332         (_G_VTABLE_LABEL_PREFIX): Likewise.
60333         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
60335 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
60337         * libio/Makefile: Include ../Makeconfig before tests.
60338         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
60339         only if $(build-shared) is yes.
60341         * iconv/gconv_db.c: Update copyright years.
60343 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60345         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
60346         unwind info if defined PIC. Fix special cases description.
60347         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
60349         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
60350         DP_HI_MASK entry.
60351         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
60353 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
60355         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
60357         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
60358         is NULL.
60360         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
60361         (LDLIBS-tst-chk4): This.
60362         (LDFLAGS-tst-chk5): Renamed to ...
60363         (LDLIBS-tst-chk5): This.
60364         (LDFLAGS-tst-chk6): Renamed to ...
60365         (LDLIBS-tst-chk6): This.
60366         (LDFLAGS-tst-lfschk4): Renamed to ...
60367         (LDLIBS-tst-lfschk4): This.
60368         (LDFLAGS-tst-lfschk5): Renamed to ...
60369         (LDLIBS-tst-lfschk5): This.
60370         (LDFLAGS-tst-lfschk6): Renamed to ...
60371         (LDLIBS-tst-lfschk6): This.
60373         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
60374         on $(common-objpfx)soversions.mk.
60376 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
60378         [BZ #10014]
60379         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
60380         example host name.
60382 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
60384         * malloc/arena.c (arena_get_retry): New function that gets
60385         another arena for the caller to try its request on.
60386         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
60387         current arena cannot fulfill the request.
60388         (__libc_memalign): Likewise.
60389         (__libc_memalign): Likewise.
60390         (__libc_pvalloc): Likewise.
60391         (__libc_calloc): Likewise.
60393 2012-09-05  John Tobey  <john.tobey@gmail.com>
60395         [BZ #13542]
60396         * manual/arith.texi (Operations on Complex): Fix description
60397         of carg branch cut.
60399 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60401         [BZ #10014]
60402         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
60403         host name.
60405         [BZ #10038]
60406         * manual/memory.texi (Memory): Make order of menu items match
60407         order of sections.
60409 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60411         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
60412         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
60413         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
60415 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60417         * csu/libc-tls.c (static_dtv): Renamed to ...
60418         (_dl_static_dtv): This.  Make it global.
60419         (_dl_initial_dtv): Removed.
60420         (__libc_setup_tls): Updated.
60421         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
60422         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
60423         DL_INITIAL_DTV.
60425 2012-09-06  Petr Machata  <pmachata@redhat.com>
60427         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
60428         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
60429         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
60430         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
60432 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60434         [BZ #14545]
60435         * csu/libc-tls.c (_dl_initial_dtv): New variable.
60436         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
60437         freeing dtv[-1].
60439 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
60441         [BZ #14544]
60442         * Makeconfig (link-static-before-libc): Replace $(+prector)
60443         with $(+prectorT).
60444         (link-static-after-libc): Replace $(+postctor) with
60445         $(+postctorT).
60446         (link-bounded): Replace $(+prector)/$(+postctor) with
60447         $(+prectorT)/$(+postctorT).
60448         (+prectorT): New macro.
60449         (+postctorT): Likewise.
60451 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
60453         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
60454         (round_str): Handle values above the maximum for IBM long double
60455         as inexact.
60456         * stdlib/tst-strtod-round.c (tests): Regenerated.
60458 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60460         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
60461         assembler flag.
60462         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
60463         zarch_nohighgprs around the zarch optimized routines.
60464         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
60465         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
60466         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
60467         for zarch.
60469 2012-09-05  David S. Miller  <davem@davemloft.net>
60471         * sysdeps/sparc/fpu/libm-test-ulps: Update.
60473         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
60474         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
60475         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
60476         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
60477         entries.
60479 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60481         * malloc/arena.c: Fold copyright years.
60482         * malloc/mcheck.c, malloc/memusage.c: Likewise.
60484 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60486         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
60488 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60490         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
60492 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60494         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
60495         change internal state upon failure.
60497 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
60499         * malloc/mcheck.c (mcheck_check_all): Fix typo.
60500         * malloc/memusage.c (mmap): Likewise.
60501         (mmap64, mremap): Likewise.  Adjust name in comment.
60503 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60505         * libio/fileops.c: Fix typos in comments.
60506         * libio/oldfileops.c: Likewise.
60507         * libio/wfileops.c: Likewise.
60509 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
60511         [BZ #1349]
60512         * malloc/Makefile (tests): Add tst-malloc-usable test case.
60513         (tst-malloc-usable-ENV): Set environment for test case.
60514         * malloc/hooks.c (malloc_check_get_size): New function to get
60515         requested size.
60516         * malloc/malloc.c (musable): Use malloc_check_get_size.
60517         * malloc/tst-malloc-usable.c: New test case.
60519 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60521         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
60523 2012-09-05  Allan McRae  <allan@archlinux.org>
60525         [BZ #13966]
60526         * configure.in (CXX_SYSINCLUDES): Use compiler output to
60527         determine header location.
60528         * configure: Regenerated.
60530 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
60532         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
60533         float format.
60534         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
60535         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
60536         format.
60537         (test): Regenerate.
60539 2012-09-04  David S. Miller  <davem@davemloft.net>
60541         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
60542         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
60543         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
60545 2012-09-04  Florian Weimer  <fweimer@redhat.com>
60547         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
60548         failures.
60550         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
60552 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
60554         [BZ #9914]
60555         * libio/iogetdelim.c: Include <limits.h>.
60556         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
60557         + len + 1 would overflow.
60559 2012-09-03  Andreas Jaeger  <aj@suse.de>
60561         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60562         * sysdeps/i386/fpu/libm-test-ulps: Update.
60564 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
60566         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
60567         Add s_sinf-sse2, s_conf-sse2.
60569         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
60570         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
60571         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
60572         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
60574         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
60575         for using routine as __sinf_ia32.
60576         Use macro for function declaration and weak_alias.
60577         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
60578         for using routine as __cosf_ia32.
60579         Use macro for function declaration and weak_alias.
60581         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
60582         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
60584         * sysdeps/x86_64/fpu/s_sinf.S: New file.
60585         * sysdeps/x86_64/fpu/s_cosf.S: New file.
60586         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
60588         * math/libm-test.inc (cos_test): Add more test cases.
60589         (sin_test): Likewise.
60590         (sincos_test): Likewise.
60592 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
60594         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
60595         (IFUNC_RESOLVE): Make pointers to the specialized implementations
60596         hidden.
60597         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
60599 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
60601         [BZ #14538]
60602         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
60603         first element of the GOT.
60604         (elf_machine_load_address): Return the difference between
60605         the runtime address of _DYNAMIC and elf_machine_dynamic ().
60607 2012-09-01  Allan McRae  <allan@archlinux.org>
60609         [BZ #13412]
60610         * configure.in (AWK): Require gawk version 3.0 or later.
60611         * configure: Regenerated.
60613 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
60615         * sysdeps/unix/sysv/linux/kernel-features.h
60616         (__ASSUME_POSIX_CPU_TIMERS): Remove.
60617         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
60618         [__NR_clock_getres]: Make code unconditional.
60619         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
60620         (clock_getcpuclockid): Remove code left unreachable by removal of
60621         conditionals.
60622         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
60623         code unconditional.
60624         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60625         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60626         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
60627         Make code unconditional.
60628         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
60629         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60630         * sysdeps/unix/sysv/linux/clock_settime.c
60631         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
60632         conditional code.
60633         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
60634         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
60636 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
60638         [BZ #14476]
60639         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
60640         scripts/test-installation.pl.
60642         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
60643         and $ld_so_version if it is set.
60645 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
60647         [BZ #14516]
60648         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
60649         failure if reading from procfs failed.
60650         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
60652 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60654         * sysdeps/unix/sysv/linux/kernel-features.h
60655         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
60656         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60657         Remove conditional code.
60658         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60659         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
60660         Remove conditional code.
60661         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60662         * sysdeps/unix/sysv/linux/i386/fxstat.c
60663         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60664         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60665         * sysdeps/unix/sysv/linux/i386/fxstatat.c
60666         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60667         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60668         * sysdeps/unix/sysv/linux/i386/lxstat.c
60669         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
60670         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60671         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
60672         Remove conditional code.
60673         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60674         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
60675         Remove conditional code.
60676         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60677         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
60678         <kernel-features.h>.
60679         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
60680         Remove.
60681         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
60682         Remove conditional code.
60683         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
60684         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
60685         Remove conditional.
60687 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
60689         [BZ #5400]
60690         * NEWS: Add fixed bug number.
60692 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
60694         [BZ #14519]
60695         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
60696         underflowing exponent in case of negative sign.
60697         * stdlib/tst-strtod-round-data: Add more tests.
60698         * stdlib/tst-strtod-round.c (tests): Regenerated.
60700         [BZ #3479]
60701         * stdlib/strtod_l.c (NDIG): Remove.
60702         (HEXNDIG): Likewise.
60703         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
60704         smallest representable value.
60705         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
60706         lie within an exact representation of 1/2 ulp of the result.
60707         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
60708         unconditionally.
60709         (TENS_P9_IDX): Define unconditionally.
60710         (TENS_P9_SIZE): Likewise.
60711         (TENS_P10_IDX): Likewise.
60712         (TENS_P10_SIZE): Likewise.
60713         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
60714         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
60715         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
60716         entries for 10^2^13 and 10^2^14.
60717         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
60718         (TENS_P13_IDX): Define.
60719         (TENS_P13_SIZE): Likewise.
60720         (TENS_P14_IDX): Likewise.
60721         (TENS_P14_SIZE): Likewise.
60722         (_fpioconst_pow10): Change array size to
60723         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
60724         unconditional.
60725         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
60726         1024]: Add entries for 10^2^13 and 10^2^14.
60727         [LAST_POW10 > _LAST_POW10]: Remove #error.
60728         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
60729         (_fpioconst_pow10): Change array size to
60730         FPIOCONST_POW10_ARRAY_SIZE.
60731         * stdlib/gen-fpioconst.c: New file.
60732         * stdlib/gen-tst-strtod-round.c: Likewise.
60733         * stdlib/tst-strtod-round-data: Likewise.
60734         * stdlib/tst-strtod-round.c: Likewise.
60735         * stdlib/Makefile (tests): Add tst-strtod-round.
60737         [BZ #14459]
60738         * stdlib/strtod_l.c: Include <stdint.h>.
60739         (NDEBUG): Do not define.
60740         (round_and_return): Change EXPONENT parameter to type intmax_t.
60741         Rearrange calculations to avoid internal overflow possibilities.
60742         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
60743         Rearrange calculations to avoid internal overflow possibilities.
60744         Assert that number fits inside MPNSIZE limbs.
60745         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
60746         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
60747         calculations and add assertions to avoid internal overflow
60748         possibilities.  Add casts to avoid signed/unsigned operations.
60749         * stdlib/tst-strtod-overflow.c: New file.
60750         * stdlib/Makefile (tests): Add tst-strtod-overflow.
60752 2012-08-25  Marek Polacek  <polacek@redhat.com>
60754         * time/time.h: Fix some typos in comments.
60756 2012-08-23  Roland McGrath  <roland@hack.frob.com>
60758         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
60759         * posix/tst-rfc3484-2.c: Likewise.
60760         * posix/tst-rfc3484-3.c: Likewise.
60762 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
60764         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
60765         (EF_ARM_ABI_FLOAT_HARD): Likewise.
60767 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
60769         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
60770         #include of fxstatat64.c.
60772 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60774         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
60775         * shadow/getspent_r.c: Likewise.
60776         * shadow/getspnam.c: Likewise.
60777         * shadow/getspnam_r.c: Likewise.
60778         * gshadow/getsgent.c: Likewise.
60779         * gshadow/getsgent_r.c: Likewise.
60780         * gshadow/getsgnam.c: Likewise.
60781         * gshadow/getsgnam_r.c: Likewise.
60782         * inet/getnetbyad.c: Likewise.
60783         * inet/getnetbyad_r.c: Likewise.
60784         * inet/getnetbynm.c: Likewise.
60785         * inet/getnetbynm_r.c: Likewise.
60786         * inet/getnetent.c: Likewise.
60787         * inet/getnetent_r.c: Likewise.
60788         * inet/getproto.c: Likewise.
60789         * inet/getproto_r.c: Likewise.
60790         * inet/getprtent.c: Likewise.
60791         * inet/getprtent_r.c: Likewise.
60792         * inet/getprtname.c: Likewise.
60793         * inet/getprtname_r.c: Likewise.
60794         * inet/getrpcbyname.c: Likewise.
60795         * inet/getrpcbyname_r.c: Likewise.
60796         * inet/getrpcbynumber.c: Likewise.
60797         * inet/getrpcbynumber_r.c: Likewise.
60798         * inet/getrpcent.c: Likewise.
60799         * inet/getrpcent_r.c: Likewise.
60800         * inet/getaliasent.c: Likewise.
60801         * inet/getaliasent_r.c: Likewise.
60802         * inet/getaliasname.c: Likewise.
60803         * inet/getaliasname_r.c: Likewise.
60804         * nscd/getgrgid_r.c: Likewise.
60805         * nscd/getgrnam_r.c: Likewise.
60806         * nscd/gethstbyad_r.c: Likewise.
60807         * nscd/gethstbynm3_r.c: Likewise.
60808         * nscd/getpwnam_r.c: Likewise.
60809         * nscd/getpwuid_r.c: Likewise.
60810         * nscd/getsrvbynm_r.c: Likewise.
60811         * nscd/getsrvbypt_r.c: Likewise.
60812         * nscd/gai.c: Likewise.
60814         * configure.in (build_nscd): New substituted variable, set
60815         by --disable-build-nscd and defaults to $use_nscd.
60816         * configure: Regenerated.
60817         * config.make.in (build-nscd): New substituted variable.
60818         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
60819         Change conditional to require [$(build-nscd) = yes] as well.
60820         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
60822         [BZ# 13696]
60823         * configure.in (use_nscd): New substituted variable, set by
60824         --disable-nscd.  If enabled, define USE_NSCD.
60825         * configure: Regenerated.
60826         * config.h.in: Add USE_NSCD.
60827         * config.make.in (use-nscd): New substituted variable.
60828         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
60829         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
60830         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
60831         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
60832         (CFLAGS-getgrnam_r.c): Likewise.
60833         (CFLAGS-initgroups.c): Likewise.
60834         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
60835         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
60836         Variables removed.
60837         * inet/getnetgrent_r.c
60838         (nscd_setnetgrent): New function, broken out of ...
60839         (setnetgrent): ... here.  Call it.
60840         (innetgr): Conditionalize nscd bits on [USE_NSCD].
60841         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
60842         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
60843         * nscd/Makefile (routines, aux): Move definitions after include of
60844         Makeconfig.  Conditionalize on [$(use-nscd) != no].
60845         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
60846         Conditionalize on [USE_NSCD].
60847         (is_nscd, nscd_init_cb): Likewise.
60848         (nss_load_library): Conditionalize init callback on [USE_NSCD].
60849         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
60850         * nss/nss_db/db-init.c: Likewise.
60851         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
60852         [USE_NSCD].
60853         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
60854         (make_request): Use it.
60855         (cache_valid_p): New function.
60856         (__check_pf): Use it.
60857         * NEWS: Add item for --disable-nscd.
60859 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
60861         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
60862         to support sed >= 4.2.1-20-ga9bf076.
60863         * configure: Regenerated.
60865 2012-08-22  Roland McGrath  <roland@hack.frob.com>
60867         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
60868         Conditionalize whole body on [IREL].
60870 2012-08-22  Jeff Law <law@redhat.com>
60872         [BZ #14505]
60873         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
60874         if the family is PF_UNSPEC.
60876 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
60878         * Makerules (lib-version): Rename from V.
60879         (install-lib-nosubdir): Change V to lib-version.
60881 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
60883         [BZ #14252]
60884         * powerpc32/power6/wcschr.c: New file.
60885         * powerpc32/power6/wcscpy.c: New file.
60886         * powerpc32/power6/wcsrchr.c: New file.
60887         * powerpc64/power6/wcschr.c: New file.
60888         * powerpc64/power6/wcscpy.c: New file.
60889         * powerpc64/power6/wcsrchr.c: New file.
60891 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60893         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
60894         (two_way_short_needle): Use it.
60895         * string/strstr.c (AVAILABLE1_USES_J): Define.
60896         * string/strcasestr.c: Likewise.
60898         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
60899         array references.
60900         * string/strcasestr.c (TOLOWER): Make side-effect safe.
60902         [BZ #11607]
60903         * NEWS: Add an entry.
60904         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
60905         define their defaults.
60906         (two_way_short_needle): Detect end-of-string on-the-fly.
60907         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
60908         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
60909         * string/bug-strcasestr1.c: New test.
60910         * string/Makefile: Run it.
60912 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
60914         [BZ #11607]
60915         * string/str-two-way.h (two_way_short_needle): Optimize matching of
60916         the first character.
60918 2012-08-21  Roland McGrath  <roland@hack.frob.com>
60920         * csu/elf-init.c (__libc_csu_irel): Function removed.
60921         * csu/libc-start.c (apply_irel): New function.
60922         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
60924 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
60926         * sysdeps/unix/sysv/linux/kernel-features.h
60927         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
60928         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60929         <kernel-features.h>.
60930         [__NR_fadvise64_64]: Make code unconditional.
60931         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
60932         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60933         !__NR_fadvise64_64)]: Likewise.
60934         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
60935         !__NR_fadvise64_64))]: Likewise.
60936         [__NR_fadvise64]: Make code unconditional.
60937         [!__NR_fadvise64]: Remove conditional code.
60938         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
60939         <kernel-features.h>.
60940         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60941         unconditional.
60942         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60943         conditional code.
60944         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
60945         not include <kernel-features.h>.
60946         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60947         unconditional.
60948         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60949         conditional code.
60950         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
60951         include <kernel-features.h>.
60952         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
60953         unconditional.
60954         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
60955         conditional code.
60957 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
60959         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
60960         slight instruction rearrangements per scrollpipe analysis.
60961         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
60963 2012-08-20  Roland McGrath  <roland@hack.frob.com>
60965         * manual/syslog.texi (syslog; vsyslog, closelog):
60966         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
60967         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
60969         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
60970         DSOCAPS to match condition on defining it.
60972 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
60974         * sysdeps/unix/sysv/linux/kernel-features.h
60975         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
60976         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
60977         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60978         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60979         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
60980         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60981         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60982         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
60983         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
60984         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
60986         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
60987         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
60989         * sysdeps/unix/sysv/linux/kernel-features.h
60990         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
60991         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
60992         unconditional.
60993         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60994         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
60995         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
60996         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
60997         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
60998         Make code unconditional.
60999         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61000         (__mmap64) [!__NR_mmap2]: Likewise.
61001         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
61002         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
61003         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61004         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
61005         [__NR_mmap2]: Make code unconditional.
61006         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
61007         (__mmap64) [!__NR_mmap2]: Likewise.
61009 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61011         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
61013 2012-08-18  Andreas Jaeger  <aj@suse.de>
61015         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
61017 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61019         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
61020         * include/unistd.h (__have_sock_cloexec): Likewise.
61021         (__have_pipe2): Likewise.
61022         (__have_dup3): Likewise.
61024 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
61026         [BZ #9685]
61027         * include/unistd.h (__have_pipe2): Change define into an extern int.
61028         (__have_dup3): Likewise.
61029         * socket/have_sock_cloexec.c: Include fcntl.h.
61030         (__have_pipe2): New variable.
61031         (__have_dup3): Likewise.
61033 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
61035         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
61037 2012-08-17  Marek Polacek  <polacek@redhat.com>
61039         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
61040         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
61042 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61044         * configure.in: Add AC_SUBST for sysheaders.
61045         * configure: Regenerated.
61046         * config.make.in (sysheaders): New substituted variable.
61048         * sysdeps/unix/mkfifo.c: Moved ...
61049         * sysdeps/posix/mkfifo.c: ... here.
61050         * sysdeps/unix/mkfifoat.c: Moved ...
61051         * sysdeps/posix/mkfifoat.c: ... here.
61053         * sysdeps/unix/utime.c: Moved ...
61054         * sysdeps/posix/utime.c: ... here.
61056         * sysdeps/unix/time.c: Moved ...
61057         * sysdeps/posix/time.c: ... here.
61058         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
61059         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
61061         * sysdeps/unix/nice.c: Moved ...
61062         * sysdeps/posix/nice.c: ... here.
61064         * sysdeps/unix/alarm.c: Moved ...
61065         * sysdeps/posix/alarm.c: ... here.
61067         * intl/Makefile ($(codeset_mo)): Depend on the input file.
61069 2012-08-17  Jeff Law <law@redhat.com>
61071         * intl/Makefile (codeset_mo): New variable.
61072         ($(codeset_mo)): New target.
61073         (tst-codeset.out): Depend on that.  Remove explicit rule.
61074         (tst-gettext3.out, tst-gettext5.out): Likewise.
61075         (LOCPATH-ENV, tst-codeset-ENV): New variables.
61076         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
61077         * intl/tst-codeset.sh: Remove.
61078         * intl/tst-gettext3.sh: Likewise.
61079         * intl/tst-gettext5.sh: Likewise.
61081 2012-08-17  Roland McGrath  <roland@hack.frob.com>
61083         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
61084         * sysdeps/unix/syscalls.list: ... here.
61086         * sysdeps/posix/getaddrinfo.c
61087         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
61088         (gaiconf_init, gaiconf_reload): Use them.
61089         [!_STATBUF_ST_NSEC]
61090         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
61091         Define using time_t rather than struct timespec.
61093         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
61094         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
61095         Macros removed.
61096         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
61097         [!NO_THREADS].
61098         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
61099         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
61100         Likewise.
61102         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
61103         __libc_cleanup_push argument.
61105         * bits/param.h: New file.
61106         * misc/sys/param.h: New file.
61107         * include/sys/param.h: New file.
61108         * misc/Makefile (headers): Add bits/param.h.
61109         * sysdeps/generic/sys/param.h: File removed.
61110         * sysdeps/unix/sysv/linux/bits/param.h: New file.
61111         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
61112         * sysdeps/mach/hurd/bits/param.h: New file.
61113         * sysdeps/mach/hurd/sys/param.h: File removed.
61115         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
61116         last change.
61118         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
61119         [_IO_MTSAFE_IO].
61120         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
61121         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
61122         New macros.
61124         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
61125         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
61126         rather than -D_IO_MTSAFE_IO conditionally.
61127         * stdio-common/Makefile (CPPFLAGS): Likewise.
61128         * wcsmbs/Makefile (CPPFLAGS): Likewise.
61129         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
61130         Use $(libio-mtsafe).
61131         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
61132         of -D_IO_MTSAFE_IO.
61133         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
61134         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
61135         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
61136         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
61137         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
61138         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
61139         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
61140         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
61141         (CFLAGS-fread_u_chk.c): Likewise.
61142         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
61143         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
61144         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
61145         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
61146         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
61147         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
61148         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
61149         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
61150         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
61152         * libio/Makefile: Test [$(libc-reentrant) = yes]
61153         instead of [$(filter %REENTRANT, $(defines)) nonempty].
61155         * Makeconfig
61156         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
61157         * sysdeps/pthread/configure: File removed.
61158         * sysdeps/pthread/Makeconfig: New file.
61159         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
61160         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
61162 2012-08-16  Gary Benson  <gbenson@redhat.com>
61164         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
61165         unmapping the first object in a namespace.
61167 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61169         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
61170         (__internal_setnetgrent): ... this.  Add internal_function to
61171         definition.  Add libc_hidden_def.
61172         (setnetgrent): Update caller.
61173         (internal_endnetgrent): Renamed to ...
61174         (__internal_endnetgrent): ... this.  Add internal_function to
61175         definition.  Add libc_hidden_def.
61176         (endnetgrent): Update caller.
61177         (internal_getnetgrent_r): Renamed to ...
61178         (__internal_getnetgrent_r): ... this.  Add internal_function to
61179         definition.  Add libc_hidden_def.
61180         (__getnetgrent_r): Update caller.
61181         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
61183 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61185         * stdlib/longlong.h: Update from GCC.
61187 2012-08-16  Roland McGrath  <roland@hack.frob.com>
61189         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
61190         on _QL, which is set by umul_ppmm but never used.
61191         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
61192         variables, which are set by GMP macros but never used.
61193         * stdio-common/_itowa.c (_itowa): Likewise.
61194         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
61195         * stdlib/mod_1.c (mpn_mod_1): Likewise.
61197 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
61199         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
61200         struct La_sh_regs is not constant.
61201         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
61202         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
61203         and struct La_sparc64_regs are not constant.
61205 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
61207         * sysdeps/unix/sysv/linux/kernel-features.h
61208         (__ASSUME_POSIX_TIMERS): Remove.
61209         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
61210         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61211         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
61212         Make code unconditional.
61213         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61214         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
61215         Make code unconditional.
61216         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61217         * sysdeps/unix/sysv/linux/clock_nanosleep.c
61218         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
61219         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61220         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
61221         Make code unconditional.
61222         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
61223         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
61224         (__libc_missing_posix_timers): Remove.
61226 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61228         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
61229         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
61231         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
61233         * elf/dl-sym.c: Include <stdlib.h>.
61235         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
61236         constants, which avoids warnings in 32-bit builds.
61238         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
61239         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
61241         * misc/lseek.c: File moved to ...
61242         * io/lseek.c: ... here.
61244         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
61246         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
61247         shifting LEN more than 31 bits at once.
61249 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
61251         [BZ #14195]
61252         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
61253         segmentation fault for a case of two empty input strings.
61254         * string/test-strncasecmp.c (check1): Renamed to...
61255         (bz12205): ...this.
61256         (bz14195): Add new testcase for two empty input strings and N > 0.
61257         (test_main): Call new testcase, adapt for renamed function.
61259 2012-08-15  Andreas Jaeger  <aj@suse.de>
61261         [BZ #14090]
61262         * crypt/md5test2.c: New test, based on test supplied by Serge
61263         Belyshev <belyshev@depni.sinp.msu.ru>.
61264         * crypt/Makefile (xtests): Add md5test-giant..
61265         * crypt/Makefile ($(objpfx)md5test-giant): Add.
61267 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
61269         [BZ #14090]
61270         * crypt/md5.c (md5_process_block): Don't assume the buffer
61271         length is less than 2**32.
61272         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
61273         length is less than 2**64.
61275 2012-08-15  Roland McGrath  <roland@hack.frob.com>
61277         * string/str-two-way.h: Include <sys/param.h>.
61278         (MAX): Macro removed.
61280         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
61281         Move #define and #undef of memmove to just before and after
61282         including <string.h>.
61284         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
61285         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
61286         and after including <string.h>.  Move declarations of
61287         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
61288         to before #include "string/memmove.c".
61290         * include/dirent.h: Declare __getdirentries.
61292         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
61293         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
61295 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
61297         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
61298         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
61299         * sysdeps/i386/configure: Regenerated.
61300         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
61301         STABS_CURRENT_FILE, and STABS_FUN.
61302         (END): Remove call to STABS_FUN_END.
61303         (STABS_CURRENT_FILE1): Delete.
61304         (STABS_CURRENT_FILE): Likewise.
61305         (STABS_FUN): Likewise.
61306         (STABS_FUN_END): Likewise.
61307         (STABS_FUN2): Likewise.
61308         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
61309         * sysdeps/x86_64/configure: Regenerated.
61311 2012-08-14  Roland McGrath  <roland@hack.frob.com>
61313         * elf/dl-open.c: Include <atomic.h>.
61314         * elf/dl-lookup.c: Likewise.
61316 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
61318         * sysdeps/unix/sysv/linux/kernel-features.h
61319         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
61320         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
61321         unconditionally.
61322         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
61323         unconditionally.
61324         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
61325         condition on __ASSUME_CLONE_THREAD_FLAGS.
61327 2012-08-14  Andreas Jaeger  <aj@suse.de>
61329         * sysdeps/i386/fpu/libm-test-ulps: Update.
61331 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
61333         * include/atomic.h (atomic_exchange_and_add): Split into ...
61334         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
61335         New atomic macros.
61337 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
61339         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61341 2012-08-13  Jeff Law <law@redhat.com>
61343         * manual/stdio.texi (snprintf): Clarify handling of the trailing
61344         null byte in the output string.
61346 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
61348         * sysdeps/unix/sysv/linux/kernel-features.h
61349         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
61350         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
61351         (__ASSUME_ARG_MAX_STACK_BASED): Define.
61352         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
61353         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
61354         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
61355         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
61357 2012-08-09  Jeff Law <law@redhat.com>
61359         [BZ #13939]
61360         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
61361         When avoid_arena is set, don't retry in the that arena.  Pick the
61362         next one, whatever it might be.
61363         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
61364         (arena_lock): Pass in new parameter to arena_get2.
61365         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
61366         arena_get2.
61367         (__libc_malloc): Unify retrying after main arena failure with
61368         __libc_memalign version.
61369         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
61371 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
61373         [BZ #14166]
61374         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
61375         to __redirect_strstr.
61376         (__strstr_sse42): Use typeof __redirect_strstr.
61377         (__strstr_ia32): Likewise.
61378         (__libc_strstr): New prototype.
61379         (strstr): Renamed to ...
61380         (__libc_strstr): This.
61381         (strstr): New strong alias of __libc_strstr.
61382         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
61383         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
61384         __redirect_time.
61385         Include <time.h>.
61386         (__libc_time): New prototype.
61387         (time_ifunc): Replace time with __libc_time.
61388         (time): New strong alias and hidden definition of __libc_time.
61389         (__GI_time): Remove strong alias.
61390         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
61391         Include <stddef.h>.
61392         (memmove): Redefined to __redirect_memmove.
61393         (__memmove_sse2): Use typeof __redirect_memmove.
61394         (__memmove_ssse3): Likewise.
61395         (__memmove_ssse3_back): Likewise.
61396         (__libc_memmove): New prototype.
61397         (memmove): Renamed to ...
61398         (__libc_memmove): This.
61399         (memmove): New strong alias of __libc_memmove.
61401 2012-08-08  Mark Salter  <msalter@redhat.com>
61403         * elf/elf.h
61404         (R_MN10300_TLS_GD): Define.
61405         (R_MN10300_TLS_LD): Likewise.
61406         (R_MN10300_TLS_LDO): Likewise.
61407         (R_MN10300_TLS_GOTIE): Likewise.
61408         (R_MN10300_TLS_IE): Likewise.
61409         (R_MN10300_TLS_LE): Likewise.
61410         (R_MN10300_TLS_DTPMOD): Likewise.
61411         (R_MN10300_TLS_DTPOFF): Likewise.
61412         (R_MN10300_TLS_TPOFF): Likewise.
61413         (R_MN10300_SYM_DIFF): Likewise.
61414         (R_MN10300_ALIGN): Likewise.
61415         (R_MN10300_NUM): Update.
61417 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
61419         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
61420         Remove.
61422 2012-08-08  Roland McGrath  <roland@hack.frob.com>
61424         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
61426         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
61427         sysdeps/unix -> sysdeps/posix move.
61428         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61430 2012-08-07      Allan McRae     <allan@archlinux.org>
61432         [BZ #14303]
61433         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
61434         (SUNOS_CPP): Likewise.
61435         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
61436         not found.
61437         (open_input): Call CPP using execvp.
61439 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61441         * sysdeps/unix/sysv/linux/kernel-features.h
61442         (__ASSUME_PROT_GROWSUPDOWN): Remove.
61443         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61444         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61445         (__ASSUME_WAITID_SYSCALL): Likewise.
61446         * sysdeps/unix/sysv/linux/dl-execstack.c
61447         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
61448         code unconditional.
61449         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
61450         conditional code.
61451         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
61452         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
61453         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
61454         code.
61455         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
61456         unconditional.
61457         [__ASSUME_WAITID_SYSCALL]: Likewise.
61458         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
61460 2012-08-07  Roland McGrath  <roland@hack.frob.com>
61462         * sysdeps/unix/closedir.c: Renamed to ...
61463         * sysdeps/posix/closedir.c: ... here.
61464         * sysdeps/unix/dirfd.c: Renamed to ...
61465         * sysdeps/posix/dirfd.c: ... here.
61466         * sysdeps/unix/dirstream.h: Renamed to ...
61467         * sysdeps/posix/dirstream.h: ... here.
61468         * sysdeps/unix/fdopendir.c: Renamed to ...
61469         * sysdeps/posix/fdopendir.c: ... here.
61470         * sysdeps/unix/opendir.c: Renamed to ...
61471         * sysdeps/posix/opendir.c: ... here.
61472         * sysdeps/unix/readdir.c: Renamed to ...
61473         * sysdeps/posix/readdir.c: ... here.
61474         * sysdeps/unix/readdir_r.c: Renamed to ...
61475         * sysdeps/posix/readdir_r.c: ... here.
61476         * sysdeps/unix/rewinddir.c: Renamed to ...
61477         * sysdeps/posix/rewinddir.c: ... here.
61478         * sysdeps/unix/seekdir.c: Renamed to ...
61479         * sysdeps/posix/seekdir.c: ... here.
61480         * sysdeps/unix/telldir.c: Renamed to ...
61481         * sysdeps/posix/telldir.c: ... here.
61482         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
61483         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
61484         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
61485         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
61487         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
61488         * bits/fcntl.h: ... here.
61490         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
61491         not 0.
61492         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
61493         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
61494         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
61495         (struct flock): Move l_start, l_len to the beginning.
61496         Use __pid_t for l_pid.
61497         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
61498         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
61499         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
61500         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
61501         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
61502         [__USE_LARGEFILE64] (struct flock64): New type.
61503         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
61505         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
61506         * bits/dirent.h: ... here.
61508         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
61509         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
61511 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
61513         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61514         Change from 2.6.0 to 2.6.16.
61515         * sysdeps/unix/sysv/linux/configure: Regenerated.
61516         * sysdeps/unix/sysv/linux/kernel-features.h
61517         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
61518         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
61519         version.
61520         (__ASSUME_UTIMES): Likewise.
61521         (__ASSUME_CLONE_STOPPED): Remove.
61522         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
61523         architectures, not kernel version.
61524         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
61525         (__ASSUME_NO_CLONE_DETACHED): Likewise.
61526         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
61527         (__ASSUME_WAITID_SYSCALL): Likewise.
61528         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
61529         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
61530         * README: State 2.6.16 as minimum Linux kernel version.  Do not
61531         refer to older versions.
61533 2012-08-06  Roland McGrath  <roland@hack.frob.com>
61535         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
61536         Define alphasort64 as an alias.
61537         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
61538         Define versionsort64 as an alias.
61539         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
61540         Define scandir64 as an alias.
61541         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
61542         Define scandirat64 as an alias.
61543         * dirent/alphasort64.c (alphasort64):
61544         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
61545         * dirent/versionsort64.c: Likewise.
61546         * dirent/scandir64.c: Likewise.
61547         * dirent/scandirat64.c: Likewise.
61548         * sysdeps/wordsize-64/alphasort.c: File removed.
61549         * sysdeps/wordsize-64/alphasort64.c: File removed.
61550         * sysdeps/wordsize-64/scandir.c: File removed.
61551         * sysdeps/wordsize-64/scandir64.c: File removed.
61552         * sysdeps/wordsize-64/scandirat.c: File removed.
61553         * sysdeps/wordsize-64/scandirat64.c: File removed.
61554         * sysdeps/wordsize-64/versionsort.c: File removed.
61555         * sysdeps/wordsize-64/versionsort64.c: File removed.
61556         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
61557         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
61558         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
61559         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
61560         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
61561         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
61562         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
61563         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
61565         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
61566         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61567         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
61568         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61569         [defined __arch64__ || defined __sparcv9]
61570         (__INO_T_MATCHES_INO64_T): New macro.
61571         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61572         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
61573         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
61574         * sysdeps/unix/sysv/linux/bits/dirent.h
61575         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
61576         (_DIRENT_MATCHES_DIRENT64): New macro.
61578         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
61579         Define lockf64 as an alias.
61580         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
61581         Define fseeko64 as an alias.
61582         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
61583         Define ftello64 as an alias.
61584         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
61585         Define _IO_fgetpos64 and fgetpos64 as aliases.
61586         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
61587         Define _IO_fsetpos64 and fsetpos64 as aliases.
61588         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
61589         Conditionalize body on this.
61590         * libio/fseeko64.c: Likewise.
61591         * libio/ftello64.c: Likewise.
61592         * libio/iofgetpos64.c: Likewise.
61593         * libio/iofsetpos64.c: Likewise.
61594         * sysdeps/wordsize-64/lockf.c: File removed.
61595         * sysdeps/wordsize-64/lockf64.c: File removed.
61596         * sysdeps/wordsize-64/fseeko.c: File removed.
61597         * sysdeps/wordsize-64/fseeko64.c: File removed.
61598         * sysdeps/wordsize-64/ftello.c: File removed.
61599         * sysdeps/wordsize-64/ftello64.c: File removed.
61600         * sysdeps/wordsize-64/iofgetpos.c: File removed.
61601         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
61602         * sysdeps/wordsize-64/iofsetpos.c: File removed.
61603         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
61604         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
61605         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
61606         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
61607         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
61608         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
61609         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
61610         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
61611         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
61612         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
61613         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
61615         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61616         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
61617         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
61618         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
61619         [defined __arch64__ || defined __sparcv9]
61620         (__OFF_T_MATCHES_OFF64_T): New macro.
61621         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
61622         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
61623         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
61624         (__OFF_T_MATCHES_OFF64_T): New macro.
61626 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61628         * stdlib/secure-getenv.c (__secure_getenv): Replace
61629         GLIBC_2_16 with GLIBC_2_17.
61631 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
61633         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
61634         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
61636 2012-08-03  David S. Miller  <davem@davemloft.net>
61638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61640 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61642         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
61643         Remove.
61644         (__ASSUME_CORRECT_SI_PID): Likewise.
61645         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
61646         (__ASSUME_TMPFS_NAME): Likewise.
61647         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
61648         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
61649         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
61650         (HAVE_AUX_SECURE): Make definition unconditional.
61651         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
61652         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
61654 2012-08-03  Roland McGrath  <roland@hack.frob.com>
61656         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
61657         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
61658         * sysdeps/mach/hurd/eloop-threshold.h: New file.
61659         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
61660         __eloop_threshold instead of SYMLOOP_MAX.
61662         * sysdeps/generic/eloop-threshold.h: New file.
61663         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
61664         of MAXSYMLINKS.
61665         * elf/chroot_canon.c (chroot_canon): Likewise.
61667 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
61669         [BZ #13717]
61670         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
61671         Change to 2.6.0 everywhere.
61672         * sysdeps/unix/sysv/linux/configure: Regenerated.
61673         * sysdeps/unix/sysv/linux/kernel-features.h
61674         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
61675         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
61676         kernel versions.
61677         (__ASSUME_POSIX_TIMERS): Define unconditionally.
61678         (__ASSUME_FUTEX_REQUEUE): Remove.
61679         (__ASSUME_STATFS64): Define unconditionally.
61680         (__ASSUME_AT_SECURE): Likewise.
61681         (__ASSUME_CORRECT_SI_PID): Likewise.
61682         (__ASSUME_TGKILL): Define without depending on kernel version for
61683         i386.
61684         (__ASSUME_UTIMES): Likewise.
61685         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
61686         kernel version.
61687         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
61688         (__ASSUME_TMPFS_NAME): Likewise.
61689         * README: Update reference to Linux kernel versions.
61691 2012-08-02  Marek Polacek  <polacek@redhat.com>
61693         [BZ# 14150]
61694         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
61695         libc_cv_asm_type_prefix with %.
61696         * configure: Regenerated.
61697         * include/libc-symbols.h: Remove comment about
61698         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61699         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
61700         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
61701         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
61702         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
61703         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
61704         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
61705         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
61706         * elf/tst-unique2mod1.c: Likewise.
61707         * elf/tst-unique1mod2.c: Likewise.
61708         * elf/tst-unique1mod1.c: Likewise.
61709         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
61710         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
61711         Replace ASM_TYPE_DIRECTIVE with .type.
61712         * sysdeps/s390/s390-64/sysdep.h: Likewise.
61713         * sysdeps/i386/sysdep.h: Likewise.
61714         * sysdeps/x86_64/sysdep.h: Likewise.
61715         * sysdeps/sh/sysdep.h: Likewise.
61716         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
61717         Do not define ASM_TYPE_DIRECTIVE.
61718         * sysdeps/powerpc/sysdep.h: Likewise.
61719         * sysdeps/powerpc/powerpc32/sysdep.h:
61720         Replace ASM_TYPE_DIRECTIVE with .type.
61721         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
61722         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
61723         * sysdeps/i386/fpu/e_powf.S: Likewise.
61724         * sysdeps/i386/fpu/e_expl.S: Likewise.
61725         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
61726         * sysdeps/i386/fpu/e_acosh.S: Likewise.
61727         * sysdeps/i386/fpu/e_pow.S: Likewise.
61728         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
61729         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
61730         * sysdeps/i386/fpu/s_expm1.S: Likewise.
61731         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
61732         * sysdeps/i386/fpu/e_log2.S: Likewise.
61733         * sysdeps/i386/fpu/e_log2l.S: Likewise.
61734         * sysdeps/i386/fpu/e_scalb.S: Likewise.
61735         * sysdeps/i386/fpu/e_powl.S: Likewise.
61736         * sysdeps/i386/fpu/e_log10f.S: Likewise.
61737         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
61738         * sysdeps/i386/fpu/e_logl.S: Likewise.
61739         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
61740         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
61741         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
61742         * sysdeps/i386/fpu/e_log2f.S: Likewise.
61743         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
61744         * sysdeps/i386/fpu/e_log.S: Likewise.
61745         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
61746         * sysdeps/i386/fpu/e_logf.S: Likewise.
61747         * sysdeps/i386/fpu/e_log10l.S: Likewise.
61748         * sysdeps/i386/fpu/e_atanh.S: Likewise.
61749         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
61750         * sysdeps/i386/fpu/e_log10.S: Likewise.
61751         * sysdeps/i386/fpu/s_frexp.S: Likewise.
61752         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
61753         * sysdeps/i386/fpu/s_asinh.S: Likewise.
61754         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
61755         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
61756         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
61757         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
61758         * sysdeps/i386/i686/strtok.S: Likewise.
61759         * sysdeps/i386/i386-mcount.S: Likewise.
61760         * sysdeps/i386/strtok.S: Likewise.
61761         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
61762         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
61763         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
61764         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
61765         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
61766         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
61767         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
61768         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
61769         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
61770         * sysdeps/x86_64/_mcount.S: Likewise.
61771         * sysdeps/x86_64/strtok.S: Likewise.
61772         * sysdeps/sh/_mcount.S: Likewise.
61774 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61776         * libio/iofopen.c: Include <fcntl.h>.
61777         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
61778         (_IO_fopen64, fopen64): Define as aliases.
61779         * libio/iofopen64.c: Include <fcntl.h>.
61780         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
61781         Conditionalize body on this.
61782         * sysdeps/wordsize-64/iofopen.c: File removed.
61783         * sysdeps/wordsize-64/iofopen64.c: File removed.
61785 2012-08-01  Marek Polacek  <polacek@redhat.com>
61787         * libc/Makeconfig: Use elf in place of binfmt-subdir.
61788         Use dlfcn directly instead of a variable.
61789         (binfmt-subdir): Do not define.
61790         (dlfcn): Likewise.
61792 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
61794         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
61795         Remove all definitions.
61796         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
61797         <kernel-features.h>.
61798         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61799         (miss_F_GETOWN_EX): Remove all definitions.
61800         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
61801         macro definition.
61802         [!__ASSUME_FCNTL64]: Remove conditional code.
61803         [__ASSUME_FCNTL64]: Make code unconditional.
61804         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
61805         <kernel-features.h>.
61806         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
61807         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
61808         (lockf64) [__NR_fcntl64]: Make code unconditional.
61809         (lockf64) [__ASSUME_FCNTL64]: Likewise.
61811         * sysdeps/unix/sysv/linux/kernel-features.h
61812         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
61813         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
61814         Make code unconditional.
61815         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61816         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
61818         [__NR_vfork]: Make code unconditional.
61819         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61820         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61821         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
61822         [__NR_vfork]: Make code unconditional.
61823         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
61824         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
61826 2012-08-01  Roland McGrath  <roland@hack.frob.com>
61828         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
61829         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
61831         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61832         Define mkstemp64 as an alias.
61833         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61834         Define mkstemps64 as an alias.
61835         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61836         Define mkostemp64 as an alias.
61837         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
61838         Define mkostemps64 as an alias.
61839         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
61840         Conditionalize body on this.
61841         * misc/mkostemp64.c: Likewise.
61842         * misc/mkostemps64.c: Likewise.
61843         * misc/mkstemps64.c: Likewise.
61844         * sysdeps/wordsize-64/mkstemp64.c: File removed.
61845         * sysdeps/wordsize-64/mkostemp64.c: File removed.
61846         * sysdeps/wordsize-64/mkostemp.c: File removed.
61847         * sysdeps/wordsize-64/mkstemp.c: File removed.
61848         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
61849         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
61850         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
61851         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
61853         [BZ #14138]
61854         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
61855         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
61856         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
61857         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
61859         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
61860         compat_symbol macros from <shlib-compat.h> rather than the underlying
61861         default_symbol_version and symbol_version macros, so that DEFAULT
61862         lines in shlib-versions are respected.
61863         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
61865 2012-08-01  Florian Weimer  <fweimer@redhat.com>
61867         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
61868         Declare with warn_unused_result.
61869         (setgid, setregid, setegid, setresgid): Likewise.
61870         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
61871         Likewise.
61872         * WUR-REPORT: Remove set*id functions.
61874 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
61876         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
61878 2012-07-31  Roland McGrath  <roland@hack.frob.com>
61880         [BZ #10191]
61881         * include/sys/socket.h (__libc_accept, __libc_accept4):
61882         Add attribute_hidden.
61883         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
61885         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
61886         use of PTR_MANGLE.
61887         * inet/getnetgrent_r.c (setup): Likewise.
61889         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
61891 2012-07-31  David S. Miller  <davem@davemloft.net>
61893         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61895 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
61897         [BZ #13629]
61898         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
61899         value between 1.0 and 2.0 and smaller part has absolute value less
61900         than 1.0.
61901         * math/s_clog10.c (__clog10): Likewise.
61902         * math/s_clog10f.c (__clog10f): Likewise.
61903         * math/s_clog10l.c (__clog10l): Likewise.
61904         * math/s_clogf.c (__clogf): Likewise.
61905         * math/s_clogl.c (__clogl): Likewise.
61906         * math/libm-test.inc (clog_test): Add more tests.
61907         (clog10_test): Likewise.
61908         * sysdeps/i386/fpu/libm-test-ulps: Update.
61909         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61911 2012-07-31  Florian Weimer  <fweimer@redhat.com>
61913         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
61914         Exit with zero in case no suitable GID is found, and write a
61915         message to standard error.
61917 2012-07-30  Roland McGrath  <roland@hack.frob.com>
61919         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
61920         rather than to 1.
61921         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
61922         (MAXPATHLEN): Removed.
61923         (NOGROUP, NODEV): New macros.
61924         (setbit, clrbit, isset, isclr): New macros.
61925         (howmany, roundup, powerof2): New macros.
61926         (DEV_BSIZE): New macro.
61928         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
61929         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
61931         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
61932         definition on [!__NO_LONG_DOUBLE_MATH].
61934         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
61935         PTR_MANGLE and PTR_DEMANGLE.
61937         * socket/accept4.c (accept4): Rename to __libc_accept4.
61938         Define accept4 as a weak alias.
61940         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
61941         on [_DIRENT_HAVE_D_TYPE].
61942         * io/ftw.c (ftw_dir): Likewise.
61944         * io/xmknod.c (__xmknod): Don't check PATH for being null.
61946         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
61948         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
61949         Use the BSD numbers rather than the arbitrary ones we had.
61950         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
61951         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
61952         (SIGXCPU, SIGXFSZ): New macros.
61953         (_NSIG): Now 32.
61955         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
61956         initializer on [_LIBC_REENTRANT].
61958         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
61959         definitions inside [_POSIX_MAPPED_FILES].
61961         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
61963         * dirent/opendir.c: Include <fcntl.h>.
61965         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
61966         (__libc_getspecific): Likewise.
61967         (__libc_key_create): Likewise.
61969         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
61970         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
61971         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
61972         (tmpfile64): Define as alias.
61973         * sysdeps/wordsize-64/tmpfile.c: File removed.
61974         * sysdeps/wordsize-64/tmpfile64.c: File removed.
61975         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
61976         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
61978         * stdio-common/vfscanf.c: Include <stdbool.h>.
61979         * nss/makedb.c: Likewise.
61980         * stdio-common/_i18n_number.h: Likewise.
61981         * argp/argp-help.c: Likewise.
61982         * posix/wordexp.c: Likewise.
61983         * sysdeps/posix/spawni.c: Likewise.
61984         * nss/nss_files/files-initgroups.c: Likewise.
61985         * stdio-common/reg-modifier.c: Include <stdlib.h>.
61986         * nss/nss_files/files-initgroups.c: Likewise.
61987         * nss/nss_db/db-netgrp.c: Likewise.
61988         * nss/nss_db/db-initgroups.c: Likewise.
61989         * io/fchmodat.c: Include <sys/stat.h>.
61991         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
61992         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
61994         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
61995         [HAVE_MMAP].
61997         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
61998         Add multiple inclusion protection.
62000 2012-07-27  David S. Miller  <davem@davemloft.net>
62002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62004 2012-07-27  Gary Benson  <gbenson@redhat.com>
62006         [BZ #14298]
62007         * elf/rtld.c: Include <stap-probe.h>.
62008         (dl_main): Added static probes "init_start" and "init_complete".
62009         * elf/dl-load.c: Include <stap-probe.h>.
62010         (lose): Take new parameter "nsid".
62011         Added static probe "map_failed".
62012         (_dl_map_object_from_fd): Pass namespace id to lose.
62013         Added static probe "map_start".
62014         (open_verify): Pass namespace id to lose.
62015         * elf/dl-open.c: Include <stap-probe.h>.
62016         (dl_open_worker) Added static probes "map_complete", "reloc_start"
62017         and "reloc_complete".
62018         * elf/dl-close.c: Include <stap-probe.h>.
62019         (_dl_close_worker): Added static probes "unmap_start" and
62020         "unmap_complete".
62021         * elf/rtld-debugger-interface.txt: New file documenting the above.
62023 2012-07-26  Roland McGrath  <roland@hack.frob.com>
62025         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
62026         rather than a string variable.
62027         * sunrpc/rpc_main.c (h_output): Likewise.
62028         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
62030 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
62032         * inet/check_native.c: New file.
62034 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
62036         [BZ #13629]
62037         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
62038         if larger part has absolute value 1.0.
62039         * math/s_clog10.c (__clog10): Likewise.
62040         * math/s_clog10f.c (__clog10f): Likewise.
62041         * math/s_clog10l.c (__clog10l): Likewise.
62042         * math/s_clogf.c (__clogf): Likewise.
62043         * math/s_clogl.c (__clogl): Likewise.
62044         * math/libm-test.inc (clog_test): Add more tests.
62045         (clog10_test): Likewise.
62046         * sysdeps/i386/fpu/libm-test-ulps: Update.
62047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62049         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
62050         (pltexit): Likewise.
62051         (La_regs): Likewise.
62052         (La_retval): Likewise.
62053         (int_retval): Likewise.
62054         Update #error for removed macros to refer only to definitions in
62055         tst-audit.h.
62056         * elf/tst-auditmod3b.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-auditmod4b.c (pltenter): Remove all definitions of
62063         macro.
62064         (pltexit): Likewise.
62065         (La_regs): Likewise.
62066         (La_retval): Likewise.
62067         (int_retval): Likewise.
62068         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
62069         macro.
62070         (pltexit): Likewise.
62071         (La_regs): Likewise.
62072         (La_retval): Likewise.
62073         (int_retval): Likewise.
62074         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
62075         macro.
62076         (pltexit): Likewise.
62077         (La_regs): Likewise.
62078         (La_retval): Likewise.
62079         (int_retval): Likewise.
62080         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
62081         macro.
62082         (pltexit): Likewise.
62083         (La_regs): Likewise.
62084         (La_retval): Likewise.
62085         (int_retval): Likewise.
62086         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
62087         macro.
62088         (pltexit): Likewise.
62089         (La_regs): Likewise.
62090         (La_retval): Likewise.
62091         (int_retval): Likewise.
62092         * sysdeps/generic/tst-audit.h: Update comment to refer only to
62093         macro definitions in tst-audit.h.
62094         * sysdeps/i386/tst-audit.h: New file.
62095         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
62096         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
62097         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
62098         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
62099         * sysdeps/sh/tst-audit.h: Likewise.
62100         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
62101         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
62102         * sysdeps/x86_64/tst-audit.h: Likewise.
62104 2012-07-26  Andreas Jaeger  <aj@suse.de>
62106         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
62107         ptrace.
62109         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
62110         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
62111         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
62112         PTRACE_O_MASK.
62113         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
62114         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
62115         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
62117         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
62118         value.
62120         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
62121         _sigsys.
62122         (si_call_addr, si_syscall, si_arch): Define new macro.
62123         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
62124         _sigsys.
62125         (si_call_addr, si_syscall, si_arch): Define new marcro.
62126         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
62127         _sigsys.
62128         (si_call_addr, si_syscall, si_arch): Define new macro.
62129         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
62130         _sigsys.
62131         (si_call_addr, si_syscall, si_arch): Define new macro.
62133 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62135         [BZ #13717]
62136         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62137         Change to 2.4.21 where previously 2.4.1.
62138         * sysdeps/unix/sysv/linux/configure: Regenerated.
62139         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
62140         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
62141         Linux kernel version.
62142         (__ASSUME_STD_AUXV): Remove.
62143         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
62144         kernel version.
62145         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
62146         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
62147         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
62148         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
62149         (__ASSUME_NETLINK_SUPPORT): Likewise.
62150         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
62151         (__no_netlink_support): Remove conditional definition.
62152         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
62153         Remove.
62154         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62155         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
62156         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
62157         (if_nameindex_ioctl): Remove.
62158         (if_nameindex_netlink): Do not handle __no_netlink_support.
62159         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62160         code.
62161         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
62162         Remove conditional code.
62163         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
62164         code.
62165         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
62166         unconditional.
62167         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
62168         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
62169         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
62170         Remove.
62171         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
62172         [!__ASSUME_STD_AUXV]: Remove conditional code.
62173         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
62174         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
62175         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
62176         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
62177         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
62178         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62179         code.
62180         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
62182         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
62183         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62184         conditional code.
62185         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
62186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
62187         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
62188         code.
62189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
62190         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
62191         conditional code.
62192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
62193         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62194         code unconditional.
62195         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62196         conditional code.
62197         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62198         unconditional.
62199         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62200         conditional code.
62201         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
62202         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62203         unconditional.
62204         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62205         conditional code.
62206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
62207         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62208         code unconditional.
62209         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62210         conditional code.
62211         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62212         unconditional.
62213         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62214         conditional code.
62215         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
62216         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
62217         code unconditional.
62218         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62219         conditional code.
62220         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
62221         unconditional.
62222         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
62223         conditional code.
62225 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
62227         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
62228         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
62229         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
62230         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
62231         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
62232         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
62233         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
62234         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
62235         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
62236         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
62237         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
62238         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
62239         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
62240         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
62241         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
62242         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
62243         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
62244         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
62245         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
62246         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
62247         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
62248         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
62249         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
62251 2012-07-25  Florian Weimer  <fweimer@redhat.com>
62253         * Versions.def: Add GLIBC_2.17.
62254         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
62255         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
62256         Introduce __libc_secure_getenv.
62257         * stdlib/Versions (2.17): Add secure_getenv
62258         (GLIBC_PRIVATE): Add __libc_secure_getenv.
62259         * stdlib/secure-getenv.c: Rename __secure_getenv to
62260         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
62261         symbol __secure_getenv for GLIBC_2.0.
62262         * stdlib/tst-secure-getenv.c: New.
62263         * stdlib/Makefile (tests): Add testcase.
62264         * manual/startup.texi (Environment Access): Document
62265         secure_getenv.
62266         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
62267         __libc_secure_getenv.
62268         * inet/ruserpass.c (ruserpass): Likewise.
62269         * malloc/mtrace.c (mtrace): Likewise.
62270         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
62271         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
62272         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
62273         * sysdeps/posix/tempname.c: Likewise.  Evaluate
62274         HAVE_SECURE_GETENV.
62275         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
62276         __secure_getenv to __libc_secure_getenv.
62277         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
62278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
62279         Likewise.
62280         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
62281         Likewise.
62282         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
62283         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
62284         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
62285         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
62286         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
62287         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
62288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
62290 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
62292         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
62293         (struct La_i86_retval): Likewise.
62294         (struct La_x86_64_regs): Likewise.
62295         (struct La_x86_64_retval): Likewise.
62296         (struct La_x32_regs): Likewise.
62297         (struct La_x32_retval): Likewise.
62298         (struct La_ppc32_regs): Likewise.
62299         (struct La_ppc32_retval): Likewise.
62300         (struct La_ppc64_regs): Likewise.
62301         (struct La_ppc64_retval): Likewise.
62302         (struct La_sh_regs): Likewise.
62303         (struct La_sh_retval): Likewise.
62304         (struct La_s390_32_regs): Likewise.
62305         (struct La_s390_32_retval): Likewise.
62306         (struct La_s390_64_regs): Likewise.
62307         (struct La_s390_64_retval): Likewise.
62308         (struct La_sparc32_regs): Likewise.
62309         (struct La_sparc32_retval): Likewise.
62310         (struct La_sparc64_regs): Likewise.
62311         (struct La_sparc64_retval): Likewise.
62312         (struct audit_ifaces): Remove architecture-specific pltenter and
62313         pltexit members.
62314         * sysdeps/i386/ldsodefs.h: New file.
62315         * sysdeps/powerpc/ldsodefs.h: Likewise.
62316         * sysdeps/s390/ldsodefs.h: Likewise.
62317         * sysdeps/sh/ldsodefs.h: Likewise.
62318         * sysdeps/sparc/ldsodefs.h: Likewise.
62319         * sysdeps/x86_64/ldsodefs.h: Likewise.
62321 2012-07-25  Marek Polacek  <polacek@redhat.com>
62323         [BZ #6808]
62324         * math/libm-test.inc (yn_test): Add another test.
62325         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
62326         to ERANGE when the result is +-Inf.
62327         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
62328         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
62329         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
62330         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
62332 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
62334         * conform/data/time.h-data (NULL): Use macro-constant.  Require
62335         equal to 0.
62336         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
62337         clock_t.
62338         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
62340 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
62342         * configure.in <sysdeps resolving>: Correct printing
62343         Implies_before.
62344         * configure: Regenerate.
62346 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
62348         * math/w_ilogb.c: Include <limits.h>.
62349         * math/w_ilogbl.c: Likewise.
62351 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62353         * manual/lang.texi (__va_copy): Document primarily as ISO C99
62354         va_copy.  Document allowing for unavailable va_copy only as
62355         pre-C99 compatibility.
62356         * manual/string.texi (Copying and Concatenation): Use va_copy
62357         instead of __va_copy in concat example.
62359 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
62361         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
62362         (__sendto): Use create_address_port.  Initialize APORT and deallocate
62363         it if not null.
62365         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
62366         with O_NOLINK passed to __file_name_lookup.
62368         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
62369         with O_NOLINK passed to __file_name_lookup.
62371         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
62372         negative N or less than NGIDS.
62374         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
62375         type to string_t.  Set ERANGE as errno and return it if NAME is not big
62376         enough.  Use memcpy instead of strncpy.
62378 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
62380         * elf/Makefile (check-data): Remove.
62381         (localplt.data): New vpath directive.
62382         ($(objpfx)check-localplt.out): Use localplt.data from vpath
62383         instead of $(check-data).
62384         * scripts/data/localplt-generic.data: Move to ...
62385         * sysdeps/generic/localplt.data: ... here.
62386         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
62387         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
62388         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
62389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
62390         ... here.
62391         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
62392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
62393         ... here.
62394         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
62395         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
62396         ... here.
62397         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
62398         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
62399         ... here.
62400         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
62401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
62402         ... here.
62403         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
62404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
62405         ... here.
62407 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62409         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
62410         PPC32 and PPC64 files.
62411         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
62412         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
62414 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62416         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
62417         __makecontext_ret to ...
62418         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
62419         ... here and call exit if uc_link is NULL.  New file.
62420         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
62421         __makecontext_ret.S.
62422         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
62423         __makecontext_ret to ...
62424         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
62425         ... here and call exit if uc_link is NULL.  New file.
62426         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
62427         __makecontext_ret.S.
62429 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62431         * elf/elf.h (R_390_IRELATIVE): New definition.
62432         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
62433         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
62434         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
62435         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62436         (elf_machine_lazy_rel): Likewise.
62437         * sysdeps/s390/dl-irel.h: New file.
62438         * sysdeps/s390/s390-64/memcpy.S: New asm code.
62439         * sysdeps/s390/s390-64/memset.S: New asm code.
62440         * sysdeps/s390/s390-64/memcmp.S: New asm code.
62441         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
62442         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
62443         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
62444         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
62445         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
62446         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
62447         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
62448         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
62449         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
62450         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
62451         * sysdeps/s390/s390-32/memcpy.S: New asm code.
62452         * sysdeps/s390/s390-32/memset.S: New asm code.
62453         * sysdeps/s390/s390-32/memcmp.S: New asm code.
62455 2012-07-17  Marek Polacek  <polacek@redhat.com>
62457         [BZ #14349]
62458         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
62459         * sysdeps/s390/s390-64/configure.in: Likewise.
62460         * sysdeps/sparc/configure.in: Likewise.
62461         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
62462         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
62463         * sysdeps/i386/configure.in: Likewise.
62464         * sysdeps/x86_64/configure.in: Likewise.
62465         * sysdeps/sh/configure.in: Likewise.
62466         * sysdeps/s390/s390-32/configure: Regenerated.
62467         * sysdeps/s390/s390-64/configure: Likewise.
62468         * sysdeps/x86_64/configure: Likewise.
62469         * sysdeps/sh/configure: Likewise.
62470         * sysdeps/powerpc/powerpc64/configure: Likewise.
62471         * sysdeps/powerpc/powerpc32/configure: Likewise.
62472         * sysdeps/sparc/configure: Likwise.
62473         * sysdeps/i386/configure: Likewise.
62475         * elf/dl-open.c: Comment fixes.
62477 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
62479         * Makefile [CXX] (check-data): Remove.
62480         [CXX] (c++-types.data): New vpath directive.
62481         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
62482         vpath.  Do not allow for C++ type data being missing.
62483         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
62484         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
62485         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
62486         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
62487         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
62488         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
62489         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
62490         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
62491         ... here.
62492         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
62493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
62494         ... here.
62495         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
62496         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
62497         ... here.
62498         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
62499         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
62500         ... here.
62501         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
62502         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
62503         ... here.
62504         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
62505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
62506         ... here.
62507         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
62508         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
62509         ... here.
62510         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
62511         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
62513         * elf/tls-macros.h (TLS_LE): Move architecture-specific
62514         definitions to architecture-specific files.
62515         (TLS_IE): Likewise.
62516         (TLS_LD): Likewise.
62517         (TLS_GD): Likewise.
62518         * sysdeps/i386/tls-macros.h: New file.
62519         * sysdeps/powerpc/tls-macros.h: Likewise.
62520         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
62521         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
62522         * sysdeps/sh/tls-macros.h: Likewise.
62523         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
62524         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
62525         * sysdeps/x86_64/tls-macros.h: Likewise.
62527 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62529         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
62530         zero value for regular exit case.
62532         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
62533         (__start_context): Preserve zero value for regular exit case.
62535 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
62536             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
62538         * manual/setjmp.texi (setcontext): Clarify normal process
62539         termination when uc_link is the null pointer.
62540         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
62541         exit call.
62543 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
62545         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
62546         preprocessor.  Test for each exception mask separately.
62548 2012-07-16  Andreas Jaeger  <aj@suse.de>
62550         * po/ru.po: Update from translation team.
62552 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
62554         * conform/data/string.h-data (NULL): Use macro-constant.  Require
62555         equal to 0.
62556         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
62557         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
62558         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
62559         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
62560         [ISO || ISO99 || ISO11] (*_t): Do not allow.
62562 2012-07-13  Andreas Jaeger  <aj@suse.de>
62564         * po/fr.po: Update from translation team.
62566 2012-07-12  Marek Polacek  <polacek@redhat.com>
62568         [BZ #14173]
62569         * math/libm-test.inc (yn_test): Add test for BZ #14173.
62570         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
62571         loop condition.
62573 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
62575         [BZ #13717]
62576         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
62577         Change to 2.4.1 where previously 2.4.0.
62578         * sysdeps/unix/sysv/linux/configure: Regenerated.
62579         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
62580         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
62581         version.
62582         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
62583         (__ASSUME_AT_CLKTCK): Remove.
62584         (__ASSUME_AT_PAGESIZE): Likewise.
62585         (__ASSUME_AT_XID): Likewise.
62586         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
62587         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
62588         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
62589         unconditionally.
62590         (HAVE_AUX_PAGESIZE): Likewise.
62591         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
62592         [__ASSUME_AT_CLKTCK]: Make code unconditional.
62593         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
62595 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
62597         [BZ #14307]
62598         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
62599         the temporary buffer used to invoke __gethostbyname2_r,
62600         __gethostbyaddr_r and gethostbyname4_r to make room for struct
62601         host_data / struct gaih_addrtuple.
62602         * resolv/nss_dns/dns-host.c (global scope): Move definition of
62603         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
62604         header file nss/nsswitch.h.
62605         * nss/nsswitch.h (global scope): Add definition of implementation
62606         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
62607         resolv/nss_dns/dns-host.c).
62609 2012-07-11  Andreas Jaeger  <aj@suse.de>
62611         * po/fr.po: Update from translation team.
62613         * po/sv.po: Update from translation team
62614         * po/fr.po: Another update from translation team.
62616 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62618         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
62619         for subnormals or multiply small sinh result by itself.
62620         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
62621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62623 2012-07-11  David S. Miller  <davem@davemloft.net>
62625         * sysdeps/sparc/fpu/libm-test-ulps: Update.
62627 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
62629         [BZ #14347]
62630         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
62631         (INTERNAL_MARK): Shift it here.
62633 2012-07-10  Marek Polacek  <polacek@redhat.com>
62635         [BZ #14151]
62636         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
62637         libc_cv_asm_global_directive with .globl.
62638         * configure: Regenerated.
62639         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
62640         with .globl.
62641         * sysdeps/i386/configure: Regenerated.
62642         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
62643         with .globl.
62644         * sysdeps/x86_64/configure: Regenerated.
62645         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
62646         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
62647         * elf/tst-unique2mod2.c: Likewise.
62648         * elf/tst-unique2mod1.c: Likewise.
62649         * elf/tst-unique1mod2.c: Likewise.
62650         * elf/tst-unique1mod1.c: Likewise.
62651         * sysdeps/s390/s390-32/sysdep.h: Likewise.
62652         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
62653         * sysdeps/s390/s390-64/sysdep.h: Likewise.
62654         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62655         * sysdeps/mach/sysdep.h: Likewise.
62656         * sysdeps/i386/sysdep.h: Likewise.
62657         * sysdeps/i386/i386-mcount.S: Likewise.
62658         * sysdeps/x86_64/_mcount.S: Likewise.
62659         * sysdeps/x86_64/sysdep.h: Likewise.
62660         * sysdeps/sh/_mcount.S: Likewise.
62661         * sysdeps/sh/sysdep.h: Likewise.
62662         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
62663         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
62664         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
62665         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62666         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
62667         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
62668         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
62669         * locale/localeinfo.h: Likewise.
62670         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
62671         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
62673 2012-07-09  Roland McGrath  <roland@hack.frob.com>
62675         [BZ #14336]
62676         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
62677         system".
62678         * manual/message.texi (The Uniforum approach): Likewise.
62679         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
62680         (glibc iconv Implementation): Likewise.
62682 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
62684         [BZ #14337]
62685         * math/s_clog.c (__clog): Avoid scaling a value down where that
62686         could result in underflow.
62687         * math/s_clog10.c (__clog10): Likewise.
62688         * math/s_clog10f.c (__clog10f): Likewise.
62689         * math/s_clog10l.c (__clog10l): Likewise.
62690         * math/s_clogf.c (__clogf): Likewise.
62691         * math/s_clogl.c (__clogl): Likewise.
62692         * math/libm-test.inc (clog_test): Add more tests.
62693         (clog10_test): Likewise.
62694         * sysdeps/i386/fpu/libm-test-ulps: Update.
62695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62697 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
62699         [BZ #14283]
62700         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
62701         by 7 not 8 to examine high bit of fractional part.
62703         [BZ #14042]
62704         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
62705         for call to __mcount_internal.
62706         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
62707         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
62708         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
62710 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
62712         [BZ #14154]
62713         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
62714         approximation for values within 0x1p-13f of an odd multiple of
62715         pi/4.
62716         * math/libm-test.inc (tan_test): Do not allow spurious underflow
62717         exception.  Add more tests.
62718         * sysdeps/i386/fpu/libm-test-ulps: Update.
62720         [BZ #6778]
62721         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
62722         inputs and return -1 for them.  Do not check for +Inf in case not
62723         reachable for +Inf.
62724         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
62725         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
62726         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62727         and return -1 for them.  Do not check for +Inf in case not
62728         reachable for +Inf.
62729         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
62730         define.
62731         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
62732         and return -1 for them.  Do not check for +Inf in case not
62733         reachable for +Inf.
62734         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
62735         spurious underflow.
62736         * sysdeps/i386/fpu/libm-test-ulps: Update.
62737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62739 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
62741         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
62743 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
62745         [BZ #14157]
62746         [BZ #14331]
62747         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
62748         could result in spurious underflow.  Scale down values above
62749         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
62750         * math/s_csqrtf.c (__csqrtf): Likewise.
62751         * math/s_csqrtl.c (__csqrtl): Likewise.
62752         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
62753         spurious underflow.
62754         * sysdeps/i386/fpu/libm-test-ulps: Update.
62755         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62757 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
62759         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
62760         xopen-msg.sed.
62761         * catgets/xopen-msg.awk: New file.
62762         * catgets/xopen-msg.sed: Removed.
62764         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
62765         po2text.sed.
62766         * intl/po2test.awk: New file.
62767         * intl/po2test.sed: Removed.
62769 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
62771         [BZ #14328]
62772         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
62773         or multiply small sinh result by itself.
62774         * math/s_ctanf.c (__ctanf): Likewise.
62775         * math/s_ctanh.c (__ctanh): Likewise.
62776         * math/s_ctanhf.c (__ctanhf): Likewise.
62777         * math/s_ctanhl.c (__ctanhl): Likewise.
62778         * math/s_ctanl.c (__ctanl): Likewise.
62779         * math/libm-test.inc (ctan_test_tonearest): New function.
62780         (ctan_test_towardzero): Likewise.
62781         (ctan_test_downward): Likewise.
62782         (ctan_test_upward): Likewise.
62783         (ctanh_test_tonearest): Likewise.
62784         (ctanh_test_towardzero): Likewise.
62785         (ctanh_test_downward): Likewise.
62786         (ctanh_test_upward): Likewise.
62787         (main): Call these new functions.
62788         * sysdeps/i386/fpu/libm-test-ulps: Update.
62789         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62791 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
62793         * .gitignore: Delete /ports entry.
62795 2012-07-03  Andreas Jaeger  <aj@suse.de>
62797         * po/bg.po: Update from translation team.
62798         * po/cs.po: Likewise.
62799         * po/de.po: Likewise.
62800         * po/hr.po: Likewise.
62801         * po/nl.pl: Likewise.
62802         * po/pl.po: Likewise.
62803         * po/vi.po: Likewise.
62805 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
62807         * Makeconfig [!+link] (+link-before-libc): New variable.
62808         [!+link] (+link-after-libc): Likewise.
62809         [!+link] (+link-tests): Likewise.
62810         [!+link] (+link): Define in terms of $(+link-before-libc) and
62811         $(+link-after-libc).
62812         [!+link-static] (+link-static-before-libc): New variable.
62813         [!+link-static] (+link-static-after-libc): Likewise.
62814         [!+link-static] (+link-static-tests): Likewise.
62815         [!+link-static] (+link-static): Define in terms of
62816         $(+link-static-before-libc) and $(+link-static-after-libc).
62817         [build-shared] (link-libc-before-gnulib): New variable.
62818         [build-shared] (link-libc-tests): Likewise.
62819         [build-shared] (link-libc): Define in terms of
62820         $(link-libc-before-gnulib).
62821         [!build-shared] (link-libc-tests): New variable.
62822         (link-libc-static-tests): New variable.
62823         [!gnulib] (gnulib-arch): New variable.
62824         [!gnulib] (gnulib-tests): Likewise.
62825         [!gnulib] (static-gnulib-arch): Likewise.
62826         [!gnulib] (static-gnulib-tests): Likewise.
62827         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
62828         Define with "=" instead of ":=".
62829         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
62830         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
62831         * Rules (binaries-all-notests): New variable.
62832         (binaries-all-tests): Likewise.
62833         (binaries-static-notests): Likewise.
62834         (binaries-static-tests): Likewise.
62835         (binaries-all): Define using $(binaries-all-notests) and
62836         $(binaries-all-tests).
62837         (binaries-static): Define using $(binaries-static-notests) and
62838         $(binaries-static-tests).
62839         (binaries-shared-tests): New variable.
62840         (binaries-shared-notests): Likewise.
62841         (binaries-shared): Remove variable.
62842         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
62843         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
62844         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
62845         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
62846         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
62847         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
62848         * elf/Makefile (sln-modules): New variable.
62849         (extra-objs): Add $(sln-modules:=.o).
62850         (ldconfig-modules): Add static-stubs.
62851         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
62852         * elf/static-stubs.c: New file.
62854         [BZ #14283]
62855         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
62856         by 7 not 8 to examine high bit of fractional part.  Use volatile
62857         variables when splitting into final array of floats if
62858         __FLT_EVAL_METHOD__ != 0.
62859         * math/libm-test.inc (cos_test): Add another test.
62860         (sin_test): Likewise.
62861         * sysdeps/i386/fpu/libm-test-ulps: Update.
62863         [BZ #14273]
62864         * math/libm-test.inc (cosh_test): Add more tests.
62866         * version.h (RELEASE): Set to "development".
62867         (VERSION): Set to "2.16.90".
62869 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
62871         * NEWS: Update copyright. Remove last-updated date.
62872         Mention math library bug fixes and timezone data changes.
62873         * README: Mention GNU/Hurd, x32, and HPPA support status.
62875 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
62877         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
62879 2012-06-27  Andreas Jaeger  <aj@suse.de>
62881         * manual/contrib.texi (Contributors): Add Samuel Thibault.
62883 2012-06-25  Andreas Jaeger  <aj@suse.de>
62885         * sysdeps/s390/fpu/libm-test-ulps: Update.
62887 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
62888             Thomas Schwinge  <thomas@codesourcery.com>
62890         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
62891         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
62892         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
62893         fanotify_mark.
62895 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
62897         * sysdeps/mach/start.c: Remove file.
62898         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
62899         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
62900         * sysdeps/sh/init-first.c: Likewise.
62902         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
62903         registers for frame unwinding purposes, add CFI directives.
62904         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62905         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
62906         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
62907         Likewise.
62909         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
62910         __fortify_fail returning.
62911         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
62913         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
62914         sysdeps/sh/____longjmp_chk.S.
62915         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
62916         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
62917         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
62918         (gen-as-const-headers): Append sigaltstack-offsets.sym.
62920         * sysdeps/sh/abort-instr.h: New file.
62921         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
62922         process in case exit returns.
62924         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
62925         initialize the GOT register before use.
62927         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
62928         calculation of ARGC > 4.
62930         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
62931         meaningful names to some local labels.
62933 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
62934             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
62936         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
62937         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
62938         (__arch_compare_and_exchange_val_16_acq): Likewise.
62939         (__arch_compare_and_exchange_val_32_acq): Likewise.
62940         (atomic_exchange_and_add): Fix gUSA sequence.
62941         (atomic_add): Likewise.
62942         (atomic_add_negative): Likewise.
62943         (atomic_add_zero): Likewise.
62944         (atomic_bit_test_set): Likewise.
62946 2012-06-22  Andreas Schwab  <schwab@redhat.com>
62948         [BZ #13579]
62949         * include/link.h (struct link_map): Add l_free_initfini.
62950         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
62951         l_initfini.
62952         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
62953         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
62954         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
62955         set.
62957 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
62959         * configure.in: Use AC_LANG_SOURCE.
62960         * configure: Regenerate.
62962 2012-06-22  Roland McGrath  <roland@hack.frob.com>
62964         * configure.in (libc_cv_localstatedir): New substituted variable.
62965         * configure: Regenerated.
62966         * config.make.in (localstatedir): New variable, substituted from
62967         libc_cv_localstatedir.
62968         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
62969         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
62970         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
62971         * sysdeps/gnu/configure: Regenerated.
62973 2012-06-21  Jeff Law  <law@redhat.com>
62975         [BZ #14277]
62976         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
62977         free.  Simplify list management for _LIBC case.
62979 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
62981         [BZ #14273]
62982         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
62983         Clear sign bit of 64-bit integer value before comparing against
62984         overflow value.
62986         * sysdeps/mach/configure: Regenerated.
62988 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
62990         [BZ #14278]
62991         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
62993 2012-06-21  Jeff Law  <law@redhat.com>
62995         [BZ #13882]
62996         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
62997         uint16_t for elements in the "seen" array to avoid char overflows.
62998         * elf/dl-fini.c (_dl_sort_fini): Likewise.
62999         * elf/dl-open.c (dl_open_worker): Likewise.
63001 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
63003         * scripts/list-sources.sh: Scan PORTS for translations.
63004         * po/libc.pot: Regenerated.
63006 2012-06-21  Andreas Jaeger  <aj@suse.de>
63008         [BZ #12194]
63009         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
63010         warning.
63011         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
63012         * bits/byteswap-16.h (__bswap_16): Likewise.
63013         * bits/byteswap.h (__bswap_constant_16): Likewise.
63015 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
63017         [BZ #14117]
63018         * sysdeps/i386/fpu_control.h: Removed.
63019         * sysdeps/x86_64/fpu_control.h: Moved to ...
63020         * sysdeps/x86/fpu_control.h: Here.
63022         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
63023         (_FPU_SETCW): Likewise.
63025 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
63027         [BZ #14117]
63028         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
63029         * sysdeps/x86/fpu/bits/mathinline.h: This.
63030         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
63032         [BZ #14050]
63033         [BZ #14117]
63034         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
63035         functions if __x86_64__ is defined.
63037 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
63039         * string/endian.h: Add !__ASSEMBLER__ condition for including
63040         conversion interfaces.
63042 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
63044         [BZ #14241]
63045         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
63046         of ABS(x) in calculating zero to negative powers other than odd
63047         integers.
63048         * math/libm-test.inc (pow_test): Add more tests.
63050 2012-06-15  Andreas Jaeger  <aj@suse.de>
63052         * manual/contrib.texi (Contributors): Update entry of Liubov
63053         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
63054         Machado Filho.
63056 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
63058         * string/string.h: Add __wur to GNU version of strerror_r.
63060 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
63062         [BZ #14229]
63063         * string/Makefile (tests): Add tst-strtok_r.
63064         * string/tst-strtok_r.c: New file.
63065         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
63066         RAX_LP/RDX_LP on SAVE_PTR.
63068 2012-06-14  Roland McGrath  <roland@hack.frob.com>
63070         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
63072 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
63074         * libm_test.inc (csqrt_test): Allow more spurious underflow
63075         exceptions.
63076         (j0_test): Likewise.
63077         (j1_test): Likewise.
63078         (y0_test): Likewise.
63079         (y1_test): Likewise.
63081 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
63083         * po/Makefile (libc.pot): Use UTF-8 charset.
63085 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
63087         [BZ #14210]
63088         Suppress sign-conversion warning from FD_SET.
63089         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
63090         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
63091         not unsigned long int.
63092         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
63094 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
63096         [BZ #14050]
63097         [BZ #14117]
63098         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
63099         __extern_always_inline instead of __extern_inline.
63100         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
63101         (__signbit): Likewise.
63102         (__signbitl): Support C++ namespace.
63103         (lrintf): New inline function.
63104         (lrint): Likewise.
63105         (llrintf): Likewise.
63106         (llrint): Likewise.
63107         (fmaxf): Likewise.
63108         (fmax): Likewise.
63109         (fminf): Likewise.
63110         (fmin): Likewise.
63111         (rint): Likewise.
63112         (rintf): Likewise.
63113         (ceil): Likewise.
63114         (ceilf): Likewise.
63115         (floor): Likewise.
63116         (floorf): Likewise.
63117         (nearbyint): Likewise.
63118         (nearbyintf): Likewise.
63120 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
63122         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
63123         non-default versions.
63125 2012-06-11  Roland McGrath  <roland@hack.frob.com>
63127         [BZ #14218]
63128         * manual/argp.texi (Argp): Reword argp_parse description slightly.
63130 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
63132         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
63133         (FE_UPWARD, FE_DOWNWARD): Don't define.
63134         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
63135         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63137         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
63138         reading it.
63139         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63140         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63142 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63144         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
63145         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
63146         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
63147         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
63149 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
63151         [BZ #14117]
63152         * sysdeps/i386/fpu/bits/fenv.h: Removed.
63153         * sysdeps/i386/fpu/Implies: New file.
63154         * sysdeps/x86_64/fpu/Implies: Likewise.
63155         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
63156         * sysdeps/x86/fpu/bits/fenv.h: This.
63158         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
63159         __SSE_MATH__.
63161 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
63163         [BZ #14134]
63164         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
63165         character 0xffff that matches the last element of the
63166         conversion table.
63168 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63170         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
63171         fmodl commit.
63173 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63175         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
63176         values higher than 25.6283.
63178 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63180         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
63181         subnormal exponent extraction and add some __builtin_expect.
63182         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
63183         Fix for subnormal mantissa calculation.
63185 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
63187         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
63188         cpu2 is -1 and errno is not ENOSYS.
63190 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
63192         [BZ #14117]
63193         * sysdeps/i386/i486/bits/string.h: Renamed to ...
63194         * sysdeps/x86/bits/string.h: This.
63195         * sysdeps/x86_64/bits/string.h: Removed.
63197         * sysdeps/i386/i486/bits/string.h: Define inline functions only
63198         if not compiling for x86-64, but compiling for >= i486.
63200         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
63201         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
63203         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
63204         New macro from Linux kernel 3.4.0.
63205         (FP_XSTATE_MAGIC2): Likewise.
63206         (FP_XSTATE_MAGIC2_SIZE): Likewise.
63207         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
63208         (struct _fpx_sw_bytes): New struct.
63209         (struct _xsave_hdr): Likewise.
63210         (struct _ymmh_state): Likewise.
63211         (struct _xstate): Likewise.
63213         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
63214         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
63215         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
63216         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
63217         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
63218         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
63220         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
63221         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
63222         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
63223         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
63224         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
63225         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
63227 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
63229         [BZ #13743]
63230         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
63231         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
63232         (sysdep_headers): Include sys/platform/ppc.h.
63233         * sysdeps/powerpc/test-gettimebase.c: Test for
63234         __ppc_get_timebase() to catch future ISA opcode/insn changes.
63235         * manual/Makefile (appendices): Include platform.texi.
63236         * manual/contrib.texi (Contributors): Update @node pointers.
63237         * manual/maint.texi (Maintenance): Likewise.
63238         (Platform): New node.
63239         * manual/platform.texi: New file.  Document the new features.
63241 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
63242             Jakub Jelinek  <jakub@redhat.com>
63244         [BZ #14188]
63245         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
63246         where __builtin_expect is unavailable.
63248 2012-06-03  David S. Miller  <davem@davemloft.net>
63250         * stdlib/longlong.h: Updated from GCC.
63252 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
63254         [BZ #14042]
63255         * sysdeps/powerpc/powerpc32/mcount.c: New file.
63256         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
63257         __mcount_internal.
63258         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
63259         (GLIBC_2.16): Likewise.
63261 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63263         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
63265 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
63268         (default-abi): New variable.
63269         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
63270         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
63271         variable.
63272         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
63273         Likewise.
63274         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
63275         Likewise.
63276         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
63277         Likewise.
63279         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
63280         definition.  Document in comment.
63282 2012-06-01  David S. Miller  <davem@davemloft.net>
63284         * stdlib/longlong.h: Updated from GCC.
63286 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63288         [BZ #14117]
63289         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
63290         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
63291         sys/debugreg.h sys/io.h here.
63292         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
63293         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
63294         sys/io.h.
63295         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
63296         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
63297         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
63298         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
63299         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
63300         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
63302         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
63303         Define only if __x86_64__ is defined.
63305 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
63307         [BZ #14048]
63308         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
63309         Use int64_t for variable i.
63310         * math/libm-test.inc (fmod_test): Add more tests.
63312         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
63313         z computation is not scheduled after fetestexcept.
63314         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
63315         Use math_force_eval instead of asm to ensure calculation scheduled
63316         before exception test.
63317         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
63318         Ensure a1 + u.d computation is not scheduled after fetestexcept.
63320 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
63322         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
63323         computation is not scheduled after fetestexcept.
63325 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
63327         [BZ #14117]
63328         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
63329         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
63331 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63333         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
63334         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
63336 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63338         [BZ #14117]
63339         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
63340         <bits/wordsize.h>.
63341         (__WCHAR_MIN): Support __WORDSIZE == 64.
63342         (__WCHAR_MAX): Likewise.
63344         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
63345         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
63347         [BZ #14183]
63348         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
63349         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
63351         [BZ #14117]
63352         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
63353         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
63355         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
63356         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
63358         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
63359         Defined to 1 if __x86_64__ isn't defined.
63360         (_STAT_VER_LINUX_OLD): New.
63361         (st_atime): Remove duplicate.
63362         (st_mtime): Likewise.
63363         (st_ctime): Likewise.
63365 2012-05-31  David S. Miller  <davem@davemloft.net>
63367         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
63368         entries.
63370 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
63372         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
63373         gen-libm-test.pl.
63375         [BZ #14132]
63376         * elf/dl-reloc.c: Include <_itoa.h>.
63377         (_dl_reloc_bad_type): Remove use of INTUSE.
63378         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
63379         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
63380         * stdio-common/psiginfo.c (psiginfo): Likewise.
63381         * stdio-common/psignal.c (psignal): Likewise.
63382         * string/strsignal.c (strsignal): Likewise.
63383         * include/signal.h (_sys_siglist): Declare hidden proto.
63384         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
63385         INTVARDEF with libc_hidden_data_def.
63386         * stdio-common/itoa-udigits.c: Likewise.
63387         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
63388         (_itoa_lower_digits_internal): Remove declaration.
63389         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
63390         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
63391         (_sys_sigabbrev_internal): Remove aliases.
63392         (_sys_siglist): Define hidden alias.
63394 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
63396         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
63397         bits/sysctl.h.
63399 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
63401         [BZ #14117]
63402         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
63403         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
63405         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
63406         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
63407         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
63408         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
63409         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
63410         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
63412         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
63413         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
63414         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
63416         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
63417         with __addr.
63418         (insw): Likewise.
63419         (insl): Likewise.
63420         (outsb): Likewise.
63421         (outsw): Likewise.
63422         (outsl): Likewise.
63424         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
63425         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
63426         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
63428         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
63429         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
63430         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
63431         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
63432         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
63433         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
63435         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
63436         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
63438         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
63439         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
63441         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
63442         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
63443         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
63445         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
63446         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
63447         to ...
63448         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
63450         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
63451         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
63452         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
63454         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
63455         for x86-64.
63456         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
63458 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
63460         * math/math.h (M_El): Use two more decimal places.
63461         (M_LOG2El): Likewise.
63462         (M_LOG10El): Likewise.
63463         (M_LN2l): Likewise.
63464         (M_LN10l): Likewise.
63465         (M_PIl): Likewise.
63466         (M_PI_2l): Likewise.
63467         (M_PI_4l): Likewise.
63468         (M_1_PIl): Likewise.
63469         (M_2_PIl): Likewise.
63470         (M_2_SQRTPIl): Likewise.
63471         (M_SQRT2l): Likewise.
63472         (M_SQRT1_2l): Likewise.
63474 2012-05-31  David S. Miller  <davem@davemloft.net>
63476         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
63477         values between float registers.
63478         * sysdeps/sparc/sparc64/memset.S: Likewise.
63479         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
63481 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
63483         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
63484         -D_FORTIFY_SOURCE=1.
63485         (CPPFLAGS-tst-longjmp_chk.c): Define.
63486         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
63487         (CPPFLAGS-tst-longjmp_chk2.c): Define.
63488         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
63489         CFLAGS-tst-wchar-h.c.
63491 2012-05-31  Marek Polacek  <polacek@redhat.com>
63493         [BZ #14132]
63494         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
63495         __endmntent_internal): Remove declaration.
63496         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
63497         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
63498         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
63500 2012-05-30  David S. Miller  <davem@davemloft.net>
63502         * sysdeps/sparc/sparc32/soft-fp/q_util.c
63503         (___Q_simulate_exceptions): Use real FP ops rather than writing
63504         into the %fsr.
63505         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
63506         Likewise.
63508 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63510         [BZ #14117]
63511         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
63512         * sysdeps/x86/bits/xtitypes.h: This.
63514         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
63515         * sysdeps/x86/bits/wordsize.h: This.
63517         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
63518         * sysdeps/x86/bits/huge_vall.h: This.
63520         * sysdeps/i386/bits/select.h: Removed.
63521         * sysdeps/x86_64/bits/select.h: Renamed to ...
63522         * sysdeps/x86/bits/select.h: This.
63524         * sysdeps/i386/bits/setjmp.h: Removed.
63525         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
63526         * sysdeps/x86/bits/setjmp.h: This.
63528         * sysdeps/i386/bits/mathdef.h: Removed.
63529         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
63530         * sysdeps/x86/bits/mathdef.h: This.
63532 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
63534         [BZ #14132]
63535         * include/sys/socket.h (__connect_internal)
63536         (__libc_sa_len_internal): Remove declaration.
63537         (__connect, __libc_sa_len): Declare hidden_proto.
63538         (SA_LEN): Remove use of INTUSE.
63539         * socket/connect.c: Add libc_hidden_def.
63540         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
63541         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
63542         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
63543         alias.
63544         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
63545         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
63546         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
63547         of adding _internal alias.
63549 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63551         [BZ #14117]
63552         * sysdeps/i386/bits/link.h: Removed.
63553         * sysdeps/i386/bits/linkmap.h: Likewise.
63554         * sysdeps/x86_64/bits/link.h: Renamed to ...
63555         * sysdeps/x86/bits/link.h: This.
63556         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
63557         * sysdeps/x86/bits/linkmap.h: This.
63559         * sysdeps/i386/bits/endian.h: Removed.
63560         * sysdeps/x86_64/bits/endian.h: Renamed to ...
63561         * sysdeps/x86/bits/endian.h: This.
63563         * sysdeps/i386/bits/byteswap.h: Removed.
63564         * sysdeps/i386/bits/byteswap-16.h: Likewise.
63565         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
63566         * sysdeps/x86/bits/byteswap.h: This.
63567         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
63568         * sysdeps/x86/bits/byteswap-16.h: This.
63569         * sysdeps/i386/Implies: Add x86.
63570         * sysdeps/x86_64/Implies: Likewise.
63572 2012-05-30  David S. Miller  <davem@davemloft.net>
63574         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
63575         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
63576         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
63577         (FP_TRAPPING_EXCEPTIONS): Define.
63578         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
63579         (FP_TRAPPING_EXCEPTIONS): Define.
63580         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
63581         subnormals only when inexact has been signalled or underflow
63582         exceptions are enabled.
63583         (_FP_PACK_CANONICAL): Likewise.
63585 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63587         [BZ #14183]
63588         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
63589         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
63591 2012-05-30  Richard Henderson  <rth@twiddle.net>
63593         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
63594         with #ifndef NOT_IN_libc.
63596         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
63597         marked to avoid plt entry.
63599 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
63601         [BZ #14112]
63602         * Makeconfig (default-abi): New macro.
63603         (abi-includes): Likewise.
63604         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
63605         $(abi-$(default-abi)-lib-soname) for soname if defined.
63606         ($(common-objpfx)gnu/lib-names.stmp): Generate from
63607         abi-variants.
63608         * Makefile (installed-stubs): Likewise.
63609         * include/stubs-biarch.h: Removed.
63610         * scripts/lib-names.awk: Only handle one library at a time.
63611         * scripts/soversions.awk: Remove WORDSIZE support.
63612         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
63613         entries.
63614         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
63615         Removed.
63616         (syscall-list-default-condition): Likewise.
63617         (syscall-list-default-condition): Likewise.
63618         (syscall-list-includes): Likewise.
63619         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
63620         syscall-list-* with abi-*.  Handle undefined abi-variants.
63621         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
63622         * sysdeps/unix/sysv/linux/i386/Implies: New file.
63623         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
63624         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
63625         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
63626         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
63627         Removed.
63628         (syscall-list-32-options): Likewise.
63629         (syscall-list-32-condition): Likewise.
63630         (syscall-list-64-options): Likewise.
63631         (syscall-list-64-condition): Likewise.
63632         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
63633         macro.
63634         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
63635         Renamed to ...
63636         (abi-*): This.
63637         (abi-64-ld-soname): New macro.
63638         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
63639         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
63640         Renamed to ...
63641         (abi-*): This.
63642         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
63643         * sysdeps/x86_64/x32/shlib-versions: Likewise.
63645 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
63647         * sysdeps/unix/sysv/linux/kernel-features.h
63648         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
63649         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
63650         include <kernel-features.h>.
63651         [!__NR_ftruncate64]: Remove conditional code.
63652         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63653         [__NR_ftruncate64]: Make code unconditional.
63654         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63655         * sysdeps/unix/sysv/linux/truncate64.c: Do not
63656         include <kernel-features.h>.
63657         [!__NR_ftruncate64]: Remove conditional code.
63658         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63659         [__NR_ftruncate64]: Make code unconditional.
63660         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
63662         include <kernel-features.h>.
63663         [!__NR_ftruncate64]: Remove conditional code.
63664         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63665         [__NR_ftruncate64]: Make code unconditional.
63666         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63667         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
63668         include <kernel-features.h>.
63669         [!__NR_ftruncate64]: Remove conditional code.
63670         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63671         [__NR_ftruncate64]: Make code unconditional.
63672         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
63674         * configure.in (libc_cv_fpie): Weaken to a compile test using
63675         LIBC_TRY_CC_OPTION.
63676         * configure: Regenerated.
63678 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
63680         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
63681         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
63682         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
63683         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
63684         Refreshed.
63685         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
63686         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
63687         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
63688         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
63689         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
63690         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
63691         Refreshed.
63693 2012-05-27  David S. Miller  <davem@davemloft.net>
63695         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
63696         (___Q_zero): New.
63697         (__Q_simulate_exceptions): Return void.  Change to simulate
63698         exceptions by writing into the %fsr.
63699         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
63700         (__Qp_handle_exceptions): Likewise.
63701         (numbers): Delete.
63702         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
63703         __Qp_handle_exceptions.
63704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
63705         __Qp_handle_exceptions.
63706         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63707         as unused and give dummy FP_RND_NEAREST initializer.
63708         (FP_INHIBIT_RESULTS): Define.
63709         (___Q_simulate_exceptions): Update declaration.
63710         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
63711         formatting.
63712         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
63713         as unused and give dummy FP_RND_NEAREST initializer.
63714         (__Qp_handle_exceptions): Update declaration.
63715         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
63716         formatting.
63718 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
63720         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
63721         the temporary FPU control word.
63722         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
63723         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
63724         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
63725         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
63726         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
63727         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
63728         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
63729         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
63730         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
63731         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
63732         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
63734 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
63736         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
63737         fields.
63739 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
63741         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
63742         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
63743         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
63744         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
63745         Likewise.
63746         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
63747         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
63748         Likewise.
63750 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
63752         * po/h.po: Update from translation team.
63754 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
63756         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
63758         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
63759         handling of denormals.
63760         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
63761         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
63762         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
63763         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
63764         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63765         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
63766         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
63767         Likewise.
63769 2012-05-26  Marek Polacek  <polacek@redhat.com>
63771         [BZ #14152]
63772         * math/libm-test.inc (fma_test): Don't always expect underflow
63773         exception.
63775 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
63777         [BZ #12416]
63778         * elf/tst-execstack.c: Include stackinfo.h.
63779         (do_test): Adjust test case to ensure that pthread_getattr_np
63780         behaviour remains the same after marking stack executable.
63782 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63784         * sysdeps/unix/sysv/linux/kernel-features.h
63785         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
63786         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
63787         kernel-features.h.
63788         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63789         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63790         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
63791         kernel-features.h.
63792         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
63793         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
63795 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
63797         * configure.in: Define the default includes to being none.
63798         * configure: Regenerated.
63800 2012-05-25  Roland McGrath  <roland@hack.frob.com>
63802         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
63803         * sysdeps/x86_64/setjmp.S: Likewise.
63804         * sysdeps/i386/bsd-setjmp.S: Likewise.
63805         * sysdeps/i386/bsd-_setjmp.S: Likewise.
63806         * sysdeps/i386/setjmp.S: Likewise.
63807         * sysdeps/i386/__longjmp.S: Likewise.
63808         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
63809         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
63811         * include/stap-probe.h: New file.
63812         * configure.in: Handle --enable-systemtap.
63813         * configure: Regenerated.
63814         * config.h.in (USE_STAP_PROBE): New #undef.
63815         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
63816         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
63817         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
63819 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
63821         [BZ #13717]
63822         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
63823         to 2.4.0 where earlier.
63824         * sysdeps/unix/sysv/linux/configure: Regenerated.
63825         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
63826         <kernel-features.h>.
63827         [__ASSUME_32BITUIDS]: Make code unconditional.
63828         [!__ASSUME_32BITUIDS]: Remove conditional code.
63829         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
63830         <kernel-features.h>.
63831         [__ASSUME_32BITUIDS]: Make code unconditional.
63832         [!__ASSUME_32BITUIDS]: Remove conditional code.
63833         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
63834         [__ASSUME_32BITUIDS]: Make code unconditional.
63835         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
63836         * sysdeps/unix/sysv/linux/i386/getegid.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/geteuid.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/getgid.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/getgroups.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/getresgid.c: Do not include
63853         <kernel-features.h>.
63854         [__ASSUME_32BITUIDS]: Make code unconditional.
63855         [!__ASSUME_32BITUIDS]: Remove conditional code.
63856         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
63857         <kernel-features.h>.
63858         [__ASSUME_32BITUIDS]: Make code unconditional.
63859         [!__ASSUME_32BITUIDS]: Remove conditional code.
63860         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
63861         <kernel-features.h>.
63862         [__ASSUME_32BITUIDS]: Make code unconditional.
63863         [!__ASSUME_32BITUIDS]: Remove conditional code.
63864         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
63865         <kernel-features.h>.
63866         [__ASSUME_32BITUIDS]: Make code unconditional.
63867         [!__ASSUME_32BITUIDS]: Remove conditional code.
63868         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
63869         <kernel-features.h>.
63870         [__ASSUME_32BITUIDS]: Make code unconditional.
63871         [!__ASSUME_32BITUIDS]: Remove conditional code.
63872         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
63873         <kernel-features.h>.
63874         [__ASSUME_32BITUIDS]: Make code unconditional.
63875         [!__ASSUME_32BITUIDS]: Remove conditional code.
63876         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
63877         <kernel-features.h>.
63878         [__NR_setresgid] (__setresgid): Do not declare.
63879         [__ASSUME_32BITUIDS]: Make code unconditional.
63880         [!__ASSUME_32BITUIDS]: Remove conditional code.
63881         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
63882         <kernel-features.h>.
63883         [__NR_setresuid] (__setresuid): Do not declare.
63884         [__ASSUME_32BITUIDS]: Make code unconditional.
63885         [!__ASSUME_32BITUIDS]: Remove conditional code.
63886         * sysdeps/unix/sysv/linux/i386/setfsgid.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/setfsuid.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/setgid.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/setgroups.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/i386/setregid.c: Do not include
63903         <kernel-features.h>.
63904         [__ASSUME_32BITUIDS]: Make code unconditional.
63905         [!__ASSUME_32BITUIDS]: Remove conditional code.
63906         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
63907         <kernel-features.h>.
63908         [__ASSUME_32BITUIDS]: Make code unconditional.
63909         [!__ASSUME_32BITUIDS]: Remove conditional code.
63910         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
63911         <kernel-features.h>.
63912         [__ASSUME_32BITUIDS]: Make code unconditional.
63913         [!__ASSUME_32BITUIDS]: Remove conditional code.
63914         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
63915         <kernel-features.h>.
63916         [__ASSUME_32BITUIDS]: Make code unconditional.
63917         [!__ASSUME_32BITUIDS]: Remove conditional code.
63918         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
63919         <kernel-features.h>.
63920         [__ASSUME_32BITUIDS]: Make code unconditional.
63921         [!__ASSUME_32BITUIDS]: Remove conditional code.
63922         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
63923         <kernel-features.h>.
63924         [__ASSUME_32BITUIDS]: Make code unconditional.
63925         [!__ASSUME_32BITUIDS]: Remove conditional code.
63926         * sysdeps/unix/sysv/linux/kernel-features.h
63927         (__ASSUME_SETRESUID_SYSCALL): Remove.
63928         (__ASSUME_SETRESGID_SYSCALL): Likewise.
63929         (__ASSUME_32BITUIDS): Likewise.
63930         (__ASSUME_LDT_WORKS): Likewise.
63931         (__ASSUME_O_DIRECTORY): Likewise.
63932         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
63933         architecture but not kernel version.
63934         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
63935         (__ASSUME_MMAP2_SYSCALL): Likewise.
63936         (__ASSUME_STAT64_SYSCALL): Likewise.
63937         (__ASSUME_IPC64): Likewise.
63938         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
63939         <kernel-features.h>.
63940         [__ASSUME_32BITUIDS]: Make code unconditional.
63941         [!__ASSUME_32BITUIDS]: Remove conditional code.
63942         * sysdeps/unix/sysv/linux/opendir.c: Do not include
63943         <kernel-features.h>.
63944         [__ASSUME_O_DIRECTORY]: Make code unconditional.
63945         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
63946         132096]: Remove conditional code.
63947         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
63948         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
63949         <kernel-features.h>.
63950         [__ASSUME_32BITUIDS]: Make code unconditional.
63951         [!__ASSUME_32BITUIDS]: Remove conditional code.
63952         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
63953         <kernel-features.h>.
63954         [__ASSUME_32BITUIDS]: Make code unconditional.
63955         [!__ASSUME_32BITUIDS]: Remove conditional code.
63956         * sysdeps/unix/sysv/linux/setegid.c: Do not include
63957         <kernel-features.h>.
63958         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
63959         unconditional.
63960         (__setresgid): Do not declare.
63961         [__ASSUME_32BITUIDS]: Make code unconditional.
63962         [!__ASSUME_32BITUIDS]: Remove conditional code.
63963         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
63964         <kernel-features.h>.
63965         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
63966         unconditional.
63967         (__setresuid): Do not declare.
63968         [__ASSUME_32BITUIDS]: Make code unconditional.
63969         [!__ASSUME_32BITUIDS]: Remove conditional code.
63970         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
63971         <kernel-features.h>.
63972         [__ASSUME_32BITUIDS]: Make code unconditional.
63973         [!__ASSUME_32BITUIDS]: Remove conditional code.
63974         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
63975         <kernel-features.h>.
63976         [__ASSUME_32BITUIDS]: Make code unconditional.
63977         [!__ASSUME_32BITUIDS]: Remove conditional code.
63979 2012-05-25  Richard Henderson  <rth@twiddle.net>
63981         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
63982         dl_hwcap to ifunc resolver.
63983         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
63984         elf_ifunc_invoke.
63985         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
63986         dl_hwcap to ifunc resolver.
63987         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
63989 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
63991         [BZ #14153]
63992         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
63993         for |x| <= 2**-26, not 2**-57.
63994         * math/libm-test.inc (acos_test): Do not allow spurious underflow
63995         exception.
63997 2012-05-24  Jeff Law  <law@redhat.com>
63999         * stdio-common/Makefile (tests): Add bug25.
64000         * stdio-common/bug25.c: New test.
64002 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64004         [BZ #13576]
64005         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
64006         multiple of MALLOC_ALIGNMENT in size.
64007         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
64009 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64011         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
64012         Require >= 256.
64013         (FILENAME_MAX): Use macro-int-constant.
64014         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
64015         (_IOFBF): Use macro-int-constant.
64016         (_IOLBF): Likewise.
64017         (_IONBF): Likewise.
64018         (SEEK_CUR): Likewise.
64019         (SEEK_END): Likewise.
64020         (SEEK_SET): Likewise.
64021         (TMP_MAX): Likewise.
64022         (EOF): Use macro-int-constant.  Require < 0.
64023         (NULL): Use macro-constant.  Require == 0.
64024         (stdin): Require type to be FILE *.
64025         (stdout): Likewise.
64026         (stderr): Likewise.
64027         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
64028         macro-int-constant.
64029         (EXIT_SUCCESS): Likewise.
64030         (NULL): Use macro-constant.  Require == 0.
64031         (RAND_MAX): Use macro-int-constant.
64032         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
64033         [C99-based standards] (strtof): Require function.
64034         [C99-based standards] (strtold): Likewise.
64035         [C99-based standards] (strtoll): Likewise.
64036         [C99-based standards] (strtoull): Likewise.
64037         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
64038         [ISO || ISO99 || ISO11] (limits.h): Likewise.
64039         [ISO || ISO99 || ISO11] (math.h): Likewise.
64040         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
64041         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
64042         [ISO || ISO99 || ISO11] (*_t): Do not allow.
64044 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
64046         [BZ #14132]
64047         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
64048         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
64049         * intl/dgettext.c (DCGETTEXT): Likewise.
64050         * intl/gettext.c (DCGETTEXT): Likewise.
64051         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
64052         * posix/regex_internal.h (gettext): Likewise.
64053         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
64054         Remove declaration.
64055         * include/argz.h (__argz_count_internal)
64056         (__argz_stringify_internal): Remove declaration.
64057         (__argz_count, __argz_stringify): Declare hidden proto.
64058         * intl/dcgettext.c: Remove use of INTDEF.
64059         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
64060         * string/argz-stringify.c: Likewise.
64061         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64062         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64063         Declare hidden proto.
64064         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
64065         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
64066         Declare hidden proto.
64067         * include/stdio.h (__asprintf_internal): Don't declare.
64068         (__asprintf): Don't define as macro.  Declare hidden proto.
64069         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
64070         (__fsetlocking): Declare hidden proto.
64071         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
64072         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
64073         hidden proto.
64074         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
64075         (_IO_setlinebuf): Remove use of INTUSE.
64076         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
64077         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
64078         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
64079         Remove declaration.
64080         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
64081         (_IO_do_flush): Remove use of INTUSE.
64082         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
64083         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
64084         (_IO_adjust_column, _IO_least_wmarker)
64085         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
64086         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
64087         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
64088         (_IO_default_doallocate, _IO_wdefault_doallocate)
64089         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
64090         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
64091         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
64092         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
64093         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
64094         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
64095         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
64096         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
64097         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
64098         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
64099         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
64100         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
64101         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
64102         proto.
64103         (_IO_flush_all_internal, _IO_adjust_column_internal)
64104         (_IO_default_uflow_internal, _IO_default_finish_internal)
64105         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
64106         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
64107         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
64108         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
64109         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
64110         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
64111         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
64112         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
64113         (_IO_file_close_internal, _IO_file_close_it_internal)
64114         (_IO_file_underflow_internal, _IO_file_overflow_internal)
64115         (_IO_file_init_internal, _IO_file_attach_internal)
64116         (_IO_file_fopen_internal, _IO_file_read_internal)
64117         (_IO_file_sync_internal, _IO_file_seek_internal)
64118         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
64119         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
64120         (_IO_str_underflow_internal, _IO_str_overflow_internal)
64121         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
64122         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
64123         (_IO_list_all_internal, _IO_link_in_internal)
64124         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
64125         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
64126         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
64127         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
64128         (_IO_do_write_internal, _IO_padn_internal)
64129         (_IO_getline_info_internal, _IO_getline_internal)
64130         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
64131         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
64132         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
64133         (_IO_vfscanf_internal, _IO_vfprintf_internal)
64134         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
64135         (_IO_init_internal, _IO_un_link_internal): Don't declare.
64136         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
64137         with libc_hidden_ver, remove use of INTUSE.
64138         * libio/genops.c: Likewise.
64139         * libio/freopen.c: Likewise.
64140         * libio/freopen64.c: Likewise.
64141         * libio/iofclose.c: Likewise.
64142         * libio/iofdopen.c: Likewise.
64143         * libio/iofflush.c: Likewise.
64144         * libio/iofflush_u.c: Likewise.
64145         * libio/iofgets.c: Likewise.
64146         * libio/iofgets_u.c: Likewise.
64147         * libio/iofopen.c: Likewise.
64148         * libio/iofopncook.c: Likewise.
64149         * libio/iofread.c: Likewise.
64150         * libio/iofread_u.c: Likewise.
64151         * libio/ioftell.c: Likewise.
64152         * libio/iofwrite.c: Likewise.
64153         * libio/iogetline.c: Likewise.
64154         * libio/iogets.c: Likewise.
64155         * libio/iogetwline.c: Likewise.
64156         * libio/iopadn.c: Likewise.
64157         * libio/iopopen.c: Likewise.
64158         * libio/ioseekoff.c: Likewise.
64159         * libio/ioseekpos.c: Likewise.
64160         * libio/iosetbuffer.c: Likewise.
64161         * libio/iosetvbuf.c: Likewise.
64162         * libio/ioungetc.c: Likewise.
64163         * libio/ioungetwc.c: Likewise.
64164         * libio/iovdprintf.c: Likewise.
64165         * libio/iovsprintf.c: Likewise.
64166         * libio/iovsscanf.c: Likewise.
64167         * libio/memstream.c: Likewise.
64168         * libio/obprintf.c: Likewise.
64169         * libio/oldfileops.c: Likewise.
64170         * libio/oldiofclose.c: Likewise.
64171         * libio/oldiofdopen.c: Likewise.
64172         * libio/oldiofopen.c: Likewise.
64173         * libio/oldiopopen.c: Likewise.
64174         * libio/oldstdfiles.c: Likewise.
64175         * libio/putc.c: Likewise.
64176         * libio/setbuf.c: Likewise.
64177         * libio/setlinebuf.c: Likewise.
64178         * libio/stdfiles.c: Likewise.
64179         * libio/strops.c: Likewise.
64180         * libio/vasprintf.c: Likewise.
64181         * libio/vscanf.c: Likewise.
64182         * libio/vsnprintf.c: Likewise.
64183         * libio/vswprintf.c: Likewise.
64184         * libio/wfiledoalloc.c: Likewise.
64185         * libio/wfileops.c: Likewise.
64186         * libio/wgenops.c: Likewise.
64187         * libio/wmemstream.c: Likewise.
64188         * libio/wstrops.c: Likewise.
64189         * libio/__fpurge.c: Likewise.
64190         * libio/__fsetlocking.c: Likewise.
64191         * assert/assert.c: Likewise.
64192         * debug/fgets_chk.c: Likewise.
64193         * debug/fgets_u_chk.c: Likewise.
64194         * debug/fread_chk.c: Likewise.
64195         * debug/fread_u_chk.c: Likewise.
64196         * debug/gets_chk.c: Likewise.
64197         * debug/obprintf_chk.c: Likewise.
64198         * debug/vasprintf_chk.c: Likewise.
64199         * debug/vdprintf_chk.c: Likewise.
64200         * debug/vsnprintf_chk.c: Likewise.
64201         * debug/vsprintf_chk.c: Likewise.
64202         * malloc/mtrace.c: Likewise.
64203         * misc/error.c: Likewise.
64204         * misc/syslog.c: Likewise.
64205         * stdio-common/asprintf.c: Likewise.
64206         * stdio-common/fxprintf.c: Likewise.
64207         * stdio-common/getw.c: Likewise.
64208         * stdio-common/isoc99_fscanf.c: Likewise.
64209         * stdio-common/isoc99_scanf.c: Likewise.
64210         * stdio-common/isoc99_vfscanf.c: Likewise.
64211         * stdio-common/isoc99_vscanf.c: Likewise.
64212         * stdio-common/isoc99_vsscanf.c: Likewise.
64213         * stdio-common/printf-prs.c: Likewise.
64214         * stdio-common/printf_fp.c: Likewise.
64215         * stdio-common/printf_fphex.c: Likewise.
64216         * stdio-common/printf_size.c: Likewise.
64217         * stdio-common/putw.c: Likewise.
64218         * stdio-common/scanf.c: Likewise.
64219         * stdio-common/sprintf.c: Likewise.
64220         * stdio-common/tmpfile.c: Likewise.
64221         * stdio-common/vfprintf.c: Likewise.
64222         * stdio-common/vfscanf.c: Likewise.
64223         * stdlib/strfmon_l.c: Likewise.
64224         * sunrpc/openchild.c: Likewise.
64225         * sunrpc/xdr_stdio.c: Likewise.
64226         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
64227         * sysdeps/mach/hurd/tmpfile.c: Likewise.
64229 2012-05-24  Roland McGrath  <roland@hack.frob.com>
64231         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64233         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
64234         in the third column, to generate for the shared library an IFUNC
64235         that uses _dl_vdso_vsym.
64236         * Makerules (COMPILE.c, compile-stdin.c): New variables.
64237         * Makeconfig (object-suffixes-noshared): New variable.
64239         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
64240         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
64241         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
64242         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
64244         [BZ #14132]
64245         * include/sys/time.h (__gettimeofday): Remove macro.
64246         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
64247         * time/gettimeofday.c (__gettimeofday): Remove #undef.
64248         Remove INTDEF.
64249         (__gettimeofday): Add libc_hidden_def.
64250         (gettimeofday): Add libc_hidden_weak.
64251         * sysdeps/mach/gettimeofday.c: Likewise.
64252         * sysdeps/posix/gettimeofday.c: Likewise.
64253         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
64254         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
64255         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
64256         (__gettimeofday_internal): Remove strong_alias.
64257         (__gettimeofday): Add libc_hidden_def.
64258         (gettimeofday): Add libc_hidden_weak.
64259         * sysdeps/unix/syscalls.list (gettimeofday):
64260         Remove __gettimeofday_internal alias.
64262 2012-05-24  Daniel Jacobowitz  <drow@false.org>
64263             H.J. Lu  <hongjiu.lu@intel.com>
64265         [BZ #12495]
64266         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
64267         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
64268         (largebin_index_32_big): New.
64269         (largebin_index): Use it for 16-byte alignment.
64270         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
64271         correction with front_misalign.
64273 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
64275         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
64276         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
64277         Likewise.
64278         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
64279         Likewise.
64280         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
64281         Likewise.
64282         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
64283         Likewise.
64284         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
64285         Likewise.
64286         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
64287         Likewise.
64288         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
64289         Likewise.
64290         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
64291         Likewise.
64292         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
64293         Likewise.
64294         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
64295         Likewise.
64296         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
64297         Likewise.
64298         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
64299         Likewise.
64301         * scripts/data/c++-types-x32-linux-gnu.data: New file.
64302         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
64304 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
64306         [BZ #10846]
64307         [BZ #14036]
64308         * math/libm-test.inc (exp_test): Add test from bug 14036.
64309         (pow_test): Add test from bug 10846.
64311         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
64312         and other flags.
64313         (special_function): Do not include flags in test name.
64314         (parse_args): Likewise.
64315         * sysdeps/i386/fpu/libm-test-ulps: Update.
64316         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
64317         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
64318         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
64319         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64321         * math/gen-libm-test.pl (%beautify): Add entries for underflow
64322         exceptions.
64323         * math/libm-test.inc ("Philosophy"): Update comment about
64324         exception testing.
64325         (UNDERFLOW_EXCEPTION): New macro.
64326         (UNDERFLOW_EXCEPTION_OK): Likewise.
64327         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
64328         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
64329         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
64330         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
64331         (INVALID_EXCEPTION_OK): Update value.
64332         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64333         (OVERFLOW_EXCEPTION_OK): Likewise.
64334         (IGNORE_ZERO_INF_SIGN): Likewise.
64335         (test_exceptions): Handle underflow exceptions.
64336         (acos_test): Update for underflow exception expectations.
64337         (cexp_test): Likewise.
64338         (clog_test): Likewise.
64339         (clog10_test): Likewise.
64340         (csqrt_test): Likewise.
64341         (ctan_test): Likewise.
64342         (ctanh_test): Likewise.
64343         (exp_test): Likewise.
64344         (exp10_test): Likewise.
64345         (exp2_test): Likewise.
64346         (expm1_test): Likewise.
64347         (fma_test): Likewise.
64348         (j0_test): Likewise.
64349         (jn_test): Likewise.
64350         (nexttoward_test): Likewise.
64351         (pow_test): Likewise.
64352         (scalbn_test): Likewise.
64353         (scalbln_test): Likewise.
64354         (tan_test): Likewise.
64355         (y1_test): Likewise.
64356         * sysdeps/i386/fpu/libm-test-ulps: Update.
64357         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64359 2012-05-23  David S. Miller  <davem@davemloft.net>
64361         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
64362         (__libc_sigaction): Remove unused local variables.
64364 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64366         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
64368 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
64370         mktime: avoid signed integer overflow
64371         * time/mktime.c (__mktime_internal): Do not mishandle the case
64372         where diff == INT_MIN.
64374         mktime: simplify computation of average
64375         * time/mktime.c (ranged_convert): Use new time_t_avg function
64376         instead of rolling our own (probably-slower) code.
64378         mktime: do not assume signed right shift propagates sign bit
64379         * time/mktime.c (isdst_differ): New static function.
64380         (__mktime_internal): No need to normalize tm_isdst now.
64381         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
64382         tm_isdst values.
64384         mktime: merge another wrapv change from gnulib
64385         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
64386         from some compilers.
64388         mktime: remove incorrect attempt at unusual arithmetics
64389         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
64390         The code didn't really work on such machines anyway.
64391         (TYPE_MINIMUM): Assume two's complement.
64392         (twos_complement_arithmetic): Verify that long_int and time_t
64393         are two's complement (or unsigned, in the latter case).
64395         mktime: check signed shifts on long_int and time_t, too
64396         * time/mktime.c (SHR): Check that shifts work as desired
64397         on the types long_int and time_t too, as SHR is used on
64398         such types.
64400         mktime: do not assume 'long' is wide enough
64401         * time/mktime.c (verify): Move decl up.
64402         (long_int): New type.
64403         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
64404         to remove assumption in the code that 'long' is wide enough to
64405         store year values.  This assumption is not true on x32 and on
64406         some non-glibc platforms.
64408         mktime: merge wrapv change from gnulib
64409         * time/mktime.c (WRAPV): New macro.
64410         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
64411         (guess_time_tm, __mktime_internal): Do not assume that signed
64412         integer overflow wraps around; modern compilers generate code
64413         where this assumption is no longer valid.
64415 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64417         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64418         Replace "jmp L(pseudo_end)" with "ret".
64419         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
64420         Likewise.
64422 2012-05-23  Andreas Jaeger  <aj@suse.de>
64424         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
64425         * sysdeps/unix/sysv/linux/poll.c: Remove file.
64427 2012-05-23  Andreas Jaeger  <aj@suse.de>
64428             Maximilian Attems  <max@stro.at>
64430         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
64431         New macros.
64433 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
64435         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
64436         code so that pseudo_end is just ret and the stack pointer is
64437         correct also for static library in error case.
64439 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
64441         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
64442         move to syscalls.list.
64443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
64444         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
64445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
64446         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
64448         * manual/install.texi (Running make install): Do not mention Linux
64449         kernel version for which pt_chown is not needed.
64450         (Linux): Do not mention problems with nscd with 2.0 kernels.
64451         * INSTALL: Regenerated.
64453 2012-05-23  Andreas Jaeger  <aj@suse.de>
64455         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
64456         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
64457         macro.
64458         * sysdeps/unix/sysv/linux/s390/bits/mman.h
64459         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64460         * sysdeps/unix/sysv/linux/sh/bits/mman.h
64461         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64462         * sysdeps/unix/sysv/linux/i386/bits/mman.h
64463         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64464         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
64465         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64466         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
64467         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
64468         * sysdeps/unix/sysv/linux/bits/in.h
64469         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
64471 2012-05-22  Roland McGrath  <roland@hack.frob.com>
64473         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
64474         (PREPARE_VERSION): Just use assert instead, it will be elided
64475         under [NDEBUG] anyway.
64477 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64479         * sysdeps/unix/sysv/linux/Makefile: Include
64480         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
64481         (sysdep_routines): Remove sysctl.
64482         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
64483         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
64484         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
64485         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
64486         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
64488 2012-05-22  Andreas Jaeger  <aj@suse.de>
64490         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
64491         that pseudo_end is just ret and the stack pointer is correct also
64492         for static library in error case.
64494 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
64496         [BZ #14122]
64497         * nss/nsswitch.c (defconfig_entries): New variable.
64498         (__nss_database_lookup): Don't leak defconfig entries.
64499         (nss_parse_service_list): Don't leak on error paths.
64500         (free_database_entries): New function.
64501         (free_defconfig): New function.
64502         (free_mem): Move common code to free_database_entries.
64504 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64506         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
64507         Add arch_prctl.
64508         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
64510         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
64511         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
64512         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
64513         New macro.
64514         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
64515         (INTERNAL_SYSCALL_TYPES): Likewise.
64516         (LOAD_ARGS_TYPES_[1-6]): Likewise.
64517         (LOAD_REGS_TYPES_[1-6]): Likewise.
64518         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
64519         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
64521 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64523         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
64524         copysignl for GLIBC_2_0.
64525         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
64526         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
64527         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
64528         logbl for GLIBC_2_0.
64529         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
64530         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
64532 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64534         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
64535         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
64537         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
64538         Use "neg %eax".
64540         * time/mktime.c: Update copyright years.
64542 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
64544         mktime: merge comment-quoting-style change from gnulib
64545         * time/mktime.c: Quote 'like this' in comments.
64546         The GNU coding standards suggest that we no longer quote `like this',
64547         as "`" and "'" are typically rendered asymmetrically nowadays.
64548         The typical gnulib style is to quote 'like this' when quoting
64549         code, and "like this" when quoting English.
64551         * time/mktime.c (compile-command): Add "-I.".
64553         mktime: merge mktime-internal.h change from gnulib
64554         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
64556         mktime: merge time_r change from gnulib
64557         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
64559         mktime: merge DEBUG change from gnulib
64560         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
64561         case system <time.h> has a #define.
64563         mktime: merge <sys/types.h> change from gnulib
64564         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
64565         since <time.t> is now guaranteed to define time_t.
64567         mktime: merge HAVE_CONFIG_H change from gnulib
64568         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
64570 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
64572         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64573         Use "neg %eax".
64575         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
64576         __rlim_t cast.
64577         (struct rusage): Use anonymous union to pad each field to
64578         __syscall_slong_t.
64580 2012-05-21  David S. Miller  <davem@davemloft.net>
64582         * Makefules (o-iterator): Remove .s cases.
64583         (compile-command.s): Delete.
64584         (COMPILE.s): Delete.
64585         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
64587 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
64589         * configure.in (libc_cv_predef_stack_protector): Only consider
64590         "foobar" and "__stack_chk_fail" lines in libc_undefs.
64591         * configure: Regenerated.
64593 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64595         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
64596         New macro.  Use R*LP on int and pointer.
64597         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
64598         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
64599         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
64600         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
64602         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
64603         [__WORDSIZE_TIME64_COMPAT32] instead of
64604         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
64605         (struct utmp): Likewise.
64606         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
64607         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
64608         Renamed to ...
64609         (__WORDSIZE_TIME64_COMPAT32): This.
64610         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
64611         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
64612         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
64613         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
64614         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
64615         (__WORDSIZE_TIME64_COMPAT32): New macro.
64617 2012-05-21  Andreas Jaeger  <aj@suse.de>
64619         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
64620         only if [SHARED]. Add prototype for __wcschr_ia32.
64622 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64624         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
64625         of %rbp unmolested in the jmp_buf while mangling the low bits.
64626         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
64627         unmolested high bits of %rbp while demangling the low bits.
64628         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
64630 2012-05-21  Andreas Jaeger  <aj@suse.de>
64632         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
64633         * sunrpc/svc_simple.c: Use it for registerrpc.
64634         * sunrpc/xcrypt.c: Use it for passwd2des.
64636         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
64638 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64640         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
64641         Don't define if [__SYSCALL_WORDSIZE != 32].
64642         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
64643         New macro.
64645 2012-05-21  Bruno Haible  <bruno@clisp.org>
64646             Andreas Jaeger  <aj@suse.de>
64648         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
64649         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
64650         inptr and inend for must_buffer_ch.
64651         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
64652         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
64653         * stdio-common/Makefile (tests): Remove bug15.
64654         (bug15-ENV): Remove macro.
64655         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
64656         anymore.
64658 2012-05-19  Andreas Jaeger  <aj@suse.de>
64659             Roland McGrath  <roland@hack.frob.com>
64661         * manual/contrib.texi: Completely rewritten. It contains now an
64662         alphabetical list of contributors and their contributions.
64664 2012-05-21  Richard Henderson  <rth@twiddle.net>
64666         * misc/getauxval.c (__getauxval): Use unsigned long int.
64667         * misc/sys/auxv.h: Include <sys/cdefs.h>.
64668         (getauxval): Use unsigned long int.
64670 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
64672         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
64674 2012-05-21  Roland McGrath  <roland@hack.frob.com>
64676         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
64677         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
64678         __alignof__ (long double).
64680 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64682         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64684 2012-05-20  Richard Henderson  <rth@twiddle.net>
64686         * misc/getauxval.c: New file.
64687         * misc/sys/auxv.h: New file.
64688         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
64689         (routines): Add getauxval.
64690         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
64691         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
64692         * elf/dl-sysdep.c (_dl_auxv): Remove.
64693         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
64694         * elf/dl-support.c (_dl_auxv): New variable.
64695         (_dl_aux_init): Initialize it.
64696         * manual/startup.texi (Auxiliary Vector): New node.
64697         * sysdeps/generic/bits/hwcap.h: New file.
64698         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
64699         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
64700         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
64701         * sysdeps/sparc/sysdep.h: ... here.  Include it.
64702         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
64703         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
64704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
64705         Update.
64706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
64707         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
64708         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
64709         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
64710         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64711         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
64712         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
64713         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
64715 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64717         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64719 2012-05-19  David S. Miller  <davem@davemloft.net>
64721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64723 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64725         [BZ #14123]
64726         * math/s_ccosh.c: Include <float.h>
64727         (__ccosh): Avoid internal overflow calculating sinh and cosh
64728         values before multiplying by sin and cos values.
64729         * math/s_ccoshf.c: Likewise.
64730         * math/s_ccoshl.c: Likewise.
64731         * math/s_csin.c: Likewise.
64732         * math/s_csinf.c: Likewise.
64733         * math/s_csinl.c: Likewise.
64734         * math/s_csinh.c: Likewise.
64735         * math/s_csinhf.c: Likewise.
64736         * math/s_csinhl.c: Likewise.
64737         * math/libm-test.inc (ccos_test): Add more tests.
64738         (ccosh_test): Likewise.
64739         (csin_test): Likewise.
64740         (csinh_test): Likewise.
64741         * sysdeps/i386/fpu/libm-test-ulps: Update.
64742         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64744 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
64746         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
64747         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
64749         * sysdeps/x86_64/x32/_itoa.h: Add comment.
64751 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
64753         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
64754         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
64755         * sysdeps/powerpc/soft-fp/Versions: Likewise.
64756         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
64757         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
64758         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
64759         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
64760         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
64761         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
64762         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
64763         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
64764         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
64765         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
64766         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
64767         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
64768         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
64769         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
64770         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
64771         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
64772         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
64773         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
64774         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
64775         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
64776         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
64777         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
64778         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
64779         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
64780         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
64781         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
64782         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
64783         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
64785 2012-05-18  Andreas Jaeger  <aj@suse.de>
64787         * csu/.gitignore: Delete.
64789 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64791         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
64792         (timex): Use __syscall_slong_t.
64794 2012-05-18  Andreas Jaeger  <aj@suse.de>
64795             Carlos O'Donell  <carlos_odonell@mentor.com>
64797         * manual/install.texi (Configuring and compiling): Update
64798         description about files modified in the source directory.
64799         * INSTALL: Regenerated.
64801 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64803         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
64804         value.  Use "or" to set return value to -1.
64805         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
64806         negate return value.
64808 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
64810         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
64811         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
64812         failure if the compiler has Graphite support disabled.
64813         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
64814         Likewise.
64815         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
64816         (CFLAGS-memmove.c): Likewise.
64817         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
64818         Likewise.
64820 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
64822         * sysdeps/x86_64/x32/_itoa.h: New file.
64824         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
64825         getdents system call only if kernel and user dirents have the
64826         same d_ino and d_off.
64828         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
64829         LLONG_MAX != LONG_MAX.
64830         (_itoa_word): Use _ITOA_WORD_TYPE on value.
64831         (_fitoa_word): Likewise.
64833         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
64834         years.
64835         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
64836         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
64837         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
64839         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
64840         include <bits/wordsize.h>.  Check __x86_64__ instead of
64841         __WORDSIZE.
64842         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
64843         if __x86_64__ is defined.  Use anonymous union on fpstate.
64845         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
64846         anonymous union.
64848 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
64850         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
64851         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
64852         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
64853         Refer to _rtld_local_ro instead of _rtld_global_ro.
64854         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
64855         Likewise.
64856         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
64857         Likewise.
64858         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
64859         Likewise.
64860         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
64861         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
64862         of _rtld_global, and rtld_progname instead of _dl_argv[0].
64864         [BZ #10882]
64865         * sysdeps/powerpc/powerpc32/dl-machine.c
64866         (__elf_machine_runtime_setup) [PROF]: Don't reference
64867         _dl_prof_resolve.
64869 2012-05-18  Andreas Jaeger  <aj@suse.de>
64871         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
64872         function only available for GCCs before 3.4 since GCC 3.4
64873         introduced a builtin.
64874         (lrint): Likewise.
64875         (llrintf): Likewise.
64876         (llrint): Likewise.
64877         (fmaxf): Likewise.
64878         (fmax): Likewise.
64879         (fminf): Likewise.
64880         (fmin): Likewise.
64881         (rint): Likewise.
64882         (rintf): Likewise.
64883         (nearbyint): Likewise.
64884         (nearbyintf): Likewise.
64885         (ceil): Likewise.
64886         (ceilf): Likewise.
64887         (floor): Likewise.
64888         (floorf): Likewise.
64890 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64892         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
64893         on both fields and cast pointer to __syscall_ulong_t.
64895         * bits/types.h (__fsword_t): New type.
64896         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
64897         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
64898         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
64899         (__FSWORD_T_TYPE): Likewise.
64900         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
64901         (__FSWORD_T_TYPE): Likewise.
64902         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
64903         (__FSWORD_T_TYPE): Likewise.
64904         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
64905         (__FSWORD_T_TYPE): Likewise.
64906         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
64907         __SWORD_TYPE with __fsword_t.
64908         (statfs64): Likewise.
64910 2012-05-17  David S. Miller  <davem@davemloft.net>
64912         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
64914 2012-05-17  Andreas Jaeger  <aj@suse.de>
64916         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
64917         warning.
64919 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64921         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
64923 2012-05-17  Andreas Jaeger  <aj@suse.de>
64925         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
64926         when it is used.
64928 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64930         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
64932 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
64934         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
64935         * sysdeps/x86_64/tst-mallocalign1.c: New file.
64937 2012-05-17  Andreas Jaeger  <aj@suse.de>
64938             Carlos O'Donell  <carlos_odonell@mentor.com>
64940         [BZ #14059]
64941         * sysdeps/x86_64/multiarch/init-arch.h
64942         (bit_YMM_Usable): Rename to...
64943         (bit_AVX_Usable): ... this.
64944         (bit_FMA4_Usable): New macro.
64945         (bit_XMM_state): New macro.
64946         (bit_YMM_state): New macro.
64947         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
64948         [__ASSEMBLER__] (index_AVX_Usable): ... this.
64949         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
64950         (CPUID_OSXSAVE): New macro.
64951         (CPUID_AVX): New macro.
64952         (CPUID_FMA4): New macro.
64953         (index_YMM_Usable): Rename to...
64954         (index_AVX_Usable): ... this.
64955         (HAS_AVX): Use HAS_ARCH_FEATURE.
64956         (HAS_FMA4): Likewise.
64957         (HAS_YMM_USABLE): Remove.
64958         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
64959         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
64960         are present.
64961         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
64962         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
64963         * sysdeps/x86_64/multiarch/Makefile: Likewise.
64964         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
64965         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
64967 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
64969         * math/libm-test.c: Support platforms without multiple rounding modes.
64970         * math/bug-nextafter.c: Support platforms without FP exceptions.
64971         * math/bug-nexttoward.c: Likewise.
64972         * math/test-fenv.c: Likewise.
64973         * math/test-misc.c: Likewise.
64974         * stdlib/bug-getcontext.c: Likewise.
64976 2012-05-17  Andreas Jaeger  <aj@suse.de>
64978         * manual/examples/search.c (critter_cmp): Change signature to
64979         avoid warnings.
64980         * manual/string.texi (Collation Functions): Likewise.
64982 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
64984         * bits/types.h: Fold copyright years.
64985         * bits/typesizes.h: Likewise.
64986         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
64987         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
64988         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
64989         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
64990         * time/time.h: Likewise.
64992 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
64994         [BZ #208]
64995         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
64996         in instead of returning them.  Return void.
64997         (__libc_mallinfo): Accumulate over all arenas.
64998         (__malloc_stats): Adjust for change in int_mallinfo interface.
65000 2012-05-16  Roland McGrath  <roland@hack.frob.com>
65002         [BZ #10375]
65003         * configure.in (NM): Add AC_CHECK_TOOL for it.
65004         (libc_extra_cflags): New substituted variable.
65005         Check for -fstack-protector being used implicitly.
65006         * configure: Regenerated.
65007         * config.make.in (config-extra-cflags): New variable,
65008         gets @libc_extra_cflags@.
65009         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
65011         [BZ #10375]
65012         * configure.in: Check for _FORTIFY_SOURCE being predefined.
65013         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
65014         * configure: Regenerated.
65015         * config.make.in (CPPUNDEFS): New substituted variable.
65016         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
65017         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
65018         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
65020 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65022         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
65023         (mq_attr): Use __syscall_slong_t.
65025 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65027         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
65028         Check __x86_64__ instead of __WORDSIZE.
65029         (_STAT_VER_LINUX): Likewise.
65030         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
65031         __syscall_ulong_t and __syscall_slong_t.
65032         (stat64): Likewise.
65034 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65036         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
65038 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65040         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
65042 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65044         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
65045         __syscall_ulong_t.
65047         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
65048         include <bits/wordsize.h>.  Check __x86_64__ instead of
65049         __WORDSIZE.
65050         (greg_t): Use "__extension__ long long int" if __x86_64__ is
65051         defined.
65052         (mcontext_t): Replace "unsigned long" with "unsigned long long".
65054         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
65055         include <bits/wordsize.h>.  Check __x86_64__ instead of
65056         __WORDSIZE.
65057         (user_regs_struct): Use "__extension__ unsigned long long"
65058         instead of "unsigned long" if __x86_64__ is defined.
65059         (user): Likewise.  Pad after pointer field if __ILP32__ is
65060         defined.
65062 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
65064         * configure.in (makeinfo): Require version 4.5 or later.  Allow
65065         versions 5 to 9.
65066         * configure: Regenerated.
65067         * manual/install.texi (texinfo): Increase version requirement to
65068         4.5 or later.
65069         * INSTALL: Regenerated.
65071         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
65073 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
65075         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
65077         * sysdeps/x86_64/x32/ffs.c: New file.
65079         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
65080         __syscall_ulong_t.
65081         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
65082         defined.  Use __syscall_ulong_t.
65083         (shminfo): Use __syscall_ulong_t.
65084         (shm_info): Likewise.
65086         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
65087         __syscall_ulong_t.
65089         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
65090         <bits/wordsize.h>.
65091         (msgqnum_t): Use __syscall_ulong_t.
65092         (msglen_t): Likewise.
65093         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
65094         __syscall_ulong_t.
65096         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
65097         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65099         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
65101         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
65102         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
65104         * sysvipc/sys/msg.h (msgbuf): Replace long int with
65105         __syscall_slong_t.
65107         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
65108         include <bits/wordsize.h>.  Check __x86_64__ instead of
65109         __WORDSIZE.
65111         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
65112         "unsigned long long int" if __x86_64__ is defined.
65113         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
65115         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
65116         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
65117         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
65119         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
65120         <stdint.h>.
65121         (GET_PC): Cast to uintptr_t first.
65122         (GET_FRAME): Likewise.
65123         (GET_STACK): Likewise.
65125         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
65126         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
65127         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
65128         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
65129         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
65130         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
65131         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
65132         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
65133         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
65134         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
65135         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
65136         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
65137         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
65138         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
65139         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
65140         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
65141         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
65142         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
65143         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
65144         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
65145         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
65146         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
65147         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
65148         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
65149         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
65150         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
65151         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
65152         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
65153         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
65155 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
65157         * Makerules (+depfiles): Also collect depfiles from .oS in
65158         $(extra-objs).
65159         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
65160         .oS, $(libnldbl-routines)).
65162         * Makerules (native-compile-mkdep-flags): Define.
65163         * sunrpc/Makefile (extra-objs): Add $(addprefix
65164         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
65165         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
65166         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
65167         calling $(make-target-directory).
65169 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65171         * bits/types.h (__snseconds_t): Removed.
65172         * time/time.h (struct timespec): Replace __snseconds_t with
65173         __syscall_slong_t.
65174         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
65175         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
65176         Likewise.
65177         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65178         (__SNSECONDS_T_TYPE): Likewise.
65179         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65180         (__SNSECONDS_T_TYPE): Likewise.
65181         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65182         (__SNSECONDS_T_TYPE): Likewise.
65184 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65186         * sysdeps/mach/hurd/bits/typesizes.h
65187         (__SYSCALL_SLONG_TYPE): New macro.
65188         (__SYSCALL_ULONG_TYPE): Likewise.
65190 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65192         * bits/types.h (__syscall_slong_t): New type.
65193         (__syscall_ulong_t): Likewise.
65195         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
65196         (__SYSCALL_ULONG_TYPE): Likewise.
65197         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
65198         (__SYSCALL_SLONG_TYPE): Likewise.
65199         (__SYSCALL_ULONG_TYPE): Likewise.
65200         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
65201         (__SYSCALL_SLONG_TYPE): Likewise.
65202         (__SYSCALL_ULONG_TYPE): Likewise.
65203         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
65204         (__SYSCALL_SLONG_TYPE): Likewise.
65205         (__SYSCALL_ULONG_TYPE): Likewise.
65207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65209         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
65210         Add sigaltstack-offsets.sym.
65211         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
65212         <sigaltstack-offsets.h>.
65213         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
65214         longjmp_msg pointer.
65215         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
65216         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
65217         signal stack.
65218         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
65220 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65222         * elf/stackguard-macros.h: Remove file.
65223         * sysdeps/generic/stackguard-macros.h: New file.
65224         * sysdeps/i386/stackguard-macros.h: Likewise.
65225         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
65226         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
65227         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
65228         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
65229         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
65230         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
65231         * sysdeps/x86_64/stackguard-macros.h: Likewise.
65232         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
65233         <elf/stackguard-macros.h>.
65235         [BZ #14109]
65236         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
65237         __aligned__ in attribute.
65238         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
65239         (gregset_t): Likewise.
65241 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65243         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
65244         * sysdeps/x86_64/64/Implies-after: Here.  New file.
65245         * sysdeps/x86_64/x32/Implies-after: New file.
65247 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65249         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
65250         and access return value for _dl_profile_fixup.  Use R10_LP to
65251         load frame size.
65253 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65255         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
65257 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65259         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
65260         * sysdeps/x86_64/x32/sysdep.h: New file.
65262 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65264         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
65265         * sysdeps/x86_64/setjmp.S: Likewise.
65267 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65269         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
65270         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
65271         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
65272         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
65273         remove unused global constant.
65275 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
65277         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
65278         include of <not-cancel.h>.
65280 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65282         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
65284 2012-05-15  Jeff Law  <law@redhat.com>
65285             Andreas Jaeger  <aj@suse.de>
65287         [BZ #13594]
65288         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
65289         out from...
65290         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
65291         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
65292         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
65293         code changing __hst_map_handle.map.
65295 2012-05-15  Roland McGrath  <roland@hack.frob.com>
65297         * configure.in (sysnames): Look for Implies-before and Implies-after
65298         files.
65299         * configure: Regenerated.
65301 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65303         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
65304         8-byte data alignment with LP_SIZE alignment.
65306 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65308         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
65309         into R10_LP.
65311 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65313         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
65315 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65317         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
65318         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
65319         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
65320         Likewise.
65321         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
65323 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65325         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
65326         (stackinfo_sub_sp): Likewise.
65328 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65330         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
65331         RAX_LP.
65333 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65335         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
65336         into R*_LP.
65338 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65340         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
65341         sizes into R*_LP.
65343 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65345         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
65347 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65349         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
65350         into R11_LP and load __x86_64_shared_cache_size_half into
65351         R8_LP.
65353 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
65355         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
65356         R8_LP.
65358 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65360         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
65361         logb for POWER7.
65362         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
65363         logbf for POWER7.
65364         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
65365         logbl for POWER7.
65366         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
65367         powerpc32/power7/fpu/s_logb.c via #include.
65368         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
65369         powerpc32/power7/fpu/s_logbf.c via #include.
65370         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
65371         powerpc32/power7/fpu/s_logbl.c via #include.
65373 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
65375         * README.libm: Remove file.
65377 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65379         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
65380         count for x32.  Use R*_LP and omit operand-size suffix.
65382 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65384         * shlib-versions: Move x86_64-.*-linux.* entries to ...
65385         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
65386         * sysdeps/x86_64/x32/shlib-versions: New file.
65388 2012-05-14  Roland McGrath  <roland@hack.frob.com>
65390         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
65391         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
65392         Use _dl_fatal_printf instead.
65394 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65396         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
65397         set if not set by the user.  Do not allow for being unset.
65398         * sysdeps/unix/sysv/linux/configure: Regenerated.
65400 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65402         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
65403         the `q' suffix from lea and replace .quad with ASM_ADDR.
65405 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65407         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
65408         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
65409         instead of $17.
65410         (PTR_DEMANGLE): Likewise.
65412 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65414         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
65415         (LP_OP): Likewise.
65416         (ASM_ADDR): Likewise.
65417         (RAX_LP): Likewise.
65418         (RBP_LP): Likewise.
65419         (RBX_LP): Likewise.
65420         (RCX_LP): Likewise.
65421         (RDI_LP): Likewise.
65422         (RSI_LP): Likewise.
65423         (RSP_LP): Likewise.
65424         (R8_LP): Likewise.
65425         (R9_LP): Likewise.
65426         (R10_LP): Likewise.
65427         (R10_LP): Likewise.
65428         (R11_LP): Likewise.
65429         (R12_LP): Likewise.
65430         (R13_LP): Likewise.
65431         (R14_LP): Likewise.
65432         (R15_LP): Likewise.
65434 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65436         * sysdeps/x86_64/x32/dl-machine.h: New file.
65438 2012-05-14  Andreas Jaeger  <aj@suse.de>
65440         * manual/Makefile (subdir): Remove export of subdir.
65441         (all): Remove target.
65442         (.PHONY): Remove all from list.
65443         (mkinstalldirs): Remove.
65444         (.PHONY): Remove installdirs from list.
65445         ($(inst_infodir)/libc.info): Use make-target-directory.
65446         (installdirs): Remove.
65447         (subdir_%): Remove.
65448         (glibc-targets): Remove.
65449         (lib): Remove.
65450         (stubs): Remove.
65451         ($(objpfx)stubs ../po/manual.pot): Remove.
65452         ($(objpfx)stamp%): Remove.
65453         (make-target-directory): Remove.
65454         (subdir_install): Remove.
65455         (routines): Remove.
65456         (aux): Remove.
65457         (sources): Remove.
65458         (objects): Remove.
65459         (headers): Remove.
65461         [BZ #13750]
65462         * manual/.gitignore: Remove, it's not needed anymore.
65463         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
65464         all files in it.
65465         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
65466         directory.
65467         (texis): Renamed to $(objpfx)texis.
65468         (texis-path): New, contains path to generated files.
65469         (chapters.%): Use texis-path for complete path, add extra argument
65470         libc-texinfo.sh.
65471         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
65472         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
65473         (summary,texi, stamp-summary): Use complete path of
65474         files. Generate files in build dir.
65475         (dir-add.texi): Build in build dir.
65476         (libm-err.texi,stamp-libm-err): Likewise.
65477         (version.texi, stamp-version): Likewise.
65478         (.%c.texi): Likewise.
65479         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
65480         (mostlyclean): Remove target.
65481         (realclean): Remove target.
65482         (generated): Add new variable with contents from mostlyclean and
65483         realclean, remove entries duplicated in common-mostlyclean, add
65484         stamp-libm-err and stamp-version.
65485         (generated-dirs): Add libc directory.
65486         ($(inst_infodir)/libc.info): Install files from build dir.
65488         * manual/install.texi (Configuring and compiling): Adjust since
65489         the info files are not part of the tar ball anymore.
65491 2012-05-14  Andreas Jaeger  <aj@suse.de>
65493         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
65494         variable.
65496 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
65498         [BZ #13717]
65499         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
65500         to 2.2.0 where earlier.
65501         * sysdeps/unix/sysv/linux/configure: Regenerated.
65502         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
65503         Remove conditional code.
65504         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
65505         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
65506         Remove conditional code.
65507         [!__NR_lchown]: Likewise.
65508         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65509         [__NR_lchown]: Likewise.
65510         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
65511         comment referencing __ASSUME_LCHOWN_SYSCALL.
65512         * sysdeps/unix/sysv/linux/i386/sigaction.c
65513         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65514         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65515         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
65516         Remove conditional code.
65517         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
65518         (__protocol_available): Remove #if 0 code.
65519         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
65520         conditional code.
65521         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
65522         * sysdeps/unix/sysv/linux/kernel-features.h
65523         (__ASSUME_GETCWD_SYSCALL): Don't define.
65524         (__ASSUME_REALTIME_SIGNALS): Likewise.
65525         (__ASSUME_PREAD_SYSCALL): Likewise.
65526         (__ASSUME_PWRITE_SYSCALL): Likewise.
65527         (__ASSUME_POLL_SYSCALL): Likewise.
65528         (__ASSUME_LCHOWN_SYSCALL): Likewise.
65529         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
65530         non-SPARC.
65531         (__ASSUME_SIOCGIFNAME): Don't define.
65532         (__ASSUME_MSG_NOSIGNAL): Likewise.
65533         (__ASSUME_SENDFILE): Define unconditionally.
65534         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
65535         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
65536         conditional code.
65537         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
65538         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
65539         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65540         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65541         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
65542         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
65543         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
65544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
65545         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65546         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
65548         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65549         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65550         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
65551         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65552         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
65554         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65555         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
65557         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65558         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65559         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
65560         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
65561         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65562         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
65563         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65564         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65565         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
65566         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65567         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65568         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
65569         Remove conditional code.
65570         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65571         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65572         Remove conditional code.
65573         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65574         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
65575         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
65576         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65577         Remove conditional code.
65578         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65579         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
65580         Remove conditional code.
65581         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65582         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
65583         Remove conditional code.
65584         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65585         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
65586         Remove conditional code.
65587         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
65588         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
65589         Remove conditional code.
65590         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65591         * sysdeps/unix/sysv/linux/sh/pwrite64.c
65592         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
65593         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
65594         * sysdeps/unix/sysv/linux/sigaction.c
65595         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65596         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65597         * sysdeps/unix/sysv/linux/sigpending.c
65598         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65599         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65600         * sysdeps/unix/sysv/linux/sigprocmask.c
65601         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65602         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65603         * sysdeps/unix/sysv/linux/sigsuspend.c
65604         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
65605         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
65606         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
65607         (__libc_missing_rt_sigs): Remove.
65608         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
65609         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
65610         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
65611         Remove conditional code.
65612         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
65613         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
65614         return 1.
65615         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
65616         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
65617         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
65618         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
65620 2012-05-14  Andreas Jaeger  <aj@suse.de>
65622         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
65623         it's not used in glibc.
65624         (__coshm1): Likewise.
65625         (__acosh1p): Likewise.
65626         (__sgn): Likewise.
65628         * manual/string.texi (Copying and Concatenation): Add missing
65629         variable in concat example.
65630         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
65632 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65634         [BZ #14103]
65635         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
65636         __builtin_clzl with __builtin_clzll.
65638 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
65640         [BZ #14104]
65641         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
65642         libc_freeres_ptr.
65644 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
65646         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
65647         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
65648         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
65649         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
65651 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
65653         * NEWS: Update ia64 info.
65655 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
65657         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
65658         used as bcopy.
65660 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
65662         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
65663         * sysdeps/unix/syscalls.list (dup3): Likewise.
65664         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
65665         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
65667 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65669         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
65670         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
65672 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
65674         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
65675         thread pointer.
65676         (TLS_IE): Use mov/add instead of movq/addq to load thread
65677         pointer.
65678         (TLS_GD_PREFIX): New.
65679         (TLS_GD): Use it.
65681 2012-05-11  David S. Miller  <davem@davemloft.net>
65683         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
65684         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
65685         (_FPU_SETCW): Likewise.
65687 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65689         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
65690         is 32-byte aligned.
65692 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
65694         [BZ #11837]
65695         * iconvdata/gb18030.c: Update tables.
65696         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
65697         characters specially.
65698         (BODY for TO_LOOP): Add encoding of missing ranges.
65700 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
65702         [BZ #13673]
65703         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
65704         * sysdeps/mach/hurd/dup3.c: Likewise.
65705         * sysdeps/mach/hurd/readlinkat.c: Likewise.
65706         * sysdeps/powerpc/memmove.c:: Likewise.
65708 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65710         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
65711         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
65713 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
65715         * elf/elf.h (R_X86_64_RELATIVE64): New.
65716         (R_X86_64_NUM): Updated.
65717         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
65718         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
65719         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
65720         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
65721         tst-quad1pie tst-quad2pie
65722         (modules-names): Add tst-quadmod1 tst-quadmod2.
65723         ($(objpfx)tst-quad1): New dependency.
65724         ($(objpfx)tst-quad2): Likewise.
65725         ($(objpfx)tst-quad1pie): Likewise.
65726         ($(objpfx)tst-quad2pie): Likewise.
65727         * sysdeps/x86_64/tst-quad1.c: New file.
65728         * sysdeps/x86_64/tst-quad1pie.c: New file.
65729         * sysdeps/x86_64/tst-quad2.c: Likewise.
65730         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
65731         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
65732         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
65733         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
65734         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
65736 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65738         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
65739         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
65740         * streams/stropts.h (t_scalar_t): Define type.
65742         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
65743         (_PATH_PRESERVE): Set to "/var/lib".
65744         (_PATH_RWHODIR): Set to "/var/spool/rwho".
65746         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
65747         instead of int.
65749         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
65750         if __dir_mkfile succeeded.
65752         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
65753         checking for _hurd_dtablesize.  Unlock it right after having
65754         finished _hurd_dtable allocation.
65756 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65758         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
65759         * sysdeps/mach/hurd/configure: Regenerated.
65760         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
65761         special-casing to...
65762         * sysdeps/gnu/configure.in: ... this new file.
65763         * sysdeps/unix/sysv/linux/configure: Regenerated.
65764         * sysdeps/gnu/configure: New generated file.
65766         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
65767         for Linux: use nsec instead of usec, as well as:
65768         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
65769         members of type struct timespec.
65770         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
65771         New macros.
65772         (struct stat64): Likewise.
65773         (_STATBUF_ST_NSEC): New macro.
65774         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
65776         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
65777         __strtoul_internal rather than strtoul.
65779 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65781         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
65782         and reject them.
65784 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65786         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
65787         which preserves existing values.
65788         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
65790 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65792         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
65793         TIMEOUT values.  Return EINVAL for NFDS values either negative or
65794         greater than FD_SETSIZE.
65796 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65798         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
65799         allocated, call __vm_protect to finish enabling the existing space, and
65800         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
65801         allocate the remainder.
65803 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65805         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
65806         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
65808 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65810         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
65811         sysdeps/mach/hurd/readlink.c.
65813         * posix/tst-sysconf.c (posix_options): Only use
65814         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
65815         _POSIX_SYNCHRONIZED_IO when they are defined
65816         * sysdeps/mach/hurd/bits/posix_opt.h:
65817         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
65818         (_XOPEN_REALTIME): Undefine macro.
65819         (_XOPEN_REALTIME_THREADS): Undefine macro.
65820         (_XOPEN_SHM): Undefine macro.
65821         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
65822         macro to -1.
65823         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
65824         macro to -1.
65825         (_POSIX_ASYNC_IO): Undefine macro.
65826         (_POSIX_PRIORITIZED_IO): Undefine macro.
65827         (_POSIX_SPIN_LOCKS): Define macro to -1.
65829         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
65830         SA_NODEFER, SA_RESETHAND.
65831         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
65832         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
65833         F_DUPFD_CLOEXEC.
65835 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65837         * elf/Makefile (pldd-modules): Define unconditionally.
65839 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65841         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
65843 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65845         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
65846         Return ENOENT when name is empty.
65847         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
65849 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65851         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
65853         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
65855 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65857         Fix mlock in all cases except non-readable pages.
65858         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
65859         instead of VM_PROT_ALL as parameter to __vm_wire function.
65861         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
65862         (__mkdir): When path is `/', just fail with EEXIST.
65863         * sysdeps/mach/hurd/mkdirat.c: Likewise.
65865 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65867         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
65868         <sys/uio.h> (for writev).
65869         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
65870         and <sys/param.h> (for MIN).
65872 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
65874         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
65875         REQUESTED_TIME.  Properly set the remaining time and return EINTR
65876         if interrupted.
65878 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65880         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
65881         Depend on against $(link-rpcuserlibs).
65883 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65885         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
65886         (__libc_stack_end): Do not use attribute_relro.
65887         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
65888         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
65889         to libthread-provided value.
65890         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
65891         attribute_relro.
65893 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65895         [BZ #3748]
65896         * bits/libc-lock.h (__libc_once_get): New macro.
65897         * sysdeps/mach/bits/libc-lock.h: Likewise.
65898         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
65899         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
65900         instead of using implementation details.
65902         * libio/fileops.c: Unconditionally include <kernel-features.h>.
65903         * libio/freopen.c: Likewise.
65904         * libio/freopen64.c: Likewise.
65905         * misc/syslog.c: Likewise.
65906         * nscd/connections.c: Likewise.
65907         * nscd/netgroupcache.c: Likewise.
65908         * sysdeps/posix/getcwd.c: Likewise.
65910 2012-05-10  Roland McGrath  <roland@hack.frob.com>
65912         * math/w_ilogbf.c: Add #include <limits.h>.
65914 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65916         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
65917         path instead of returning without unlocking.
65919         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
65920         immediate-write ioctls.
65921         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
65923 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65925         * sysdeps/mach/hurd/i386/init-first.c (init): Use
65926         __builtin_frame_address instead of making assumptions about the
65927         location of the return address relative to DATA.  Force early load of
65928         the return address.
65929         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
65930         __builtin_frame_address.
65932         dup3 for GNU Hurd.
65933         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
65934         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
65935         implement dup3 and do some further code clean-ups.
65936         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
65937         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
65939 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65941         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
65943         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
65944         HURD_CRITICAL_END around holding _hurd_dtable_lock.
65945         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
65946         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
65947         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
65948         d->port.lock.
65950         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
65951         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
65952         when handler == SIG_ERR, not when handler != SIG_ERR.
65954 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65956         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
65957         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
65958         definitions.
65960         accept4 for GNU Hurd.
65961         * include/sys/socket.h (__libc_accept4): New prototype.
65962         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
65963         to implement __libc_accept4.
65964         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
65965         __libc_accept4.
65966         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
65968         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
65969         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
65970         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
65971         signal-defines.sym.
65973 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65975         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
65977 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
65979         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
65980         assertion on O_CLOEXEC flag.
65981         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
65982         * hurd/intern-fd.c: Likewise.
65983         * hurd/port2fd.c: Likewise.
65985 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
65987         [BZ #3906]
65988         * bits/in.h (IPV6_PKTINFO): Define new macro.
65989         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
65991 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65993         [BZ #13954]
65994         [BZ #13955]
65995         [BZ #13956]
65996         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
65997         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
65998         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
65999         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
66000         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
66001         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
66002         * math/libm-test.inc (logb_test) : Additional logb tests.
66004 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
66005             Andreas Jaeger  <aj@suse.de>
66007         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
66008         * configure: Regenerated.
66009         * config.h.in (LINK_OBSOLETE_RPC): New macro.
66010         * config.make.in (link-obsolete-rpc): New substituted variable.
66011         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
66012         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
66013         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66014         (shared-only-routines): Don't set it under [link-obsolete-rpc],
66015         so that libc.a contains the symbols.
66016         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
66017         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
66018         * sunrpc/auth_none.c: Likewise.
66019         * sunrpc/auth_unix.c: Likewise.
66020         * sunrpc/authdes_prot.c: Likewise.
66021         * sunrpc/authuxprot.c: Likewise.
66022         * sunrpc/clnt_gen.c: Likewise.
66023         * sunrpc/clnt_perr.c: Likewise.
66024         * sunrpc/clnt_raw.c: Likewise.
66025         * sunrpc/clnt_simp.c: Likewise.
66026         * sunrpc/clnt_tcp.c: Likewise.
66027         * sunrpc/clnt_udp.c: Likewise.
66028         * sunrpc/clnt_unix.c: Likewise.
66029         * sunrpc/des_crypt.c: Likewise.
66030         * sunrpc/des_soft.c: Likewise.
66031         * sunrpc/get_myaddr.c: Likewise.
66032         * sunrpc/key_call.c: Likewise.
66033         * sunrpc/key_prot.c: Likewise.
66034         * sunrpc/netname.c: Likewise.
66035         * sunrpc/pm_getmaps.c: Likewise.
66036         * sunrpc/pm_getport.c: Likewise.
66037         * sunrpc/pmap_clnt.c: Likewise.
66038         * sunrpc/pmap_prot.c: Likewise.
66039         * sunrpc/pmap_prot2.c: Likewise.
66040         * sunrpc/pmap_rmt.c: Likewise.
66041         * sunrpc/publickey.c: Likewise.
66042         * sunrpc/rpc_cmsg.c: Likewise.
66043         * sunrpc/rpc_common.c: Likewise.
66044         * sunrpc/rpc_dtable.c: Likewise.
66045         * sunrpc/rpc_prot.c: Likewise.
66046         * sunrpc/rpc_thread.c: Likewise.
66047         * sunrpc/rtime.c: Likewise.
66048         * sunrpc/svc.c: Likewise.
66049         * sunrpc/svc_auth.c: Likewise.
66050         * sunrpc/svc_raw.c: Likewise.
66051         * sunrpc/svc_run.c: Likewise.
66052         * sunrpc/svc_tcp.c: Likewise.
66053         * sunrpc/svc_udp.c: Likewise.
66054         * sunrpc/svc_unix.c: Likewise.
66055         * sunrpc/svcauth_des.c: Likewise.
66056         * sunrpc/xcrypt.c: Likewise.
66057         * sunrpc/xdr.c: Likewise.
66058         * sunrpc/xdr_array.c: Likewise.
66059         * sunrpc/xdr_float.c: Likewise.
66060         * sunrpc/xdr_intXX_t.c: Likewise.
66061         * sunrpc/xdr_mem.c: Likewise.
66062         * sunrpc/xdr_rec.c: Likewise.
66063         * sunrpc/xdr_ref.c: Likewise.
66064         * sunrpc/xdr_sizeof.c: Likewise.
66065         * sunrpc/xdr_stdio.c: Likewise.
66067 2012-05-10  Roland McGrath  <roland@hack.frob.com>
66069         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
66070         change.  Update copyright years.
66072 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66074         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
66076 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
66077             Joseph Myers  <joseph@codesourcery.com>
66078             Paul Pluzhnikov  <ppluzhnikov@google.com>
66080         [BZ #14012]
66081         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
66082         requiring rpcgen.
66083         [cross-compiling] (extra-libs): Likewise.
66084         [cross-compiling] (extra-libs-others): Likewise.
66085         [cross-compiling] (librpcsvc-routines): Likewise.
66086         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
66087         [cross-compiling] (omit-deps): Likewise.
66088         (sunrpc-CPPFLAGS): New variable.
66089         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
66090         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
66091         (cross-rpcgen-objs): New variable.
66092         (extra-objs): Append $(cross-rpcgen-objs).
66093         ($(cross-rpcgen-objs)): New rule.
66094         ($(objpfx)cross-rpcgen): Likewise.
66095         (rpcgen-cmd): Define to use $(built-program-file).  Expand
66096         comment.
66097         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
66098         ($(objpfx)x%.stmp): Likewise.
66099         * sunrpc/proto.h [IS_IN_build] (_): Define.
66100         [IS_IN_build] (_libc_intl_domainname): Likewise.
66102 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
66104         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
66105         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
66106         and R_X86_64_TPOFF64.
66108 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
66110         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
66111         sysdeps/unix/sysv/syscalls.list.
66112         (stime): Likewise.
66113         (utime): Likewise.
66114         * sysdeps/unix/sysv/syscalls.list: Remove file.
66116 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
66118         [BZ #3440]
66119         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
66120         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
66121         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
66122         (__LC_IDENTIFICATION): Make these macros useful in #if
66123         expressions, as required by C99.
66125 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
66127         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
66128         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
66129         after this.
66131 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
66133         * stdlib/longlong.h: Updated from GCC.
66135 2012-05-09  Andreas Jaeger  <aj@suse.de>
66137         * nscd/nscd.c (run_modes): Make named enum, reorder so that
66138         default is first entry.
66139         (run_mode): Set type.
66140         (main): Remove informal message about syslog.
66141         (options): Fix typo.
66143         [BZ #14053]
66144         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
66145         to asm.
66146         (lrint): Likewise.
66147         (llrintf): Likewise.
66148         (llrint): Likewise.
66149         (rint): Likewise.
66150         (rintf): Likewise.
66151         (nearbyint): Likewise.
66152         (nearbyintf): Likewise.
66154 2012-05-09  Andreas Jaeger  <aj@suse.de>
66155             Pedro Alves  <palves@redhat.com>
66157         * nscd/nscd.c (run_mode): Use enum.
66158         (main): Cleanup coding style issue.
66160 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
66161             Andreas Jaeger  <aj@suse.de>
66163         * nscd/nscd.c (go_background): Replaced with...
66164         (run_mode): ... this.
66165         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
66166         (options): Add -F --foreground.
66167         (main): Implement it.
66168         (parse_opt): Parse it.
66170 2012-05-09  Andreas Jaeger  <aj@suse.de>
66172         [BZ #14083]
66173         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
66174         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
66175         -Wconversion warning.
66176         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
66177         Likewise.
66179 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
66181         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
66182         == 0.
66183         (LC_ALL): Use macro-int-constant.
66184         (LC_COLLATE): Likewise.
66185         (LC_CTYPE): Likewise.
66186         (LC_MESSAGES): Likewise.
66187         (LC_MONETARY): Likewise.
66188         (LC_NUMERIC): Likewise.
66189         (LC_TIME): Likewise.
66190         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
66191         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66192         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66193         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
66194         Specify type.
66195         [C99-based standards] (float_t): Expect type.
66196         [C99-based standards] (double_t): Expect type.
66197         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
66198         type.
66199         [C99-based standards] (HUGE_VALL): Likewise.
66200         [C99-based standards] (INFINITY): Likewise.
66201         [C99-based standards] (NAN): Likewise.
66202         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
66203         [C99-based standards] (FP_NAN): Likewise.
66204         [C99-based standards] (FP_NORMAL): Likewise.
66205         [C99-based standards] (FP_SUBNORMAL): Likewise.
66206         [C99-based standards] (FP_ZERO): Likewise.
66207         [C99-based standards] (FP_FAST_FMA): Use
66208         optional-macro-int-constant.  Specify type.  Require == 1.
66209         [C99-based standards] (FP_FAST_FMAF): Likewise.
66210         [C99-based standards] (FP_FAST_FMAL): Likewise.
66211         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
66212         [C99-based standards] (FP_ILOGBNAN): Likewise.
66213         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
66214         Specify type.
66215         [C99-based standards] (MATH_ERREXCEPT): Likewise.
66216         [C99-based standards] (math_errhandling): Specify type.
66217         [ISO99 || ISO11] (signgam): Do not allow.
66218         [non-C99-based standards] (copysignf): Do not allow.
66219         [non-C99-based standards] (exp2f): Likewise.
66220         [non-C99-based standards] (log2f): Likewise.
66221         [non-C99-based standards] (modff): Allow.
66222         [non-C99-based standards] (erff): Do not allow.
66223         [non-C99-based standards] (erfcf): Likewise.
66224         [non-C99-based standards] (gammaf): Likewise.
66225         [non-C99-based standards] (hypotf): Likewise.
66226         [non-C99-based standards] (j0f): Likewise.
66227         [non-C99-based standards] (j1f): Likewise.
66228         [non-C99-based standards] (jnf): Likewise.
66229         [non-C99-based standards] (lgammaf): Likewise.
66230         [non-C99-based standards] (tgammaf): Likewise.
66231         [non-C99-based standards] (y0f): Likewise.
66232         [non-C99-based standards] (y1f): Likewise.
66233         [non-C99-based standards] (ynf): Likewise.
66234         [non-C99-based standards] (isnanf): Likewise.
66235         [non-C99-based standards] (acoshf): Likewise.
66236         [non-C99-based standards] (asinhf): Likewise.
66237         [non-C99-based standards] (atanhf): Likewise.
66238         [non-C99-based standards] (cbrtf): Likewise.
66239         [non-C99-based standards] (expm1f): Likewise.
66240         [non-C99-based standards] (ilogbf): Likewise.
66241         [non-C99-based standards] (log1pf): Likewise.
66242         [non-C99-based standards] (logbf): Likewise.
66243         [non-C99-based standards] (nextafterf): Likewise.
66244         [non-C99-based standards] (remainderf): Likewise.
66245         [non-C99-based standards] (rintf): Likewise.
66246         [non-C99-based standards] (scalbf): Likewise.
66247         [non-C99-based standards] (copysignl): Likewise.
66248         [non-C99-based standards] (exp2l): Likewise.
66249         [non-C99-based standards] (log2l): Likewise.
66250         [non-C99-based standards] (modfl): Allow.
66251         [non-C99-based standards] (erfl): Do not allow.
66252         [non-C99-based standards] (erfcl): Likewise.
66253         [non-C99-based standards] (gammal): Likewise.
66254         [non-C99-based standards] (hypotl): Likewise.
66255         [non-C99-based standards] (j0l): Likewise.
66256         [non-C99-based standards] (j1l): Likewise.
66257         [non-C99-based standards] (jnl): Likewise.
66258         [non-C99-based standards] (lgammal): Likewise.
66259         [non-C99-based standards] (tgammal): Likewise.
66260         [non-C99-based standards] (y0l): Likewise.
66261         [non-C99-based standards] (y1l): Likewise.
66262         [non-C99-based standards] (ynl): Likewise.
66263         [non-C99-based standards] (isnanl): Likewise.
66264         [non-C99-based standards] (acoshl): Likewise.
66265         [non-C99-based standards] (asinhl): Likewise.
66266         [non-C99-based standards] (atanhl): Likewise.
66267         [non-C99-based standards] (cbrtl): Likewise.
66268         [non-C99-based standards] (expm1l): Likewise.
66269         [non-C99-based standards] (ilogbl): Likewise.
66270         [non-C99-based standards] (log1pl): Likewise.
66271         [non-C99-based standards] (logbl): Likewise.
66272         [non-C99-based standards] (nextafterl): Likewise.
66273         [non-C99-based standards] (remainderl): Likewise.
66274         [non-C99-based standards] (rintl): Likewise.
66275         [non-C99-based standards] (scalbl): Likewise.
66276         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66277         [non-C99-based standards] (FP_*): Do not allow.
66278         [C99-based standards] (FP_*): Change to
66279         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
66280         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66281         allow.
66282         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
66283         (SIG_ERR): Likewise.
66284         [X/Open-based standards] (SIG_HOLD): Likewise.
66285         (SIG_IGN): Likewise.
66286         (SIGABRT): Use macro-int-constant.  Specify type.  Require
66287         positive value.
66288         (SIGFPE): Likewise.
66289         (SIGILL): Likewise.
66290         (SIGINT): Likewise.
66291         (SIGSEGV): Likewise.
66292         (SIGTER): Likewise.
66293         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
66294         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
66295         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
66296         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
66297         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
66298         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
66299         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
66300         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
66301         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
66302         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
66303         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
66304         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
66305         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
66306         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
66307         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
66308         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
66309         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
66310         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
66311         [X/Open-based standards] (SIGTRAP): Likewise.
66312         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
66313         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
66314         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
66315         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
66316         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66317         allow.
66319 2012-05-08  Ian Wienand  <ianw@vmware.com>
66321         [BZ #14080]
66322         * time/tzset.c (__tzset_parse_tz): Update default rules for
66323         daylight time changes in the Energy Policy Act of 2005.
66325 2012-05-09  Andreas Jaeger  <aj@suse.de>
66327         [BZ #13983]
66328         * elf/ldconfig.c (parse_conf): Change string to make clear that
66329         ldconfig only issued a warning if ld.so.conf does not exist.
66331 2012-05-08  David S. Miller  <davem@davemloft.net>
66333         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
66334         movxtod instead of popping the value on the stack.
66336         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66338 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
66340         * config.h.in: Add HAVE_ARM_PCS_VFP.
66342 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
66344         [BZ #13979]
66345         * include/features.h: Warn if user requests __FORTIFY_SOURCE
66346         checking but the checks are disabled for any reason.
66348 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
66350         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
66351         and ELF64_R_TYPE with ELFW(R_TYPE).
66353 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
66355         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
66356         (ulimit): Likewise.
66358         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
66359         (settimeofday): Likewise.
66361 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
66363         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
66364         a struct th_u2 inside the union, and move tu_block/tu_code into
66365         a new th_u3 union of tu_block/tu_code inside of that.  Move
66366         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
66367         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
66368         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
66369         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
66370         (th_stuff): Change to th_u1.tu_stuff.
66371         (th_data): Define.
66372         (th_msg): Change to th_u1.th_u2.tu_data.
66374 2012-05-07  David S. Miller  <davem@davemloft.net>
66376         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66378         [BZ #14074]
66379         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
66380         (SETUP_PIC_REG): Use it.
66381         (SETUP_PIC_REG_LEAF): Use it.
66383 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
66385         [BZ #13885]
66386         [BZ #13923]
66387         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66388         USE_AS_EXPM1L.
66389         (EXPL_FINITE): Likewise.
66390         (FLDLOG): Likewise.
66391         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66392         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66393         e_expl.S.
66394         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66395         USE_AS_EXPM1L.
66396         (EXPL_FINITE): Likewise.
66397         (FLDLOG): Likewise.
66398         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
66399         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
66400         e_expl.S.
66401         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
66402         test of -max_value argument for long double.
66403         * sysdeps/i386/fpu/libm-test-ulps: Update.
66404         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66406 2012-05-06  David S. Miller  <davem@davemloft.net>
66408         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
66409         quad soft-float symbols whose references which are compiler
66410         generated.
66411         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
66413 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
66415         [BZ #13884]
66416         [BZ #13914]
66417         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66418         USE_AS_EXP10L.
66419         (EXPL_FINITE): Likewise.
66420         (FLDLOG): Likewise.
66421         (c0): Likewise.
66422         (c1): Likewise.
66423         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66424         Adjust comments for base varying.
66425         (__expl_finite): Change alias to EXPL_FINITE.
66426         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
66427         e_expl.S.
66428         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
66429         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
66430         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
66431         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
66432         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
66433         USE_AS_EXP10L.
66434         (EXPL_FINITE): Likewise.
66435         (FLDLOG): Likewise.
66436         (c0): Likewise.
66437         (c1): Likewise.
66438         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
66439         Adjust comments for base varying.
66440         (__expl_finite): Change alias to EXPL_FINITE.
66441         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
66442         tests for bugs.
66443         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66445         [BZ #14064]
66446         * math/libm-test.inc (check_float_internal): Correct ulp
66447         calculation for subnormal expected results.
66449 2012-05-06  Andreas Jaeger  <aj@suse.de>
66451         * Makeconfig (+math-flags): New, set to -frounding-math.
66452         (+cflags): Add +math-flags so that all of glibc gets compiled with
66453         it.
66455         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
66457 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
66459         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
66460         Disable one test.
66462         [BZ #13787]
66463         [BZ #13922]
66464         [BZ #14036]
66465         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
66466         (__ieee754_expl): Allow for and saturate large arguments.
66467         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
66468         (u_threshold): Likewise.
66469         (__exp): Call __ieee754_exp before checking for overflow and
66470         underflow.
66471         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
66472         (u_threshold): Likewise.
66473         (__expf): Call __ieee754_expf before checking for overflow and
66474         underflow.
66475         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
66476         (u_threshold): Likewise.
66477         (__expl): Call __ieee754_expl before checking for overflow and
66478         underflow.
66479         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
66480         (__ieee754_expl): Allow for and saturate large arguments.
66481         * math/libm-test.inc (exp_test): Add another test.  Do not allow
66482         missing overflow exception on overflow.
66483         (expm1_test): Do not allow missing overflow exception on overflow.
66485         * sysdeps/i386/fpu/e_expl.c: Move to ...
66486         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
66487         rather than using inline asm.
66488         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
66489         * sysdeps/x86_64/fpu/e_expl.S: Copy from
66490         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
66492         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
66493         (nice): Likewise.
66494         (poll): Likewise.
66495         (signal): Likewise.
66496         (time): Likewise.
66497         (times): Likewise.
66499 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66501         * sysdeps/unix/syscalls.list (adjtime): Add entry from
66502         sysdeps/unix/common/syscalls.list.
66503         (fchmod): Likewise.
66504         (fchown): Likewise.
66505         (ftruncate): Likewise.
66506         (getrusage): Likewise.
66507         (gettimeofday): Likewise.
66508         (setpgid): Likewise.
66509         (setregid): Likewise.
66510         (setreuid): Likewise.
66511         (sigaction): Likewise.
66512         (truncate): Likewise.
66513         (vhangup): Likewise.
66514         * sysdeps/unix/common/syscalls.list: Remove file.
66515         * sysdeps/unix/bsd/Implies: Don't include unix/common.
66516         * sysdeps/unix/sysv/linux/Implies: Likewise.
66518 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
66520         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
66521         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
66522         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
66523         Moved to ...
66524         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
66525         Here.
66526         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
66527         to ...
66528         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
66529         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
66530         to ...
66531         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
66532         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
66533         to ...
66534         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
66535         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
66536         to ...
66537         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
66538         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
66539         to ...
66540         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
66541         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
66542         to ...
66543         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
66544         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
66545         to ...
66546         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
66547         Here.
66548         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
66549         to ...
66550         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
66551         Here.
66552         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
66553         to ...
66554         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
66555         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
66556         Moved to ...
66557         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
66558         Here.
66559         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
66560         to ...
66561         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
66563 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66565         * sysdeps/unix/common/bits/dirent.h: Remove file.
66566         * sysdeps/unix/common/bits/fcntl.h: Likewise.
66568         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
66569         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
66570         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
66571         * sysdeps/unix/bsd/isatty.c: Likewise.
66572         * sysdeps/unix/bsd/tcdrain.c: Likewise.
66573         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
66574         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
66576 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66578         [BZ #13563]
66579         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
66580         long double comparison inaccuracies.
66581         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
66582         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66584 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
66586         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
66587         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
66589 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
66591         [BZ #14049]
66592         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
66593         nonzero digits before rounding a hex value.
66594         * stdlib/tst-strtod.c (tests): Add another test.
66596 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66598         * sysdeps/s390/fpu/libm-test-ulps: Update.
66600 2012-05-03  Andreas Jaeger  <aj@suse.de>
66602         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
66603         does not get optimized out.
66604         (malloc_opt_barrier): New.
66606 2012-05-03  Andreas Jaeger  <aj@suse.de>
66607             Roland McGrath  <roland@hack.frob.com>
66609         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
66610         intermediate file deletion.
66611         (generated): Add .symlist files.
66613 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
66615         [BZ #13775]
66616         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
66617         Redirect under this condition.
66618         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66619         [__USE_GNU] (__dprintf_chk): Not under this condition.
66620         [__USE_GNU] (__vdprintf_chk): Likewise.
66621         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
66622         under this condition.
66623         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
66624         [__USE_XOPEN2K8] (dprintf): Define under this condition.
66625         [__USE_XOPEN2K8] (vdprintf): Likewise.
66626         [__USE_GNU] (__dprintf_chk): Not under this condition.
66627         [__USE_GNU] (__vdprintf_chk): Likewise.
66628         [__USE_GNU] (dprintf): Likewise.
66629         [__USE_GNU] (vdprintf): Likewise.
66631 2012-05-03  Roland McGrath  <roland@hack.frob.com>
66633         * elf/Makefile (common-generated): Set this instead of generated for
66634         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
66635         $(all-built-dso)-derived lists.
66637 2012-05-03  Andreas Jaeger  <aj@suse.de>
66639         * sysdeps/i386/fpu/libm-test-ulps: Update.
66641         * FAQ: Removed.
66642         * FAQ.in: Likewise.
66643         * scripts/gen-FAQ.pl: Likewise.
66644         * manual/install.texi (Installation): Point to online location of
66645         FAQ.
66646         * Makefile (files-for-dist): Remove FAQ.
66647         (FAQ): Remove.
66649 2012-05-02  Allan McRae  <allan@archlinux.org>
66651         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
66652         (LDFLAGS-reldepmod5.so): Likewise.
66653         (LDFLAGS-reldep6mod1.so): Likewise.
66654         (LDFLAGS-reldep6mod4.so): Likewise.
66655         (LDFLAGS-reldep8mod3.so): Likewise.
66656         (LDFLAGS-unload4mod1.so): Likewise.
66657         (LDFLAGS-unload4mod2.so): Likewise.
66658         (LDFLAGS-tst-initorder): Likewise.
66659         (LDFLAGS-tst-initordera2.so): Likewise.
66660         (LDFLAGS-tst-initordera3.so): Likewise.
66661         (LDFLAGS-tst-initordera4.so): Likewise.
66662         (LDFLAGS-tst-initorderb2.so): Likewise.
66663         (LDFLAGS-noload): Likewise.
66664         (LDFLAGS-next): Likewise.
66665         (LDFLAGS-order2mod1.so): Likewise.
66666         (LDFLAGS-order2mod2.so): Likewise.
66667         (LDFLAGS-tst-initorder2): Likewise.
66668         (LDFLAGS-tst-initorder2a.so): Likewise.
66669         (LDFLAGS-tst-initorder2b.so): Likewise.
66670         (LDFLAGS-tst-initorder2c.so): Likewise.
66671         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
66673 2012-05-02  David S. Miller  <davem@davemloft.net>
66675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66677 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
66679         [BZ #14055]
66680         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
66682 2012-05-02  Andreas Jaeger  <aj@suse.de>
66684         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
66685         since we manipulate rounding mode.
66686         (CPPFLAGS-test-idouble.c): Likewise.
66687         (CPPFLAGS-test-ifloat.c): Likewise.
66688         (CFLAGS-test-ldouble.c): Likewise.
66689         (CFLAGS-test-double.c): Likewise.
66690         (CFLAGS-test-float.c): Likewise.
66691         (CFLAGS-test-misc.c): Likewise.
66692         (CFLAGS-test-test-fenv.c): Likewise.
66694 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66696         [BZ #2550]
66697         [BZ #2570]
66698         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
66699         comparisons to determine direction to adjust input.
66701 2012-05-01  Roland McGrath  <roland@hack.frob.com>
66703         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
66704         output to the target.
66706         * scripts/localplt.awk: New file.
66707         * elf/Makefile ($(objpfx)check-localplt): Target removed.
66708         (check-localplt-CFLAGS): Variable removed.
66709         ($(all-built-dso:=.jmprel)): New static pattern rule.
66710         (generated): Add those targets.
66711         (localplt-built-dso): New variable.
66712         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
66714         * elf/check-localplt.c: File removed.
66716         * scripts/check-execstack.awk: New file.
66717         * elf/Makefile ($(objpfx)check-execstack): Target removed.
66718         (check-execstack-CFLAGS): Variable removed.
66719         ($(objpfx)check-execstack.h): Target removed.
66720         ($(objpfx)execstack-default): New target.
66721         (generated): Add that instead of check-execstack.h.
66722         ($(all-built-dso:=.phdr)): New static pattern rule.
66723         (generated): Add those targets.
66724         * elf/check-execstack.c: File removed.
66726         * scripts/check-textrel.awk: New file.
66727         * elf/Makefile ($(objpfx)check-textrel): Target removed.
66728         (check-textrel-CFLAGS): Variable removed.
66729         (all-built-dso): Use := to define.o
66730         ($(all-built-dso:=.dyn)): New static pattern rule.
66731         (generated): Add those targets.
66732         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
66733         * config.make.in (READELF): New substituted variable.
66734         * elf/check-textrel.c: File removed.
66736 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
66738         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
66739         allow.
66740         * conform/data/ctype.h-data [C99-based standards] (isblank):
66741         Expect function.
66742         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
66743         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
66744         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66745         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
66746         Specify type.  Require positive value.
66747         (EILSEQ): Likewise.
66748         (ERANGE): Likewise.
66749         [ISO || POSIX] (EILSEQ): Do not expect.
66750         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
66751         Specify type.  Require positive value.
66752         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
66753         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
66754         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
66755         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
66756         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
66757         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
66758         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
66759         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
66760         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
66761         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
66762         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
66763         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
66764         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
66765         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
66766         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
66767         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
66768         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
66769         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
66770         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
66771         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
66772         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
66773         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
66774         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
66775         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
66776         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
66777         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
66778         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
66779         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
66780         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
66781         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
66782         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
66783         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
66784         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
66785         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
66786         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
66787         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
66788         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
66789         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
66790         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
66791         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
66792         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
66793         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
66794         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
66795         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
66796         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
66797         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
66798         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
66799         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
66800         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
66801         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
66802         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
66803         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
66804         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
66805         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
66806         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
66807         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
66808         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
66809         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
66810         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
66811         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
66812         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
66813         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
66814         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
66815         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
66816         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
66817         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
66818         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
66819         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
66820         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
66821         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
66822         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
66823         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
66824         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
66825         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
66826         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
66827         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
66828         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
66829         Require >= 2.
66830         (FLT_ROUNDS): Expect as macro, not constant.
66831         (FLT_MANT_DIG): Use macro-int-constant.
66832         (DBL_MANT_DIG): Likewise.
66833         (LDBL_MANT_DIG): Likewise.
66834         (FLT_DIG): Likewise.
66835         (DBL_DIG): Likewise.
66836         (LDBL_DIG): Likewise.
66837         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
66838         (DBL_MIN_EXP): Likewise.
66839         (LDBL_MIN_EXP): Likewise.
66840         (FLT_MAX_EXP): Use macro-int-constant.
66841         (DBL_MAX_EXP): Likewise.
66842         (LDBL_MAX_EXP): Likewise.
66843         (FLT_MAX_10_EXP): Likewise.
66844         (DBL_MAX_10_EXP): Likewise.
66845         (LDBL_MAX_10_EXP): Likewise.
66846         (FLT_MAX): Use macro-constant.
66847         (DBL_MAX): Likewise.
66848         (LDBL_MAX): Likewise.
66849         (FLT_EPSILON): Use macro-constant.  Give upper bound.
66850         (DBL_EPSILON): Likewise.
66851         (LDBL_EPSILON): Likewise.
66852         (FLT_MIN): Likewise.
66853         (DBL_MIN): Likewise.
66854         (LDBL_MIN): Likewise.
66855         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
66856         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
66857         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
66858         [ISO11] (FLT_HAS_SUBNORM): Likewise.
66859         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
66860         [ISO11] (DBL_DECIMAL_DIG): Likewise.
66861         [ISO11] (FLT_DECIMAL_DIG): Likewise.
66862         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
66863         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
66864         [ISO11] (FLT_TRUE_MIN): Likewise.
66865         [ISO11] (LDBL_TRUE_MIN): Likewise.
66866         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66867         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
66868         (SCHAR_MIN): Use macro-int-constant.  Specify type.
66869         (SCHAR_MAX): Likewise.
66870         (UCHAR_MAX): Likewise.
66871         (CHAR_MIN): Likewise.
66872         (CHAR_MAX): Likewise.
66873         (MB_LEN_MAX): Use macro-int-constant.
66874         (SHRT_MIN): Use macro-int-constant.  Specify type.
66875         (SHRT_MAX): Likewise.
66876         (USHRT_MAX): Likewise.
66877         (INT_MAX): Likewise.
66878         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
66879         bound negative.
66880         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66881         bound with "U".
66882         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66883         bound with "L".
66884         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
66885         bound negative.  Suffix upper bound with "L".
66886         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
66887         bound with "UL".
66888         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
66889         Specify type.
66890         [C99-based standards] (LLONG_MAX): Likewise.
66891         [C99-based standards] (ULLONG_MAX): Likewise.
66892         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
66893         == 0.
66894         [ISO11] (max_align_t): Require type.
66895         [ISO || ISO99 || ISO11] (*_t): Do not allow.
66897         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
66898         from $CFLAGS, without defining away __attribute__ calls.
66899         (checknamespace): Use $CFLAGS_namespace.
66901         * conform/conformtest.pl (@keywords): Only include C99 keywords
66902         for standards based on C99 or C11.
66904         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
66905         Disable tests.
66906         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
66907         UNIX98]: Likewise.
66909         * conform/conformtest.pl: Handle "macro-int-constant" and test for
66910         usability of symbols in #if.
66912         * conform/conformtest.pl: If macro or constant types start
66913         "promoted:", expect the symbol to be of the following type
66914         promoted by the integer promotions.
66916         * conform/conformtest.pl: Parse all "constant" and "macro" lines
66917         in one place.  Also handle "macro-constant".
66919         * conform/conformtest.pl: Only accept expected macro values with
66920         "==".  Parse all "macro" lines in one place.
66921         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
66923         * conform/conformtest.pl: Handle braced types on "constant" lines
66924         instead of handling "typed-constant".
66925         * conform/data/signal.h-data: Use "constant" instead of
66926         "typed-constant".
66928         * conform/conformtest.pl: Handle "optional-" at start of lines in
66929         one place rather than duplicating several cases.  Handle each
66930         format of "macro" line with initial "optional-".
66932         * conform/conformtest.pl: Only accept expected constant or
66933         optional-constant values with "==".  Parse all "constant" lines in
66934         one place.  Parse all "optional-constant" lines in one place.
66935         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
66936         * conform/data/fmtmsg.h-data: Likewise.
66937         * conform/data/netinet/in.h-data: Likewise.
66938         * conform/data/tar.h-data: Likewise.
66939         * conform/data/limits.h-data: Use "==" form on "constant" and
66940         "optional-constant" lines.
66942         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
66943         Use -std=c99 for XOPEN2K.
66944         (@knownproblems): Remove.
66945         (newtoken): Don't check %isknown.
66947         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
66948         Do not expect macro.
66949         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
66950         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
66951         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
66952         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
66953         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
66954         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
66955         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
66956         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
66957         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
66958         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
66959         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
66960         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
66961         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
66962         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
66963         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
66964         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
66965         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
66966         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
66967         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
66968         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
66969         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
66970         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
66971         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
66972         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
66973         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
66974         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
66975         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
66976         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
66977         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
66978         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
66979         [XPG3] (acosh): Likewise.
66980         [XPG3] (asinh): Likewise.
66981         [XPG3] (atanh): Likewise.
66982         [XPG3] (cbrt): Likewise.
66983         [XPG3] (expm1): Likewise.
66984         [XPG3] (ilogb): Likewise.
66985         [XPG3] (log1p): Likewise.
66986         [XPG3] (logb): Likewise.
66987         [XPG3] (nextafter): Likewise.
66988         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
66989         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
66990         [XPG3] (remainder): Likewise.
66991         [XPG3] (rint): Likewise.
66992         [XPG3 || XPG4 || UNIX98] (round): Likewise.
66993         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
66994         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
66995         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
66996         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
66997         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
66998         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
66999         [UNIX98 || XOPEN2K] (scalb): Expect.
67000         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
67001         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
67002         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
67003         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
67004         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
67005         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
67006         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
67007         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
67008         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
67009         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
67010         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
67011         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
67012         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
67013         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
67014         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
67015         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
67016         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
67017         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
67018         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
67019         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
67020         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
67021         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
67022         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
67023         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
67024         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
67025         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
67026         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
67027         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
67028         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
67029         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
67030         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
67031         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
67032         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
67033         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
67034         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
67035         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
67036         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
67037         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
67038         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
67039         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
67040         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
67041         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
67042         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
67043         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
67044         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
67045         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
67046         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
67047         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
67048         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
67049         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
67050         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
67051         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
67052         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
67053         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
67054         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
67055         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
67056         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
67057         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
67058         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
67059         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
67060         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
67061         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
67062         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
67063         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
67064         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
67065         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
67066         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
67067         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
67068         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
67069         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
67070         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
67071         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
67072         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
67073         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
67074         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
67075         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
67076         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
67077         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
67078         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
67079         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
67080         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
67081         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
67082         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
67083         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
67084         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
67085         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
67086         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
67087         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
67088         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
67089         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
67090         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
67091         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
67092         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
67093         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
67094         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
67095         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
67096         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
67097         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
67098         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
67099         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
67100         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
67101         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
67102         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
67103         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
67104         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
67105         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
67106         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
67107         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
67108         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
67109         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
67110         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
67111         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
67112         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
67113         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
67114         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
67115         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
67116         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
67117         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
67118         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
67119         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
67120         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
67121         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
67122         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
67123         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
67124         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
67125         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
67126         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
67127         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
67128         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
67129         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
67130         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
67131         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
67132         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
67133         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
67134         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
67135         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
67136         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
67138         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
67139         _XOPEN_SOURCE_EXTENDED for XPG4.
67141         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
67143         * Makeconfig (localtime): Remove variable.
67144         (inst_localtime-file): Likewise.
67146 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
67149         Update.
67150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67151         Update.
67152         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
67153         Update.
67154         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
67155         Update.
67156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
67157         Update.
67158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
67159         Update.
67160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67161         Update.
67162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
67163         Update.
67164         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67165         Update.
67167 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
67169         [BZ #2550]
67170         [BZ #2570]
67171         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
67172         comparisons to determine direction to adjust input.
67173         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
67174         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
67175         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
67176         Likewise.
67177         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
67178         Likewise.
67179         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
67180         Likewise.
67181         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
67182         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
67183         Likewise.
67184         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
67185         Likewise.
67186         * math/libm-test.inc (nexttoward_test): Add more tests.
67188 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
67190         [BZ #14040]
67191         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
67192         in version GLIBC_2.1, not GLIBC_2.0.
67193         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
67194         Likewise.
67196 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
67198         [BZ #13942]
67199         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
67200         (1 - x) * (1 + x).
67201         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67202         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
67203         * math/libm-test.inc (acos_test): Add more tests.
67204         (asin_test): Likewise.
67205         * sysdeps/i386/fpu/libm-test-ulps: Update.
67206         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
67208         [BZ #14034]
67209         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
67210         of square root.
67211         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
67212         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
67213         * math/libm-test.inc (acos_test_tonearest): New function.
67214         (acos_test_towardzero): Likewise.
67215         (acos_test_downward): Likewise.
67216         (acos_test_upward): Likewise.
67217         (asin_test_tonearest): Likewise.
67218         (asin_test_towardzero): Likewise.
67219         (asin_test_downward): Likewise.
67220         (asin_test_upward): Likewise.
67221         (main): Call the new functions.
67222         * sysdeps/i386/fpu/libm-test-ulps: Update.
67223         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67225         [BZ #13884]
67226         [BZ #13924]
67227         * math/e_exp10.c: Include <float.h>.
67228         (__ieee754_exp10): Handle underflow here rather than multiplying
67229         large negative argument by M_LN10.
67230         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
67231         of __ieee754_expf.
67232         * math/e_exp10l.c: Include <float.h>.
67233         (__ieee754_exp10l): Handle underflow here rather than multiplying
67234         large negative argument by M_LN10l.
67235         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
67236         spurious overflow exception on underflow.
67238 2012-04-29  Marek Polacek  <polacek@redhat.com>
67240         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
67241         (__fortify_function): New macro.
67242         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
67243         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
67244         __extern_always_inline.
67245         * libio/bits/stdio2.h: Likewise.
67246         * libio/bits/stdio.h: Likewise.
67247         * string/string.h: Likewise.
67248         * string/bits/string3.h: Likewise.
67249         * include/stdio.h: Likewise.
67250         * stdlib/bits/stdlib.h: Likewise.
67251         * stdlib/stdlib.h: Likewise.
67252         * rt/bits/mqueue2.h: Likewise.
67253         * rt/mqueue.h: Likewise.
67254         * posix/bits/unistd.h: Likewise.
67255         * posix/unistd.h: Likewise.
67256         * io/bits/poll2.h: Likewise.
67257         * io/bits/fcntl2.h: Likewise.
67258         * io/fcntl.h: Likewise.
67259         * io/sys/poll.h: Likewise.
67260         * misc/bits/syslog.h: Likewise.
67261         * misc/bits/syslog-ldbl.h: Likewise.
67262         * misc/sys/syslog.h: Likewise.
67263         * socket/bits/socket2.h: Likewise.
67264         * socket/sys/socket.h: Likewise.
67265         * debug/tst-chk1.c: Likewise.
67266         * wcsmbs/bits/wchar2.h: Likewise.
67267         * wcsmbs/bits/wchar-ldbl.h: Likewise.
67268         * wcsmbs/wchar.h: Likewise.
67270 2012-04-29  Andreas Jaeger  <aj@suse.de>
67272         * Makerules (tests): Remove enable-check-abi protection.
67273         (check-abi-warn): Remove.
67274         (check-abi-%): Remove check-abi-warn usage.
67276         * configure.in: Remove check-abi configure option.
67277         * configure: Regenerated.
67278         * config.make.in (enable-check-abi): Remove.
67280 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
67282         [BZ #14033]
67283         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
67284         double functions to double *_finite functions.
67286         [BZ #13941]
67287         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
67288         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
67289         LDBL_MIN_EXP.
67290         * stdio-common/Makefile (tests): Add tst-sprintf3.
67291         * stdio-common/tst-sprintf3.c: New file.
67293         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
67294         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
67296 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67298         * conform/conformtest.pl: Remove duplicate typed-constant
67299         handling.
67301 2012-04-28  David S. Miller  <davem@davemloft.net>
67303         * Makerules (%.abilist): Add vpath on sysdep_dirs.
67304         (check-abi-%): Remove AWK script prerequisite and explicit
67305         abilist directory.
67306         (check-abi): Rewrite to just diff the symlist with the abilist.
67307         (config-tls, config-abi-config): Delete, no longer used.
67308         (update-abi-%): Remove AWK script and explicit abilist directory.
67309         (update-abi): Rewrite to simply compare and conditionally copy the
67310         symlist and the sysdep abilist file.  Remove update-abi-config
67311         checks.
67312         * abilist/ld.abilist: Remove.
67313         * abilist/libBrokenLocale.abilist: Remove.
67314         * abilist/libanl.abilist: Remove.
67315         * abilist/libcrypt.abilist: Remove.
67316         * abilist/libdl.abilist: Remove.
67317         * abilist/librt.abilist: Remove.
67318         * abilist/libthread_db.abilist: Remove.
67319         * abilist/libutil.abilist: Remove.
67320         * scripts/extract-abilist.awk: Remove.
67321         * scripts/merge-abilist.awk: Remove.
67322         * sysdeps/generic/libcidn.abilist: New file.
67323         * sysdeps/generic/libnss_compat.abilist: New file.
67324         * sysdeps/generic/libnss_db.abilist: New file.
67325         * sysdeps/generic/libnss_dns.abilist: New file.
67326         * sysdeps/generic/libnss_files.abilist: New file.
67327         * sysdeps/generic/libnss_hesiod.abilist: New file.
67328         * sysdeps/generic/libnss_nis.abilist: New file.
67329         * sysdeps/generic/libnss_nisplus.abilist: New file.
67330         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
67331         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
67332         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
67333         file.
67334         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
67335         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
67336         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
67337         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
67338         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
67339         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
67340         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
67341         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
67342         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
67343         file.
67344         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
67345         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
67346         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
67347         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
67348         file.
67349         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
67350         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
67351         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
67352         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
67353         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
67354         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
67355         file.
67356         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
67357         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
67358         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
67359         file.
67360         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
67361         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
67362         New file.
67363         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
67364         New file.
67365         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
67366         New file.
67367         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
67368         New file.
67369         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
67370         New file.
67371         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
67372         New file.
67373         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
67374         New file.
67375         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
67376         New file.
67377         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
67378         New file.
67379         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
67380         New file.
67381         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
67382         New file.
67383         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
67384         New file.
67385         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
67386         New file.
67387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
67388         file.
67389         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
67390         New file.
67391         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
67392         New file.
67393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
67394         file.
67395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
67396         New file.
67397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
67398         New file.
67399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
67400         file.
67401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
67402         New file.
67403         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
67404         New file.
67405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
67406         New file.
67407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
67408         New file.
67409         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
67410         New file.
67411         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
67412         New file.
67413         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
67414         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
67415         file.
67416         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
67417         New file.
67418         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
67419         file.
67420         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
67421         file.
67422         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
67423         file.
67424         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
67425         file.
67426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
67427         file.
67428         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
67429         New file.
67430         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
67431         file.
67432         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
67433         file.
67434         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
67435         New file.
67436         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
67437         file.
67438         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
67439         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
67440         file.
67441         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
67442         New file.
67443         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
67444         file.
67445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
67446         file.
67447         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
67448         file.
67449         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
67450         file.
67451         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
67452         file.
67453         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
67454         New file.
67455         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
67456         file.
67457         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
67458         file.
67459         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
67460         New file.
67461         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
67462         file.
67463         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
67464         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
67465         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
67466         file.
67467         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
67468         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
67469         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
67470         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
67471         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
67472         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
67473         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
67474         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
67475         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
67476         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
67477         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
67478         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
67479         file.
67480         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
67481         New file.
67482         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
67483         file.
67484         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
67485         file.
67486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
67487         file.
67488         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
67489         file.
67490         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
67491         file.
67492         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
67493         New file.
67494         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
67495         New file.
67496         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
67497         file.
67498         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
67499         New file.
67500         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
67501         file.
67502         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
67503         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
67504         file.
67505         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
67506         New file.
67507         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
67508         file.
67509         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
67510         file.
67511         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
67512         file.
67513         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
67514         file.
67515         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
67516         file.
67517         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
67518         New file.
67519         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
67520         New file.
67521         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
67522         file.
67523         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
67524         New file.
67525         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
67526         file.
67528 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
67530         * conform/conformtest.pl: Fix typo in handling typed-constant from
67531         allow-header.
67533 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67535         * README: Cut down references to pre-2.6 Linux kernels and
67536         Linuxthreads.  Update lists of configurations in libc and ports
67537         and sort alphabetically.  Say "or newer" with Linux kernel version
67538         requirements.
67540         * config.h.in [IS_IN_build]: Allow compiling without optimization.
67542 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
67544         [BZ #887]
67545         * math/libm-test.inc (logb_test_downward): New test to expose
67546         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
67547         rounding mode.
67549 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
67551         [BZ #14027]
67552         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
67553         to be done.
67554         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
67555         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
67557 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
67559         * sysdeps/unix/i386/brk.S: Remove file.
67560         * sysdeps/unix/i386/dl-brk.S: Likewise.
67561         * sysdeps/unix/i386/pipe.S: Likewise.
67562         * sysdeps/unix/i386/sigreturn.S: Likewise.
67563         * sysdeps/unix/i386/syscall.S: Likewise.
67564         * sysdeps/unix/i386/vfork.S: Likewise.
67565         * sysdeps/unix/i386/wait.S: Likewise.
67567         * sysdeps/unix/common/tcsendbrk.c: Move to ...
67568         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
67570         * configure.in (arm*-none*): Do not allow without
67571         --enable-hacker-mode.
67572         (netbsd*): Remove case setting base_os.
67573         (386bsd*): Likewise.
67574         (freebsd*): Likewise.
67575         (bsdi*): Likewise.
67576         (osf*): Likewise.
67577         (sunos*): Likewise.
67578         (ultrix*): Likewise.
67579         (newsos*): Likewise.
67580         (dynix*): Likewise.
67581         (*bsd*): Likewise.
67582         (sysv*): Likewise.
67583         (isc*): Likewise.
67584         (esix*): Likewise.
67585         (sco*): Likewise.
67586         (minix*): Likewise.
67587         (irix4*): Likewise.
67588         (irix6*): Likewise.
67589         (solaris[2-9]*): Likewise.
67590         (none): Likewise.
67591         * configure: Regenerated.
67593 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67595         [BZ #11521]
67596         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
67597         overflow or cancellation in calculating denominator.
67598         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
67599         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
67600         down expression to avoid unexpected rounding in newer GCCs.
67601         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
67603 2012-04-26  David S. Miller  <davem@davemloft.net>
67605         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
67606         long-double compat symbols.
67607         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
67608         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
67609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
67610         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
67611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
67612         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
67613         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
67614         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
67615         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
67616         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
67617         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
67618         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
67619         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
67621 2012-04-25  David S. Miller  <davem@davemloft.net>
67623         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
67624         HWCAP_* values only after the memory barriers have been defined.
67625         (atomic_full_barrier): Define.
67626         (atomic_read_barrier): Define.
67627         (atomic_write_barrier): Define.
67629 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67631         * shlib-versions: Add libgcc_s version information.
67632         * sysdeps/generic/libgcc_s.h: Remove.
67633         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
67634         libgcc_s.h.
67635         * sysdeps/gnu/unwind-resume.c: Likewise.
67636         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
67638 2012-04-25  David S. Miller  <davem@davemloft.net>
67640         * sysdeps/unix/sparc/brk.S: Delete.
67641         * sysdeps/unix/sparc/dl-brk.S: Delete.
67642         * sysdeps/unix/sparc/pipe.S: Delete.
67643         * sysdeps/unix/sparc/sysdep.S: Delete.
67644         * sysdeps/unix/sparc/sysdep.h: Delete.
67645         * sysdeps/unix/sparc/vfork.S: Delete.
67646         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
67647         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
67648         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
67649         (ret_ERRVAL, r0, r1, MOVE): Define.
67650         (JUMPTARGET): Remove.
67651         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
67652         sysdeps/unix/sparc/sysdep.h
67653         (ENTRY, END): Remove.
67654         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
67656 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
67658         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
67659         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
67660         -DIS_IN_build.
67662         * timezone/README: Update upstream location and email address for
67663         tzcode and tzdata.
67664         * timezone/zdump.c: Update from tzcode 2012b.
67665         * timezone/zic.c: Likewise.
67667         * configure.in (libc_cv_as_needed): Remove test.
67668         * configure: Regenerated.
67669         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
67670         conditional definition.
67671         [$(have-as-needed) != yes] (no-as-needed): Likewise.
67672         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
67673         * config.make.in (have-as-needed): Remove variable.
67675 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67676             Paul Pluzhnikov  <ppluzhnikov@google.com>
67678         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
67679         strings correctly.
67681 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
67683         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
67684         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
67685         * sysdeps/sh/strlen.S: Likewise.
67687 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67689         * sysdeps/unix/fork.S: Remove file.
67690         * sysdeps/unix/i386/fork.S: Likewise.
67691         * sysdeps/unix/sparc/fork.S: Likewise.
67693         * sysdeps/unix/system.c: Remove file.
67694         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
67696         * sysdeps/unix/getegid.S: Remove file.
67697         * sysdeps/unix/geteuid.S: Likewise.
67699 2012-04-24  Roland McGrath  <roland@hack.frob.com>
67701         * scripts/check-localplt.awk: New file.
67702         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
67703         of diff.
67704         * scripts/data/localplt-generic.data: Add a comment.
67706         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
67707         NODE when __dir_mkfile failed.
67708         * sysdeps/mach/hurd/symlinkat.c: Likewise.
67709         Reported by Ludovic Courtès <ludo@gnu.org>.
67711 2012-04-24  Andreas Jaeger  <aj@suse.de>
67713         * Makerules (common-clean): Also remove gen-as-const-headers
67714         files.
67716 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67718         * Makerules (native-compile): Do not change working directory for
67719         build.  Use $(OUTPUT_OPTION) in command.
67720         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
67722 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67724         [BZ #13886]
67725         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
67726         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
67727         * math/libm-test.inc (floor_test): Add more tests.
67728         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
67730 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
67732         * sysdeps/unix/getdents.c: Remove file.
67733         * sysdeps/unix/sysv/getdents.c: Likewise.
67734         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
67736         * sysdeps/unix/syscalls.list (madvise): Add syscall from
67737         sysdeps/unix/mman/syscalls.list.
67738         (mmap): Likewise.
67739         (mprotect): Likewise.
67740         (msync): Likewise.
67741         (munmap): Likewise.
67742         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
67743         * sysdeps/unix/mman/syscalls.list: Remove.
67744         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
67746         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
67747         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
67748         * configure: Regenerated.
67749         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
67750         $(libgcc_s_suffix).
67751         * config.make.in (libgcc_s_suffix): Remove variable.
67753 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
67755         * sysdeps/unix/sysv/gethostname.c: Move to ...
67756         * sysdeps/posix/gethostname.c: ... here.
67758         * sysdeps/unix/execve.S: Remove file.
67760         * sysdeps/unix/_exit.S: Remove file.
67762 2012-04-23  Andreas Jaeger  <aj@suse.de>
67764         [BZ #13739]
67765         * manual/Makefile: Remove make dist support, there's no
67766         need for a stand-alone documentation tar ball.
67767         (TEXI2DVI): Define always, it's not in Makeconfig.
67768         (dist): Removed.
67769         (tar-it): Removed.
67770         (edition): Removed.
67771         (glibc-doc-$(edition).tar): Removed
67772         (%.Z): Removed.
67773         (%.gz): Removed.
67774         (%.uu): Removed.
67775         (ETAGS): Remove, it's in Makeconfig.
67776         (move-if-change): Remove, it's in Makeconfig.
67778 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
67780         [BZ #13970]
67781         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
67782         (strtod, strtof, strtold, strtol, strtoul, strtoq)
67783         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
67784         (strtod_l, strtof_l, strtold_l): Remove __wur.
67785         It is not necessarily an error to ignore strtol's return value.
67786         One can reliably look at the stored endptr to decide whether
67787         the number had valid syntax.
67789 2012-04-21  Andreas Jaeger  <aj@suse.de>
67791         [BZ #13739]
67792         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
67794 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
67796         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
67797         * sysdeps/unix/sysv/Versions: Remove file.
67799 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
67801         [BZ #13927]
67802         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67804 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
67806         [BZ #7064]
67807         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
67808         version from __vm86.
67810 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
67812         * sysdeps/unix/common/lxstat.c: Remove file.
67813         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
67815         * sysdeps/unix/sysv/Makefile: Remove file.
67817         * sysdeps/unix/sysv/direct.h: Remove file.
67819         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
67820         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
67821         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
67822         * sysdeps/unix/sysv/bits/signum.h: Likewise.
67823         * sysdeps/unix/sysv/bits/stat.h: Likewise.
67824         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
67825         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
67827         * sysdeps/unix/sysv/setrlimit.c: Remove file.
67829         * sysdeps/unix/xmknod.c: Remove file.
67830         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
67832         * sysdeps/unix/sysv/settimeofday.c: Remove file.
67834         * sysdeps/unix/sysv/i386/time.S: Remove file.
67836         * sysdeps/unix/fxstat.c: Remove file.
67837         * sysdeps/unix/xstat.c: Likewise.
67838         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
67840         * sysdeps/unix/sysv/sigaction.c: Remove file.
67842         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
67843         (sysdep_headers): Remove variable.
67844         [termio.h not in sysdep_headers] (generated): Likewise.
67845         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
67846         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
67847         * sysdeps/unix/sysv/tcdrain.c: Likewise.
67848         * sysdeps/unix/sysv/tcflow.c: Likewise.
67849         * sysdeps/unix/sysv/tcflush.c: Likewise.
67850         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
67851         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
67852         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
67853         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
67854         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
67856         * sysdeps/unix/siglist.c: Remove file.
67858         * sysdeps/unix/getppid.S: Remove file.
67860         * sysdeps/unix/mkdir.c: Remove file.
67861         * sysdeps/unix/rmdir.c: Likewise.
67863 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
67865         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
67866         ERR_MAX value.
67867         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
67868         errlist-compat value.
67870 2012-04-18  David S. Miller  <davem@davemloft.net>
67872         * sysdeps/generic/memcopy.h (reg_char): Delete.
67873         * debug/strcat_chk.c: Use char, not reg_char.
67874         * debug/strcpy_chk.c: Likewise.
67875         * debug/strncat_chk.c: Likewise.
67876         * debug/strncpy_chk.c: Likewise.
67877         * string/memchr.c: Likewise.
67878         * string/memrchr.c: Likewise.
67879         * string/rawmemchr.c: Likewise.
67880         * string/strcat.c: Likewise.
67881         * string/strchr.c: Likewise.
67882         * string/strchrnul.c: Likewise.
67883         * string/strcmp.c: Likewise.
67884         * string/strcpy.c: Likewise.
67885         * string/strncat.c: Likewise.
67886         * string/strncmp.c: Likewise.
67887         * string/strncpy.c: Likewise.
67889 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67891         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
67892         __builtin_memcopy is called when src and dest ranges are known to not
67893         overlap.
67895 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67897         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
67898         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
67899         fwd_align_merge macro call.
67900         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
67901         bwd_align_merge macro call.
67902         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67904 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
67906         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
67907         bwd_align_merge macros.
67908         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
67909         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
67910         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
67912 2012-04-18  David S. Miller  <davem@davemloft.net>
67914         * sysdeps/sparc/sparc64/memcopy.h: Delete.
67916 2012-04-18  Andreas Jaeger  <aj@suse.de>
67918         [BZ# 6794]
67919         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
67920         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
67921         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67923         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
67924         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
67925         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67927         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
67928         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
67929         Adjust for changed ldbl-128 files.
67931         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
67932         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
67933         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
67935 2012-04-17  David S. Miller  <davem@davemloft.net>
67937         * sysdeps/sparc/sparc32/memcopy.h: Delete.
67939 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
67941         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
67942         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
67943         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
67944         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
67945         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
67946         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
67948 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
67950         [BZ #6794]
67951         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
67952         * math/libm-test.inc: Add ilogb errno and exception tests.
67953         * math/w_ilogb.c: New file: ilogb wrapper.
67954         * math/w_ilogbf.c: New file: ilogbf wrapper.
67955         * math/w_ilogbl.c: New file: ilogbl wrapper.
67956         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
67957         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
67958         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
67959         exception being thrown with 0.0 as argument.
67960         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
67961         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
67962         exception being thrown with 0.0 as argument.
67963         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
67964         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67965         exception being thrown with 0.0 as argument.
67966         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
67967         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
67968         exception being thrown with 0.0 as argument.
67969         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
67970         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
67971         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
67972         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
67973         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
67974         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
67975         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
67976         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
67977         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
67979 2012-04-17  Petr Baudis  <pasky@ucw.cz>
67981         * include/sys/uio.h: Change __vector to __iovec to avoid clash
67982         with altivec.
67984 2012-04-16  Marek Polacek  <polacek@redhat.com>
67986         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
67988 2012-04-16  Marek Polacek  <polacek@redhat.com>
67990         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
67991         operands of fdivp instruction.
67993 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
67995         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
67996         * elf/tst-auditmod3b.c: Likewise.
67997         * elf/tst-auditmod4b.c: Likewise.
67998         * elf/tst-auditmod5b.c: Likewise.
67999         * elf/tst-auditmod6b.c: Likewise.
68000         * elf/tst-auditmod6c.c: Likewise.
68001         * elf/tst-auditmod7b.c: Likewise.
68002         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
68003         * sysdeps/x86_64/preconfigure.in: Likewise.
68004         * sysdeps/x86_64/preconfigure: Regenerated.
68006 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
68008         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
68009         __ILP32__.
68011 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
68013         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
68014         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
68016 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
68018         [BZ #13973]
68019         * locale/iso-639.def: Fix gl language name. Spotted by
68020         Yaron Shahrabani.
68022 2012-04-12  Roland McGrath  <roland@hack.frob.com>
68024         [BZ #2074]
68025         * libio/libio.h (__io_write_fn): Update comment.
68027 2012-04-12  Petr Baudis  <pasky@ucw.cz>
68029         [BZ #2074]
68030         * stdio.texi (Hook Functions): The user provided writer function
68031         is not allowed to return -1.
68033 2012-04-11  David S. Miller  <davem@davemloft.net>
68035         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68037 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
68039         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
68040         Add a leading slash to rtkaio.
68042 2012-04-11  Jim Meyering  <meyering@redhat.com>
68044         [BZ #11959]
68045         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
68046         It is not necessarily an error to ignore fwrite's return
68047         value.  One can reliably use ferror to test for errors after
68048         the fact.
68050 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68052         * bits/types.h (__snseconds_t): New type.
68053         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
68055         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
68056         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68057         (__SNSECONDS_T_TYPE): Likewise.
68058         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
68059         (__SNSECONDS_T_TYPE): Likewise.
68060         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68061         (__SNSECONDS_T_TYPE): Likewise.
68063 2012-04-10  Andreas Jaeger  <aj@suse.de>
68065         [BZ #2636]
68066         * manual/time.texi (Processor Time): Return type of times is
68067         elapsed real time since an arbitrary point in the past.
68068         (CPU Time): Move CLK_TCK from here...
68069         (Processor Time): ...to here.  Correct description.
68070         * manual/conf.texi (Constants for Sysconf): Correct description of
68071         _SC_CLK_TCK.
68073 2012-04-10  David S. Miller  <davem@davemloft.net>
68075         [BZ #13967]
68076         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
68077         where the is a gap between DT_REL(A) and DT_JMPREL.
68079 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
68081         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
68082         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68083         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68085 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
68087         * elf/dl-support.c (_dl_inhibit_cache): New variable.
68088         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
68089         (dl_main): Handle --inhibit-cache.
68090         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
68091         _dl_inhibit_cache.
68092         * elf/dl-load.c (_dl_map_object): Use it.
68093         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
68095 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68097         [BZ #13872]
68098         * sysdeps/i386/fpu/e_powl.S (p78): New object.
68099         (__ieee754_powl): Saturate large exponents rather than testing for
68100         overflow of y*log2(x).
68101         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68102         * math/libm-test.inc (pow_test): Do not permit spurious overflow
68103         exceptions.
68105         [BZ #11521]
68106         * math/s_ctan.c: Include <float.h>.
68107         (__ctan): Avoid internal overflow or cancellation in calculating
68108         denominator.
68109         * math/s_ctanf.c: Likewise.
68110         * math/s_ctanl.c: Likewise.
68111         * math/s_ctanh.c: Likewise.
68112         * math/s_ctanhf.c: Likewise.
68113         * math/s_ctanhl.c: Likewise.
68114         * math/libm-test.inc (ctan_test): Add more tests.
68115         (ctanh_test): Likewise.
68116         * sysdeps/i386/fpu/libm-test-ulps: Update.
68117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68119 2012-04-09  Andreas Jaeger  <aj@suse.de>
68121         [BZ #6894]
68122         * manual/filesys.texi (Directory Entries): Mention that d_namlen
68123         is an optional BSD extension.
68125         [BZ #10254]
68126         * manual/stdio.texi (Opening Streams): Document additional fopen
68127         parameters.
68129 2012-04-09  Roland McGrath  <roland@hack.frob.com>
68131         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
68132         %eax without telling the compiler.
68134 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
68136         [BZ # 13963]
68137         * manual/install.texi: Use sourceware.org.
68139 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
68141         [BZ #13873]
68142         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
68143         (__ieee754_pow): Generate overflow and underflow using huge*huge
68144         and tiny*tiny rather than just returning constant infinity or zero
68145         for large exponents.
68146         * math/libm-test.inc (pow_test): Require overflow exceptions for
68147         applicable cases of large exponents.
68149         [BZ #706]
68150         * sysdeps/i386/fpu/e_pow.S (p10): New object.
68151         (__ieee754_pow): Use iterative multiplication algorithm only for
68152         integer exponents with absolute value below 1024.  Check for odd
68153         integer exponents when using algorithm for real exponents.
68154         * math/libm-test.inc (pow_test): Add more tests.
68155         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68157 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
68159         [BZ #13705]
68160         * math/libm-test.inc (exp_test): Do not allow overflow exception
68161         on underflow test.
68163 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
68165         [BZ #13705]
68166         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
68167         instead of __kernel_standard_f.
68169 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
68171         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
68172         * sysdeps/x86_64/memset_chk.S: Likewise.
68174 2012-04-08  Andreas Jaeger  <aj@suse.de>
68176         [BZ #10153]
68177         * manual/startup.texi (Environment Access): Describe return value
68178         for putenv and setenv.
68180         [BZ #6895]
68181         * manual/filesys.texi (Directory Entries): Add description for
68182         DT_LNK.
68184         [BZ #6890]
68185         * manual/filesys.texi (Directory Entries): Clarify that it's file
68186         system not operating system in the description of DT_UNKNOWN.
68188         [BZ #6578]
68189         * manual/syslog.texi (closelog): Fix reference, it's openlog.
68191 2012-04-08  Stephen Compall  <s11@member.fsf.org>
68193         [BZ #6649]
68194         * manual/llio.texi (Opening and Closing Files): Add cross
68195         reference to explain mode argument.
68197 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
68199         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
68200         * sysdeps/x86_64/memset_chk.S: Likewise.
68202 2012-04-07  David S. Miller  <davem@davemloft.net>
68204         * elf/elf.h (R_SPARC_WDISP10): Define.
68205         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
68206         R_SPARC_SIZE32.
68207         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
68208         R_SPARC_SIZE64 and R_SPARC_H34.
68210 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
68212         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
68213         conditions and remove no longer applicable assertion.
68215 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68217         * bits/byteswap.h: Include <features.h>.
68218         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
68219         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
68221 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
68223         * bits/byteswap.h (__bswap_16): Removed.
68224         Include <bits/byteswap-16.h> to get __bswap_16.
68225         * sysdeps/i386/bits/byteswap.h: Likewise.
68226         * sysdeps/s390/bits/byteswap.h: Likewise.
68227         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68228         * bits/byteswap-16.h: New file.
68229         * sysdeps/i386/bits/byteswap-16.h: Likewise.
68230         * sysdeps/s390/bits/byteswap-16.h: Likewise.
68231         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
68232         * string/Makefile (headers): Add bits/byteswap-16.h.
68234 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
68236         [BZ #13895]
68237         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
68238         extra indirection.
68239         * nss/Makefile (tests-static, tests): Add tst-nss-static.
68240         * nss/tst-nss-static.c: New.
68242 2012-04-06  Robert Millan  <rmh@gnu.org>
68244         [BZ #6486]
68245         * manual/llio.texi (File Position Primitive): lseek
68246         refers to WHENCE when it really means OFFSET.
68248 2012-04-06  Andreas Jaeger  <aj@suse.de>
68250         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
68251         strncmp declarations.
68253         * abilist/libc.abilist: Add __poll and __ppoll.
68255 2012-04-05  David S. Miller  <davem@davemloft.net>
68257         * scripts/check-local-headers.sh: Accept a host triplet in the
68258         path matched by the exclude regexp.
68260         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
68261         definition.
68262         * sysdeps/powerpc/powerpc32/dl-machine.h
68263         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
68264         * sysdeps/s390/s390-32/dl-machine.h
68265         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68266         * sysdeps/sparc/sparc32/dl-machine.h
68267         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68268         * sysdeps/sparc/sparc64/dl-machine.h
68269         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
68271         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
68272         lazy binding.
68273         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
68274         undefined symbol errors.
68276         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
68277         DT_NEEDED entries.
68279 2012-04-05  Michael Matz  <matz@suse.de>
68281         [BZ #13592]
68282         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
68284 2012-04-05  Andreas Jaeger  <aj@suse.de>
68286         [BZ #13908]
68287         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
68288         comment.
68290 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68292         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
68293         which ROUND is no valid rounding mode.
68295 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68297         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
68298         read again.
68299         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
68301 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68303         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
68304         an exception using FPU order intentionally.
68306 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
68308         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
68309         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
68310         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
68311         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
68313 2012-04-05  Simon Josefsson  <simon@josefsson.org>
68315         [BZ #12340]
68316         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
68317         EINVAL when BUFLEN is too smal.
68319 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
68321         [BZ #13553]
68322         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
68323         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
68325 2012-04-03  Andreas Jaeger  <aj@suse.de>
68327         [BZ #13938]
68328         * manual/setjmp.texi (System V contexts): Fix sentence.
68330         [BZ #13926]
68331         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
68332         New macro for this case.
68333         [!__GNUC__] (__bswap_64): New inline function for this case.
68334         * sysdeps/x86_64/bits/byteswap.h: Likewise.
68335         * bits/byteswap.h: Likewise.
68336         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
68337         ull, guard with __GLIBC_HAVE_LONG_LONG.
68339         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
68340         __GLIBC_HAVE_LONG_LONG.
68342         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
68343         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
68345 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
68347         [BZ #13691]
68348         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
68349         inptr and inend, rather than using last_ch.
68351 2012-04-02  David S. Miller  <davem@davemloft.net>
68353         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
68354         * stdio-common/printf-parse.h (read_int): Change return type to
68355         'int', return -1 on INT_MAX overflow.
68356         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
68357         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
68358         overflows INT_MAX.  Check for overflow of in-format-string precision
68359         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
68360         SIZE_MAX not INT_MAX for integer overflow test.
68361         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
68362         skip the construct in the format string but do not record anything.
68363         * stdio-common/bug22.c: Adjust to test both width/prevision
68364         INT_MAX overflow as well as total length INT_MAX overflow.  Check
68365         explicitly for proper errno values.
68367 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
68369         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
68370         CHAR_MAX.
68371         * string/test-strcmp.c [! WIDE]: Likewise.
68372         * time/tst-mktime2.c: Likewise for INT_MAX.
68373         * string/test-string.h: #include <sys/param.h> for MIN.
68375         * csu/init-first.c (__libc_init_first): Call __ctype_init.
68376         * sysdeps/i386/init-first.c (init): Likewise.
68377         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
68378         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
68379         * sysdeps/sh/init-first.c (init): Likewise.
68381 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
68383         * po/ru.po: Update from translation team.
68384         * po/vi.po: Likewise.
68386 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
68388         * resolv/nss_dns/dns-host.c: Merge copyright years.
68390 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
68392         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
68393         Optimize memcpy with prefetch if
68394         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
68395         src, dst pointers have unequal 16 byte alignments.
68397 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
68399         [BZ #13928]
68400         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
68401         from a CNAME entry and return the minimum ttl for the query.
68402         (gaih_getanswer_slice): Likewise.
68404 2012-03-30  Jeff Law  <law@redhat.com>
68406         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
68407         due to long keys.
68408         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
68409         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
68411         * resolv/nss_dns/dns-host.c: Update copyright year.
68413 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
68415         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
68416         requests to save a system call.  Fix check that all bytes are sent.
68418         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
68419         comments for sendmmsg.
68421 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
68423         [BZ #13691]
68424         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
68425         with only 1 character between 0x0041 and 0x01b0.
68426         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
68427         * wcsmbs/tst-mbsnrtowcs.c: New file.
68429 2012-03-29  David S. Miller  <davem@davemloft.net>
68431         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
68432         small copies by hand.
68434 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
68436         [BZ #13761]
68437         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
68438         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
68439         group memberships.
68441 2012-03-28  David S. Miller  <davem@davemloft.net>
68443         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
68444         that branches into memcpy.
68445         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
68446         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
68447         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
68448         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
68449         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
68450         bits.
68451         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
68452         implementation too.
68453         * sysdeps/sparc/mempcpy.S: New file.
68455         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
68456         the IFUNC routine in the libc case.
68457         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
68459         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
68460         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
68461         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
68462         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
68463         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
68464         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
68465         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
68466         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
68468         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
68469         loop to 256 bytes instead of 64 bytes and fix test signedness.
68471         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
68472         * sysdeps/sparc/sparc32/Makefile: rather than here...
68473         * sysdeps/sparc/sparc64/Makefile: and here.
68475 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
68477         * malloc/mallocbug.c: Avoid warnings about unused variables.
68479 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
68481         [BZ #13760]
68482         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
68483         in the right place. Discard and retry query if response is
68484         larger than input buffer size.
68486 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
68488         [BZ #369]
68489         [BZ #2678]
68490         [BZ #3866]
68491         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
68492         x for large integer exponent.
68493         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
68494         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
68495         sign of result as needed afterwards.
68496         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
68497         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
68498         result for underflowing pow the same as for overflow.
68499         (__kernel_standard_l): Handle powl overflow and underflow here
68500         rather than calling __kernel_standard.
68501         * math/libm-test.inc (pow_test): Add more tests.
68503         [BZ #3868]
68504         [BZ #13879]
68505         [BZ #13910]
68506         [BZ #13911]
68507         [BZ #13912]
68508         [BZ #13913]
68509         [BZ #13915]
68510         [BZ #13916]
68511         [BZ #13917]
68512         [BZ #13918]
68513         [BZ #13919]
68514         [BZ #13920]
68515         [BZ #13921]
68516         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
68517         * sysdeps/ieee754/k_standard.c: Include <float.h>.
68518         (__kernel_standard_l): New function.
68519         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
68520         __kernel_standard.
68521         * math/w_acosl.c (__acosl): Likewise.
68522         * math/w_asinl.c (__asinl): Likewise.
68523         * math/w_atan2l.c (__atan2l): Likewise.
68524         * math/w_atanhl.c (__atanhl): Likewise.
68525         * math/w_coshl.c (__coshl): Likewise.
68526         * math/w_exp10l.c (__exp10l): Likewise.
68527         * math/w_exp2l.c (__exp2l): Likewise.
68528         * math/w_fmodl.c (__fmodl): Likewise.
68529         * math/w_hypotl.c (__hypotl): Likewise.
68530         * math/w_j0l.c (__j0l, __y0l): Likewise.
68531         * math/w_j1l.c (__j1l, __y1l): Likewise.
68532         * math/w_jnl.c (__jnl, __ynl): Likewise.
68533         * math/w_lgammal.c (__lgammal): Likewise.
68534         * math/w_log10l.c (__log10l): Likewise.
68535         * math/w_log2l.c (__log2l): Likewise.
68536         * math/w_logl.c (__logl): Likewise.
68537         * math/w_powl.c (__powl): Likewise.
68538         * math/w_remainderl.c (__remainderl): Likewise.
68539         * math/w_scalbl.c (sysv_scalbl): Likewise.
68540         * math/w_sinhl.c (__sinhl): Likewise.
68541         * math/w_sqrtl.c (__sqrtl): Likewise.
68542         * math/w_tgammal.c (__tgammal): Likewise.
68543         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
68544         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
68545         * math/libm-test.inc (acos_test): Add more tests.
68546         (acosh_test): Likewise.
68547         (asin_test): Likewise.
68548         (atanh_test): Likewise.
68549         (exp_test): Likewise.
68550         (exp10_test): Likewise.
68551         (exp2_test): Likewise.
68552         (expm1_test): Likewise.
68553         (lgamma_test): Likewise.
68554         (log_test): Likewise.
68555         (log10_test): Likewise.
68556         (log1p_test): Likewise.
68557         (log2_test): Likewise.
68558         (pow_test): Do not allow some spurious overflow exceptions.
68559         (sqrt_test): Add more tests.
68560         (tgamma_test): Likewise.
68561         (y0_test): Likewise.
68562         (y1_test): Likewise.
68563         (yn_test): Likewise.
68565 2012-03-27  Anton Blanchard  <anton@samba.org>
68567         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
68568         MAP_HUGETLB.
68569         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
68570         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
68571         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
68573 2012-03-27  David S. Miller  <davem@davemloft.net>
68575         * conform/Makefile: Run run-conformtest.sh using $(BASH).
68577         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
68578         have-as-vis3 check.
68580 2012-03-27  Andreas Jaeger  <aj@suse.de>
68582         * sysdeps/x86_64/elf/configure.in: Moved to ...
68583         * sysdeps/x86_64/configure.in: ... here.
68584         * sysdeps/x86_64/elf/start.S: Moved to ...
68585         * sysdeps/x86_64/start.S: ... here.
68586         * sysdeps/x86_64/elf/configure: Delete.
68588         * sysdeps/x86_64/configure.in: Merge contents from
68589         sysdeps/i386/configure.in (without i686 check).
68591         * sysdeps/i386/elf/Versions: Merge into ...
68592         * sysdeps/i386/Versions: ... this.
68593         * sysdeps/i386/elf/Versions: Delete file.
68594         * sysdeps/i386/elf/start.S: Moved to ...
68595         * sysdeps/i386/start.S: ...here.
68596         * sysdeps/i386/elf/configure.in: Merge into...
68597         * sysdeps/i386/configure.in: ...here.
68598         * sysdeps/i386/elf/configure.in: Delete file.
68599         * sysdeps/i386/elf/configure: Delete file.
68601         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
68602         * debug/backtracesyms.c: ... here.
68603         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
68604         * debug/backtracesymsfd.c: ... here.
68605         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
68606         * sysdeps/generic/ifunc-sel.h: ... here.
68608         * sysdeps/unix/i386/start.c: Delete file.
68609         * sysdeps/unix/sparc/start.c: Delete file.
68610         * sysdeps/unix/start.c: Delete file.
68612         * sysdeps/sh/elf/configure.in: Moved to ...
68613         * sysdeps/sh/configure.in: ... here.
68614         * sysdeps/sh/elf/start.S: Moved to ...
68615         * sysdeps/sh/start.S: ... here.
68616         * sysdeps/sh/elf/configure: Delete file.
68618         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
68619         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
68620         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
68621         * sysdeps/powerpc/powerpc64/entry.h: ... here.
68622         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
68623         * sysdeps/powerpc/powerpc64/start.S: here.
68624         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
68625         * sysdeps/powerpc/powerpc64/Makefile: ... this.
68626         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
68627         * sysdeps/powerpc/powerpc64/configure.in: ... this.
68628         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
68630         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
68631         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
68632         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
68633         * sysdeps/powerpc/powerpc32/start.S: ... here.
68634         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
68635         * sysdeps/powerpc/powerpc32/configure.in: ... this.
68636         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
68638         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
68639         * sysdeps/powerpc/ifunc-sel.h: ... here.
68640         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
68641         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
68643         * sysdeps/sparc/elf/configure.in: Moved to ...
68644         * sysdeps/sparc/configure.in: ... here.
68645         * sysdeps/sparc/elf/configure: Delete file.
68646         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
68647         * sysdeps/sparc/sparc32/start.S: ... here.
68648         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
68649         * sysdeps/sparc/sparc64/start.S: ... here.
68650         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
68651         * sysdeps/sparc/sparc32/Makefile: ... this.
68652         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
68653         * sysdeps/sparc/sparc64/Makefile: ... this.
68655         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
68656         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
68657         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
68658         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
68659         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
68660         * sysdeps/s390/s390-32/setjmp.S: ... here.
68661         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
68662         * sysdeps/s390/s390-32/configure.in: ... here.
68663         * sysdeps/s390/s390-32/elf/configure: Delete file.
68664         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
68665         * sysdeps/s390/s390-32/start.S: ... here.
68667         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
68668         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
68669         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
68670         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
68671         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
68672         * sysdeps/s390/s390-64/setjmp.S: ... here.
68673         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
68674         * sysdeps/s390/s390-64/configure.in: ... here
68675         * sysdeps/s390/s390-64/elf/configure: Delete file.
68676         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
68677         * sysdeps/s390/s390-64/start.S: ... here.
68678         * sysdeps/s390/s390-64/elf/configure: Delete.
68680         * configure.in: Remove support for elf directories in sysdeps.
68682         * configure: Regenerated.
68683         * sysdeps/i386/configure: Regenerated.
68684         * sysdeps/powerpc/powerpc32/configure: Regenerated.
68685         * sysdeps/powerpc/powerpc64/configure: Regenerated.
68686         * sysdeps/s390/s390-32/configure: Regenerated.
68687         * sysdeps/s390/s390-64/configure: Regenerated.
68688         * sysdeps/sh/configure: Regenerated.
68689         * sysdeps/sparc/configure: Regenerated.
68690         * sysdeps/x86_64/configure: Regenerated.
68692 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
68694         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68696         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
68697         denormal result into account.
68699 2012-03-25  Roland McGrath  <roland@hack.frob.com>
68701         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
68702         Reported by Allan McRae <allan@archlinux.org>.
68704 2012-03-23  Jeff Law  <law@redhat.com>
68706         * nss/getnssent.c (__nss_getent): Fix typo.
68708 2012-03-23  David S. Miller  <davem@davemloft.net>
68710         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68712 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
68714         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
68715         to pad to uint64_t for each field.
68716         (dl_tls_index): Replace unsigned long with uint64_t.
68718 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
68719         Paul Pluzhnikov  <ppluzhnikov@google.com>
68721         [BZ #6528]
68722         * grp/Makefile (otherlibs): Don't set it.
68723         * inet/Makefile (otherlibs): Likewise.
68724         * login/Makefile (otherlibs): Likewise.
68725         * nscd/Makefile (otherlibs): Likewise.
68726         * posix/Makefile (otherlibs): Likewise.
68727         * pwd/Makefile (otherlibs): Likewise.
68728         * rt/Makefile (otherlibs): Likewise.
68729         * sunrpc/Makefile (otherlibs): Likewise.
68730         * nss/Makefile (otherlibs): Likewise.
68731         Add libnss_files to routines and static-only-routines.
68732         ($(objpfx)getent): Remove rule.
68733         * resolv/Makefile: Add libnss_dns and libresolv to routines and
68734         static-only-routines.
68736 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68738         [BZ #13892]
68739         * math/s_cexp.c: Include <float.h>.
68740         (__cexp): Handle exp result overflowing not necessarily
68741         overflowing both real and imaginary parts of result.
68742         * math/s_cexpf.c: Likewise.
68743         * math/s_cexpl.c: Likewise.
68744         * math/libm-test.inc (cexp_test): Add more tests.
68745         * sysdeps/i386/fpu/libm-test-ulps: Update.
68746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68748 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68750         * include/link.h (ELFW): New macro.
68751         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
68752         Replace ELF64_R_TYPE with ELFW(R_TYPE).
68754 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68756         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
68757         with uint64_t.
68759 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68761         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
68762         declaration.
68763         (struct La_x32_retval): Likewise.
68765 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
68767         * sysdeps/x86_64/preconfigure.in: New file.
68768         * sysdeps/x86_64/preconfigure: New generated file.
68770 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
68772         [BZ #13824]
68773         * math/e_exp2l.c: Include <float.h>.
68774         (__ieee754_exp2l): Handle overflow and underflow cases
68775         separately.  Only pass fractional part of argument to
68776         __ieee754_expl.
68777         * math/libm-test.inc (exp2_test): Add more tests.
68779         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
68780         negating x to take absolute value.
68781         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
68782         Likewise.
68783         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
68784         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
68785         Likewise.
68786         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
68787         computing low part if x was negated.
68788         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
68790 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68792         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
68793         la_x32_gnu_pltexit.
68794         (pltexit): Cast int_retval to ptrdiff_t.
68795         * elf/tst-auditmod3b.c: Likewise.
68796         * elf/tst-auditmod4b.c: Likewise.
68797         * elf/tst-auditmod5b.c: Likewise.
68798         * elf/tst-auditmod6b.c: Likewise.
68799         * elf/tst-auditmod6c.c: Likewise.
68800         * elf/tst-auditmod7b.c: Likewise.
68802         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
68803         and x32_gnu_pltexit.
68805         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
68806         __ELF_NATIVE_CLASS.
68807         (La_x32_regs): New macro.
68808         (La_x32_retval): Likewise.
68809         (la_x32_gnu_pltenter): New function prototype.
68810         (la_x32_gnu_pltexit): Likewise.
68812 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
68814         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
68815         exponent.
68817         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
68819         * configure.in (libc_cv_cc_nofma): Check for option to disable
68820         generation of FMA instructions.
68821         * configure: Regenerate.
68822         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
68823         * sysdeps/ieee754/dbl-64/Makefile: New file.
68824         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
68825         Remove brandred-fma4.
68826         (CFLAGS-brandred-fma4.c): Remove.
68827         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
68828         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
68829         define.
68830         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
68831         define.
68833 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68835         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
68836         LLONG_MAX != LONG_MAX.
68837         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68838         (_fitoa_word): Likewise.
68839         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
68840         LLONG_MAX != LONG_MAX.
68841         * stdio-common/_itowa.h: Include <_itoa.h>.
68842         (_itowa_word): Use _ITOA_WORD_TYPE on value.
68843         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
68844         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
68845         only if not defined.
68846         (_ITOA_WORD_TYPE): Likewise.
68847         (_itoa_word): Use _ITOA_WORD_TYPE on value.
68848         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
68850 2012-03-21  David S. Miller  <davem@davemloft.net>
68852         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68854 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
68856         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
68857         of x86_64 when setting libc_cv_slibdir, libdir and
68858         libc_cv_localedir.
68859         * sysdeps/unix/sysv/linux/configure: Regenerated.
68861 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68863         * manual/lang.texi (Old Varargs): Remove section.
68864         (How Variadic): Update menu.
68865         (va_start): Do not mention varargs.h.
68867 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68868             Joseph Myers  <joseph@codesourcery.com>
68870         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
68871         link test.
68872         * configure: Regenerated.
68874 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
68876         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
68877         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
68878         conformtest.pl
68880 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68882         * NOTES: Remove.
68883         * Makefile (files-for-dist): Remove NOTES.
68884         (NOTES): Remove rule.
68885         * README: Don't refer to NOTES.
68886         * manual/creature.texi: Don't include macros.texi.
68887         * manual/intro.texi (creature.texi): Remove comment referring to
68888         NOTES.
68890         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
68891         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
68892         * configure: Regenerated.
68893         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
68894         LIBC_TRY_CC_OPTION.
68895         (libc_cv_as_i686): Likewise.
68896         (libc_cv_cc_avx): Likewise.
68897         (libc_cv_cc_sse2avx): Likewise.
68898         (libc_cv_cc_fma4): Likewise.
68899         (libc_cv_cc_novzeroupper): Likewise.
68900         * sysdeps/i386/configure: Regenerated.
68902         [BZ #13883]
68903         * sysdeps/i386/fpu/s_cexp.S: Remove.
68904         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
68905         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
68906         * math/libm-test.inc (cexp_test): Add more tests.
68907         * sysdeps/i386/fpu/libm-test-ulps: Update.
68908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68910 2012-03-21  Allan McRae  <allan@archlinux.org>
68912         * timezone/Makefile: Do not install iso3166.tab and zone.tab
68914 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
68916         [BZ #13871]
68917         * math/w_exp2.c: Do not include <float.h>.
68918         (o_threshold, u_threshold): Remove.
68919         (__exp2): Calculate result before checking finiteness and calling
68920         __kernel_standard.
68921         * math/w_exp2f.c: Likewise.
68922         * math/w_exp2l.c: Likewise.
68923         * math/libm-test.inc (exp2_test): Require overflow exception for
68924         1e6 input.
68926         [BZ #3866]
68927         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
68928         range of signed 64-bit integers before using fistpll.  Remove
68929         checks for whether integers fit in mantissa bits.
68930         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
68931         the range of signed 32-bit integers before using fistpl.  Remove
68932         checks for whether integers fit in mantissa bits.
68933         * sysdeps/i386/fpu/e_powl.S (p64): New object.
68934         (__ieee754_powl): Test for y outside the range of signed 64-bit
68935         integers before using fistpll.  Reduce 64-bit values to 63-bit
68936         ones as needed.
68937         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
68938         divide-by-zero is raised for zero to large negative powers.
68939         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
68940         (__ieee754_powl): Test for y outside the range of signed 64-bit
68941         integers before using fistpll.  Reduce 64-bit values to 63-bit
68942         ones as needed.
68943         * math/libm-test.inc (pow_test): Add more tests.
68945 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
68947         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
68948         <stdio-common/_itoa.h>.
68949         * debug/segfault.c: Likewise.
68950         * elf/dl-cache.c: Likewise.
68951         * elf/dl-minimal.c: Likewise.
68952         * elf/dl-misc.c: Likewise.
68953         * elf/dl-sysdep.c: Likewise.
68954         * elf/dl-version.c: Likewise.
68955         * elf/rtld.c: Likewise.
68956         * hurd/hurdsock.c: Likewise.
68957         * hurd/lookup-retry.c: Likewise.
68958         * malloc/malloc.c: Likewise.
68959         * malloc/mtrace.c: Likewise.
68960         * nscd/nscd_getgr_r.c: Likewise.
68961         * nscd/nscd_getpw_r.c: Likewise.
68962         * nscd/nscd_getserv_r.c: Likewise.
68963         * posix/getopt_init.c: Likewise.
68964         * posix/wordexp.c: Likewise.
68965         * stdio-common/_itoa.c: Likewise.
68966         * stdio-common/printf_fphex.c: Likewise.
68967         * stdio-common/vfprintf.c: Likewise.
68968         * string/_strerror.c: Likewise.
68969         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
68970         * sysdeps/i386/i686/hp-timing.h: Likewise.
68971         * sysdeps/mach/_strerror.c: Likewise.
68972         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
68973         * sysdeps/mach/hurd/sethostid.c: Likewise.
68974         * sysdeps/mach/hurd/xmknodat.c: Likewise.
68975         * sysdeps/mach/xpg-strerror.c: Likewise.
68976         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
68977         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
68978         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
68979         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
68980         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
68981         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
68982         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
68983         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
68984         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
68985         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
68986         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
68987         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
68988         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
68989         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
68990         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
68991         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
68992         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
68993         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
68994         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
68995         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
68996         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
68998         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
69000         * stdio-common/_itoa.h: Moved to ...
69001         * sysdeps/generic/_itoa.h: Here.
69003         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
69005         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
69006         instead of "_itoa.h" and "_itowa.h".
69007         * stdio-common/vfprintf.: Likewise.
69009 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69011         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
69012         <bits/wordsize.h>.
69013         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
69014         (__signbit): Likwise.
69015         (llrintf): Likwise.
69016         (llrint): Likwise.
69018 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
69020         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
69021         __WORDSIZE != 64.
69023 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
69025         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
69026         OVERFLOW_EXCEPTION_OK.
69027         * math/libm-test.inc ("Philosophy"): Update comment about
69028         exception testing.
69029         (OVERFLOW_EXCEPTION): Define.
69030         (OVERFLOW_EXCEPTION_OK): Likewise.
69031         (INVALID_EXCEPTION_OK): Renumber.
69032         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
69033         (IGNORE_ZERO_INF_SIGN): Likewise.
69034         (test_exceptions): Handle FE_OVERFLOW.
69035         (exp10_test): Expect overflow exceptions.
69036         (exp2_test): Likewise.
69037         (expm1_test): Likewise.
69038         (nextafter_test): Likewise.
69039         (pow_test): Likewise.
69040         (scalbn_test): Likewise.
69041         (scalbln_test): Likewise.
69043 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69045         * sysdeps/x86_64/bits/atomic.h
69046         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
69047         64bit integer.
69048         (atomic_exchange_acq): Likewise.
69049         (__arch_exchange_and_add_body): Likewise.
69050         (__arch_add_body): Likewise.
69051         (atomic_add_negative): Likewise.
69052         (atomic_add_zero): Likewise.
69054 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69056         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
69057         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
69059 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69061         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
69062         Check __x86_64__ instead of __WORDSIZE.
69064 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69066         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
69068 2012-03-19  David S. Miller  <davem@davemloft.net>
69070         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69072         * sysdeps/sparc/fpu/fenv_private.h: New file.
69073         * sysdeps/sparc/fpu/math_private.h: Use it.
69074         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
69075         Remove.
69076         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
69077         (libc_feholdexcept_setroundl): Remove.
69078         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
69079         Remove.
69080         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
69081         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
69083 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69085         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
69086         int64_t instead of long int.
69087         (INSERT_WORDS64): Likwise.
69089 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
69091         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
69092         _Unwind_GetCFA return to _Unwind_Ptr first.
69094 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
69096         [BZ #13629]
69097         * math/s_clog.c: Include <float.h>.
69098         (__clog): Scale large or subnormal inputs.
69099         * math/s_clogf.c: Likewise.
69100         * math/s_clogl.c: Likewise.
69101         * math/s_clog10.c: Include <float.h>.
69102         (M_LOG10_2): Define.
69103         (__clog10): Scale large or subnormal inputs.
69104         * math/s_clog10f.c: Likewise.
69105         * math/s_clog10l.c: Likewise.
69106         * math/libm-test.inc (clog_test): Add more tests.
69107         (clog10_test): Likewise.
69108         * sysdeps/i386/fpu/libm-test-ulps: Update.
69109         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69111         [BZ #11451]
69112         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
69113         x and y.
69114         * math/libm-test.inc (atan2_test): Add another test.
69116         * Makerules (common-objdir-compile): Remove.
69117         * sysdeps/unix/Makefile (config-generated): Do not add
69118         $(unix-generated) to variable.
69119         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
69120         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
69121         Remove rule.
69122         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
69123         Likewise.
69124         [generic bits/local_lim.h] (before-compile): Do not append to
69125         variable.
69126         [generic bits/local_lim.h] (common-generated): Likewise.
69127         [generic sys/param.h] (before-compile): Do not append to variable.
69128         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
69129         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
69130         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
69131         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
69132         include.
69133         [generic sys/param.h] (sys/param.h-includes): Remove variable.
69134         [generic sys/param.h] (sys/param.h-includes): Remove rule.
69135         [generic sys/param.h] ($(addprefix
69136         $(common-objpfx),$(sys/param.h-includes))): Likewise.
69137         [generic sys/param.h] (common-generated): Do not append to
69138         variable.
69139         [generic sys/param.h] (sysdep_headers): Likewise.
69140         [generic bits/errno.h] (before-compile): Do not append to
69141         variable.
69142         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
69143         rule.
69144         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
69145         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
69146         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
69147         [generic bits/errno.h] (common-generated): Do not append to
69148         variable.
69149         [generic bits/ioctls.h] (before-compile): Do not append to
69150         variable.
69151         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
69152         rule.
69153         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
69154         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
69155         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
69156         rule.
69157         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
69158         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
69159         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
69160         [generic bits/ioctls.h] (common-generated): Do not append to
69161         variable.
69162         [generic sys/syscall.h] (syscall.h): Remove variable.
69163         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
69164         rule.
69165         [generic sys/syscall.h] (before-compile): Do not append to
69166         variable.
69167         [generic sys/syscall.h] (common-generated): Likewise.
69168         * sysdeps/unix/errnos-tmpl.c: Remove file.
69169         * sysdeps/unix/errnos.awk: Likewise.
69170         * sysdeps/unix/ioctls-tmpl.c: Likewise.
69171         * sysdeps/unix/ioctls.awk: Likewise.
69172         * sysdeps/unix/mk-local_lim.c: Likewise.
69173         * sysdeps/unix/snarf-ioctls: Likewise.
69175 2012-03-19  Richard Henderson  <rth@twiddle.net>
69177         * sysdeps/i386/fpu/fenv_private.h: New file.
69178         * sysdeps/i386/fpu/math_private.h: Use it.
69179         (math_opt_barrier, math_force_eval): Remove.
69180         (libc_feholdexcept_setround_53bit): Remove.
69181         (libc_feupdateenv_53bit): Remove.
69182         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69183         (math_opt_barrier, math_force_eval): Remove.
69184         (libc_feholdexcept): Remove.
69185         (libc_feholdexcept_setround): Remove.
69186         (libc_fetestexcept, libc_fesetenv): Remove.
69187         (libc_feupdateenv_test): Remove.
69188         (libc_feupdateenv, libc_feholdsetround): Remove.
69189         (libc_feresetround): Remove.
69191         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
69192         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
69194         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
69195         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
69196         (libc_feupdateenv_testl): New.
69197         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
69198         (libc_feupdateenv_testf): New.
69199         (libc_feupdateenv): Use libc_feupdateenv_test.
69200         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
69201         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
69203         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
69204         (libc_feholdsetroundf, libc_feholdsetroundl): New.
69205         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
69206         (libc_feresetround_noex): New.
69207         (libc_feresetround_noexf): New.
69208         (libc_feresetround_noexl): New.
69209         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
69210         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
69211         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
69212         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
69213         SET_RESTORE_ROUND.
69214         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
69215         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
69216         (__cos): Likewise.
69217         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
69218         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
69219         SET_RESTORE_ROUND_NOEX.
69220         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
69221         SET_RESTORE_ROUND_NOEXF.
69222         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
69223         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
69224         (libc_feholdsetroundf): New.
69225         (libc_feresetround, libc_feresetroundf): New.
69227         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
69228         (libc_feholdexcept_setround_53bit): Convert from macro to function.
69229         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
69231         * sysdeps/generic/math_private.h: Include <fenv.h>.
69232         (default_libc_feholdexcept): New.
69233         (default_libc_feholdexcept_setround): New.
69234         (default_libc_fesetenv, default_libc_feupdateenv): New.
69235         (libc_feholdexcept): Only define if undefined.
69236         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
69237         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
69238         (libc_feholdexcept_setroundl): Likewise.
69239         (libc_feholdexcept_setround_53bit): Likewise.
69240         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
69241         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
69242         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
69243         (libc_feupdateenv_53bit): Likewise.
69244         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
69245         (libc_feholdexcept): Convert from macro to inline function.
69246         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
69247         (libc_fesetenv, libc_feupdateenv): Likewise.
69249         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
69250         not previously defined.
69251         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
69252         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
69253         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
69254         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
69255         * sysdeps/ieee754/flt-32/math_private.h: New file.
69256         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
69257         math_private.h below SET_FLOAT_WORD.
69258         (__isnan, __isinf_ns, __finite): Remove.
69259         (__isnanf, __isinf_nsf, __finitef): Remove.
69261 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
69263         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69265 2012-03-17  David S. Miller  <davem@davemloft.net>
69267         [BZ #6471]
69268         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
69269         for 2.16.
69271 2012-03-16  David S. Miller  <davem@davemloft.net>
69273         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
69274         warnings.
69276         [BZ #6471]
69277         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
69278         properly.
69279         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
69280         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
69281         sysdep_routines when subdir is sysvipc.
69282         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
69283         __getshmlba helper.
69285         * sysdeps/sparc/fpu/libm-test/ulps: Update.
69287 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69289         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
69290         [__LP64__].
69292 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69294         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
69295         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
69296         (__lround): Renamed to ...
69297         (__llround): This.  Replace long int with long long int.
69298         Define lround functions as aliases of llround functions.
69299         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
69301 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69303         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
69304         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
69305         adresses to uintptr_t.  Replace "long int" and "unsigned long
69306         int" with "greg_t" on va_arg.
69308 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69310         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
69311         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
69313         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
69314         Move e_machine check before EI_CLASS check.  Handle x32
69315         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
69316         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
69317         SKIP_EM_IA_64 and include
69318         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
69320         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
69321         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
69322         (add_system_dir): New macro.
69324         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
69325         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
69327 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69329         [BZ #2551]
69330         [BZ #2552]
69331         [BZ #2553]
69332         [BZ #2554]
69333         [BZ #2562]
69334         [BZ #2563]
69335         [BZ #2565]
69336         [BZ #2566]
69337         [BZ #2576]
69338         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
69339         (y0): Likewise.
69340         * math/w_j0f.c (j0f): Likewise.
69341         (y0f): Likewise.
69342         * math/w_j0l.c (__j0l): Likewise.
69343         (__y0l): Likewise.
69344         * math/w_j1.c (j1): Likewise.
69345         (y1): Likewise.
69346         * math/w_j1f.c (j1f): Likewise.
69347         (y1f): Likewise.
69348         * math/w_j1l.c (__j1l): Likewise.
69349         (__y1l): Likewise.
69350         * math/w_jn.c (jn): Likewise.
69351         (yn): Likewise.
69352         * math/w_jnf.c (jnf): Likewise.
69353         (ynf): Likewise.
69354         * math/w_jnl.c (__jnl): Likewise.
69355         (__ynl): Likewise.
69356         * math/libm-test.inc (j0_test): Add more tests.
69357         (j1_test): Likewise.
69358         (jn_test): Likewise.  Add trailing semicolon to existing test.
69359         (y0_test): Likewise.
69360         (y1_test): Likewise.
69361         * sysdeps/i386/fpu/libm-test-ulps: Update.
69362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69364         [BZ #13851]
69365         [BZ #13854]
69366         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
69367         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
69368         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
69369         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
69370         (__tanl): Set errno for infinite argument.
69371         * sysdeps/i386/fpu/mptan.c: Remove.
69372         * sysdeps/i386/fpu/s_tan.S: Likewise.
69373         * sysdeps/i386/fpu/s_tanl.S: Likewise.
69374         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
69375         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
69376         * math/libm-test.inc (tan_test): Add more tests and enable more
69377         tests for double and long double.
69378         * sysdeps/i386/fpu/libm-test-ulps: Update.
69379         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69381 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
69383         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
69384         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
69386 2012-03-16  Roland McGrath  <roland@hack.frob.com>
69388         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
69389         * configure.in: Use it for both main tree and add-ons.
69390         * configure: Regenerated.
69392 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
69394         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
69396 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
69398         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
69399         in comment.
69401         [BZ #13851]
69402         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
69403         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
69404         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
69405         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
69406         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
69407         infinite argument.
69408         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
69409         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
69410         != 0 for prec == 2.
69411         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
69412         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
69413         * sysdeps/i386/fpu/s_cosl.S: Likewise.
69414         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
69415         * sysdeps/i386/fpu/s_sinl.S: Likewise.
69416         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
69417         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
69418         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
69419         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
69420         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
69421         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
69422         * math/libm-test.inc (cos_test): Add more tests and enable more
69423         tests for long double.
69424         (sin_test): Likewise.
69425         (sincos_test): Likewise.
69426         * sysdeps/i386/fpu/libm-test-ulps: Update.
69427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69429 2012-03-16  David S. Miller  <davem@davemloft.net>
69431         * sysdeps/sparc/fpu/math_private.h: New file.
69433 2012-03-15  David S. Miller  <davem@davemloft.net>
69435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
69436         file.
69437         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
69438         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
69439         file.
69440         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
69441         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
69442         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
69443         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
69444         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
69445         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
69446         sysdep routines.
69447         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69449         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
69450         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
69452         * sysdeps/sparc/sparc-ifunc.h: New file.
69453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
69454         sparc-ifunc.h
69455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69456         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
69457         Likewise.
69458         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
69459         Likewise.
69460         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
69461         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
69462         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69463         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69464         Likewise.
69465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
69466         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
69467         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
69468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
69469         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
69470         Likewise.
69471         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
69472         Likewise.
69473         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
69474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
69475         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
69476         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
69477         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69478         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69479         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
69480         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
69481         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69482         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69483         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
69484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
69485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
69486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
69487         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
69488         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
69489         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
69490         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
69491         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
69492         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
69493         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
69494         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
69495         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
69496         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
69498 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69500         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
69501         scaling.
69502         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69504 2012-03-15  Andreas Jaeger  <aj@suse.de>
69506         [BZ #13852]
69507         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
69508         ieee754/flt-32 implementation for sin, cos and sincos.
69509         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
69510         * sysdeps/i386/fpu/s_cosf.S: Likewise.
69511         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
69512         * sysdeps/i386/fpu/s_sinf.S: Likewise.
69513         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
69514         ieee754/flt-32 implementation for tan.
69516         * math/libm-test.inc (cos_test): Enable some large input tests for
69517         float as well
69518         (sin_test): Likewise.
69519         (sincos_test): Likewise.
69520         (tan_test): Add tests for large input.
69522         * sysdeps/i386/fpu/libm-test-ulps: Update.
69524 2012-03-15  Andreas Jaeger  <aj@suse.de>
69526         [BZ #13658]
69527         * math/libm-test.inc (cos_test): Add more test cases.
69528         (sin_test): Likewise.
69529         (sincos_test): Likewise.
69531 2012-03-15  Andreas Jaeger  <aj@suse.de>
69533         [BZ #13837]
69534         * math/libm-test.inc (cos_test): Add a test case for large input
69535         value.
69536         (sin_test): Likewise.
69537         (sincos_test): Likewise.
69539 2012-03-15  Andreas Jaeger  <aj@suse.de>
69540             Joseph Myers  <joseph@codesourcery.com>
69542         [BZ #13658]
69543         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
69544         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
69545         * sysdeps/i386/fpu/branred.c: Likewise.
69546         * sysdeps/i386/fpu/dosincos.c: Likewise.
69547         * sysdeps/i386/fpu/mpa.c: Likewise.
69548         * sysdeps/i386/fpu/s_cos.S: Likewise.
69549         * sysdeps/i386/fpu/s_sin.S: Likewise.
69550         * sysdeps/i386/fpu/s_sincos.S: Likewise.
69551         * sysdeps/i386/fpu/sincos32.c: Likewise.
69553         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
69554         Define.
69555         (libc_feupdateenv_53bit): Define.
69556         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
69557         Define.
69558         (libc_feupdateenv_53bit): Define.
69560         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
69561         53 bit (without extend i386 double precision).
69563         * math/libm-test.inc (sincos_test): Add tests for large input.
69564         (sin): Likewise.
69565         (cos): Likewise.
69567         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
69569 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
69571         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69573 2012-03-15  David S. Miller  <davem@davemloft.net>
69575         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
69576         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
69577         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
69578         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
69579         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
69580         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
69581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
69582         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
69583         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
69584         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
69585         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
69586         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
69587         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
69588         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
69589         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
69590         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
69591         file.
69592         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
69593         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
69594         file.
69595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
69596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
69597         file.
69598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
69599         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
69600         file.
69601         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
69602         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
69603         fmin/fmax sysdep routines.
69604         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
69606 2012-03-14  David S. Miller  <davem@davemloft.net>
69608         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
69609         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
69610         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
69611         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
69612         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
69613         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
69614         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
69615         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
69616         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
69617         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
69618         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
69619         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
69620         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
69621         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
69622         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
69623         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
69624         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
69625         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
69626         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
69627         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
69628         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
69629         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
69630         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
69631         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
69632         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
69633         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
69634         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
69635         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
69636         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
69637         routines.
69638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
69639         file.
69640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
69641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
69642         file.
69643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
69644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
69645         file.
69646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
69647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
69648         file.
69649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
69650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
69651         file.
69652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
69653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
69654         file.
69655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
69656         file.
69657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
69658         file.
69659         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
69660         file.
69661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
69662         New file.
69663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
69664         file.
69665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
69666         file.
69667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
69668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
69669         file.
69670         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
69671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
69672         file.
69673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
69674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
69675         file.
69676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
69677         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
69678         VIS3 routines.
69680         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69681         New file.
69683         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69685         * sysdeps/sparc/configure.in: New file.
69686         * sysdeps/sparc/configure: Generate.
69687         * configure.in (libc_cv_sparc_as_vis3): Substitute.
69688         * configure: Regenerate.
69689         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
69690         * config.make.in (have-as-vis3): New.
69691         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
69692         available use -Av9d instead of -Av9a.
69693         * sysdeps/sparc/sparc64/Makefile: Likewise.
69694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
69695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
69696         New file.
69697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
69698         file.
69699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
69700         New file.
69701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
69702         file.
69703         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
69704         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
69705         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
69706         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
69707         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
69709         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
69710         fzeros/fnegs to load 0x80000000 into a float register instead of
69711         using the stack.
69712         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
69714 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69716         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
69717         bits/syscall.h.
69718         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
69719         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
69720         ($(inst_includedir)/bits/syscall.h): Remove rule.
69721         ($(objpfx)bits/syscall.d): Include instead of
69722         $(objpfx)syscall-list.d.
69723         (generated): Change syscall-list.h and syscall-list.d to
69724         bits/syscall.h and bits/syscall.d.
69726 2012-03-14  Roland McGrath  <roland@hack.frob.com>
69728         [BZ #13846]
69729         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
69731 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
69733         [BZ #13841]
69734         * math/s_csqrt.c: Include <float.h>.
69735         (__csqrt): Scale large or subnormal inputs.
69736         * math/s_csqrtf.c: Likewise.
69737         * math/s_csqrtl.c: Likewise.
69738         * math/libm-test.inc (csqrt_test): Add more tests.
69739         * sysdeps/i386/fpu/libm-test-ulps: Update.
69740         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69742         [BZ #13840]
69743         * math/libm-test.inc (hypot_test): Add more tests.
69745 2012-03-13  David S. Miller  <davem@davemloft.net>
69747         [BZ #13840]
69748         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
69749         double-precision for the calculation instead of scaling.
69751 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
69753         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
69754         manipulate bits before adding and subtracting TWO52[sx].
69755         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
69756         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
69757         Likewise.
69758         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
69760 2012-03-13  David S. Miller  <davem@davemloft.net>
69762         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
69763         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
69764         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
69765         rtld-global-offsets.h
69766         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
69768         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
69769         large parameters.
69771         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
69773         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
69774         'err' in the ifdef scope in which it is actually used.
69776         * nss/nss_db/db-init.c: Include string.h
69778 2012-03-12  David S. Miller  <davem@davemloft.net>
69780         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
69781         masking out of the most significant byte of random value used.
69782         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69783         Fix coding style in previous change.
69785         * sysdeps/unix/sysv/linux/kernel-features.h
69786         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
69787         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
69788         expression.
69789         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
69790         later.
69792 2012-03-11  David S. Miller  <davem@davemloft.net>
69794         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
69795         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
69796         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
69797         for 'resultvar' otherwise things get truncated on 64-bit.
69799         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
69800         Fix masking out of the most significant byte of random value used.
69802         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69804 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
69806         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69808 2012-03-09  David S. Miller  <davem@davemloft.net>
69810         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
69811         variables with appropriate CPP guards.
69812         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
69813         from the frame pointer, not the stack pointer.  Correct layout
69814         comments.  Fix test on resulting framesize and the management of
69815         the outregs buffer for pltexit.  Preserve floating point return
69816         values across _dl_call_pltexit call.
69817         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
69818         framesize and the management of the outregs buffer for pltexit.
69819         Preserve floating point return values across _dl_call_pltexit
69820         call.
69821         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
69822         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
69823         (la_sparc64_gnu_pltexit): New functions.
69824         (print_exit): Fix format string for return register value.
69826 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
69828         * sunrpc/Makefile (others): Add rpcgen.
69829         ($(objpfx)rpcgen): Remove special build rule and dependency on
69830         libc.
69831         * sunrpc/rpcgen.c: New file.
69833 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
69835         [BZ #13673]
69836         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
69837         * stdio-common/bug-vfprintf-nargs.c: Likewise.
69838         * sysdeps/i386/crti.S: Likewise.
69839         * sysdeps/i386/crtn.S: Likewise.
69840         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
69841         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
69842         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
69843         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
69844         * sysdeps/sh/crti.S: Likewise.
69845         * sysdeps/sh/crtn.S: Likewise.
69846         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
69848         [BZ #13673]
69849         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
69850         with URL.
69851         * locale/programs/locfile-kw.gperf: Likewise.
69852         * locale/programs/charmap-kw.h: Regenerated.
69853         * locale/programs/locfile-kw.h: Likewise.
69855         [BZ #13673]
69856         * intl/plural.y: Replace FSF snail mail address with URL.
69857         * intl/plural.c: Regenerated.
69859 2012-03-09  Richard Henderson  <rth@twiddle.net>
69861         * include/math_private.h: Remove file.
69862         * math/math_private.h: Move file ...
69863         * sysdeps/generic/math_private.h: ... here.
69865         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
69866         * sysdeps/powerpc/fpu/math_private.h: Likewise.
69867         * sysdeps/x86_64/fpu/math_private.h: Likewise.
69869         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
69870         and <math_private.h>.
69871         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
69872         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
69873         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
69874         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
69875         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
69876         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
69877         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69878         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69879         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
69880         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69881         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69882         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
69883         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
69884         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
69885         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
69886         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
69887         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
69888         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
69889         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
69890         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
69891         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
69892         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
69893         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
69894         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
69895         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
69896         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
69897         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
69898         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
69899         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
69900         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
69901         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
69902         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
69903         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
69904         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
69905         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
69906         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
69907         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
69908         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
69909         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
69910         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
69911         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
69912         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
69913         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
69914         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
69915         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
69916         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
69917         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
69918         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
69919         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
69920         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
69921         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
69922         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
69923         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
69924         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
69925         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
69926         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
69927         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
69928         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
69929         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
69930         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
69931         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
69932         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
69933         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
69934         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
69935         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
69936         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
69937         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
69938         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
69939         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
69940         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
69941         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
69942         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
69943         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
69944         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
69945         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
69946         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
69947         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
69948         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
69949         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
69950         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
69951         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
69952         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
69953         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
69954         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
69955         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
69956         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
69957         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
69958         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
69959         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
69960         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
69961         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
69962         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
69963         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
69964         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
69965         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
69966         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
69967         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
69968         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
69969         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
69970         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
69971         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
69972         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
69973         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
69974         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
69975         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
69976         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
69977         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
69978         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
69979         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
69980         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
69981         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
69982         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
69983         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
69984         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
69985         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
69986         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
69987         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
69988         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
69989         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
69990         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
69991         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
69992         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
69993         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
69994         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
69995         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
69996         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
69997         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
69998         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
69999         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
70000         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
70001         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
70002         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
70003         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
70004         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
70005         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
70006         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
70007         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
70008         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
70009         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
70010         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
70011         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
70012         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
70013         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
70014         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
70015         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
70016         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
70017         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
70018         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
70019         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
70020         * sysdeps/ieee754/k_standard.c: Likewise.
70021         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
70022         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
70023         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
70024         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
70025         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
70026         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
70027         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
70028         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
70029         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
70030         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
70031         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
70032         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
70033         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
70034         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
70035         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
70036         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
70037         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
70038         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
70039         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
70040         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
70041         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
70042         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
70043         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
70044         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
70045         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
70046         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
70047         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
70048         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
70049         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
70050         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
70051         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
70052         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
70053         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
70054         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
70055         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
70056         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
70057         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
70058         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
70059         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
70060         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
70061         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
70062         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
70063         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
70064         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
70065         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
70066         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
70067         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
70068         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
70069         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
70070         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
70071         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
70072         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
70073         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
70074         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
70075         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
70076         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
70077         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
70078         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
70079         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
70080         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
70081         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
70082         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
70083         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
70084         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
70085         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
70086         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
70087         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
70088         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
70089         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
70090         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
70091         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
70092         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
70093         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
70094         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
70095         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
70096         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
70097         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
70098         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
70099         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70100         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
70101         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
70102         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
70103         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
70104         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
70105         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
70106         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
70107         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
70108         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
70109         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
70110         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
70111         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
70112         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
70113         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
70114         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
70115         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
70116         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
70117         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
70118         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
70119         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
70120         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
70121         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
70122         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
70123         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
70124         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
70125         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
70126         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
70127         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
70128         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
70129         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
70130         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
70131         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
70132         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
70133         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
70134         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
70135         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
70136         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
70137         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
70138         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
70139         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
70140         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
70141         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
70142         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
70143         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
70144         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
70145         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
70146         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
70147         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
70148         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
70149         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
70150         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
70151         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
70152         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
70153         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
70154         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
70155         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
70156         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
70157         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
70158         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
70159         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
70160         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
70161         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
70162         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
70163         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
70164         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
70165         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
70166         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
70167         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
70168         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
70169         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
70170         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
70171         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
70172         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
70173         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
70174         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
70175         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
70176         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
70177         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
70178         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
70179         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
70180         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
70181         * sysdeps/ieee754/s_lib_version.c: Likewise.
70182         * sysdeps/ieee754/s_matherr.c: Likewise.
70183         * sysdeps/ieee754/s_signgam.c: Likewise.
70184         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
70185         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
70186         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
70187         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
70188         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
70189         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70190         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
70191         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
70192         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
70193         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
70194         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
70195         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
70196         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
70197         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
70198         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
70199         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70200         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70201         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70202         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70203         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
70204         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
70206 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70208         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
70209         * sunrpc/rpc_main.c: Likewise.
70210         * sunrpc/rpc_svcout.c: Likewise.
70212 2012-03-09  David S. Miller  <davem@davemloft.net>
70214         * include/math_private.h: New file.
70216 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
70218         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
70219         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
70220         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
70221         from <bits/socket_type.h>.
70222         (enum __socket_type): Don't define here.
70223         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
70224         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70225         bits/socket_type.h.
70227         [BZ #13566]
70228         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
70229         checking __USE_GNU.
70231         * Makerules ($(inst_includedir)/%.h): New rule.
70232         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
70233         (install-others): Remove variable setting.
70234         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
70236 2012-03-08  Richard Henderson  <rth@twiddle.net>
70238         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
70239         from macro to inline function; merge with the
70240         !__LIBC_INTERNAL_MATH_INLINES version.
70241         (__ieee754_sqrtf): Likewise.
70243         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
70244         to inline function.
70245         (__rintf, __floor, __floorf): Likewise.
70247         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
70248         macro to inline function.
70249         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
70251         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
70252         not <math/math_private.h>.
70254 2012-03-08  David S. Miller  <davem@davemloft.net>
70256         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
70257         copyright year.
70258         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
70260 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
70262         * resolv/gai_misc.c (handle_requests): Fix struct timespec
70263         normalization.
70264         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
70265         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
70267 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
70269         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
70270         be defined individually, they must be defined as a block.  Define
70271         S for printing a string instead of hidint the different by using a
70272         macro for adding the 'l'.
70273         * stdio-common/tst-fphex-wide.c: Adjust.
70275 2012-03-07  Marek Polacek  <polacek@redhat.com>
70277         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
70279 2012-03-08  Marek Polacek  <polacek@redhat.com>
70281         [BZ #13806]
70282         * stdio-common/Makefile (tests): Add tst-fphex-wide.
70283         * stdio-common/tst-fphex.c: Define a few macros to make the
70284         test reusable.  Use them.
70285         * stdio-common/tst-fphex-wide.c: New file.
70287 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
70289         [BZ #6911]
70290         * manual/macros.texi (gnusystems): New macro.
70291         (nongnusystems): Likewise.
70292         (gnulinuxhurdsystems): Likewise.
70293         (gnuhurdsystems): Likewise..
70294         (gnulinuxsystems): Likewise.
70295         * manual/charset.texi: Use new macros or @theglibc{} to refer to
70296         variants of the GNU system, not "GNU system".
70297         * manual/conf.texi: Likewise.
70298         * manual/errno.texi: Likewise.  Update example of errno macro
70299         expansion.
70300         * manual/filesys.texi: Likewise.
70301         (getumask): Document as specific to GNU/Hurd.
70302         * manual/install.texi: Likewise.  Reword some references to
70303         GNU/Linux.
70304         * manual/intro.texi: Likewise.
70305         * manual/io.texi: Likewise.
70306         (File Name Portability): Detail which constraints are inapplicable
70307         to all GNU systems and which are only inapplicable to GNU/Hurd.
70308         * manual/job.texi: Likewise.
70309         * manual/llio.texi: Likewise.
70310         (O_NOCTTY): Document as present on GNU/Linux.
70311         * manual/maint.texi: Likewise.
70312         * manual/memory.texi: Likewise.
70313         * manual/pattern.texi: Likewise.
70314         * manual/pipe.texi: Likewise.
70315         * manual/process.texi: Likewise.
70316         * manual/resource.texi: Likewise.
70317         (RUSAGE_CHILDREN): Remove statement about specifying a particular
70318         child on GNU/Hurd.
70319         * manual/setjmp.texi: Likewise.
70320         * manual/signal.texi: Likewise.
70321         * manual/startup.texi: Likewise.
70322         * manual/stdio.texi: Likewise.
70323         * manual/terminal.texi: Likewise.
70324         (ONLCR): Document as POSIX.
70325         (OXTABS): Document availability on GNU/Linux as XTABS.
70326         (ONOEOT): Document availability separately from other bits.
70327         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
70328         * manual/time.texi: Likewise.
70329         * manual/users.texi: Likewise.
70330         * INSTALL: Regenerated.
70331         * sysdeps/gnu/errlist.c: Regenerated.
70333         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
70334         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
70335         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
70336         puts.
70337         * configure: Regenerated.
70339 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
70341         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
70342         default includes instead of AC_HEADER_CHECK.
70343         * sysdeps/i386/configure: Regenerated.
70345         [BZ #10716]
70346         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
70347         * math/s_cacoshf.c (__cacoshf): Likewise.
70348         * math/s_cacoshl.c (__cacoshl): Likewise.
70349         * math/s_casinh.c (__casinh): Set signs of result from argument.
70350         * math/s_casinhf.c (__casinhf): Likewise.
70351         * math/s_casinhl.c (__casinhl): Likewise.
70352         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
70353         (casinh_test): Add more tests.
70354         * sysdeps/i386/fpu/libm-test-ulps: Update.
70355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70357 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
70359         * po/zh_TW.po: Update from translation team.
70361         * login/Makefile (distribute): Remove variable.
70362         * catgets/Makefile: Likewise.
70363         * mach/Makefile: Likewise.
70364         * malloc/Makefile: Likewise.
70365         * misc/Makefile: Likewise.
70366         * iconv/Makefile: Likewise.
70367         * nscd/Makefile: Likewise.
70368         * hurd/Makefile: Likewise.
70369         * manual/Makefile: Likewise.
70370         * locale/Makefile: Likewise.
70371         * intl/Makefile: Likewise.
70372         * conform/Makefile: Likewise.
70373         * nss/Makefile: Likewise.
70374         * time/Makefile: Likewise.
70375         * soft-fp/Makefile: Likewise.
70376         * dirent/Makefile: Likewise.
70377         * gmon/Makefile: Likewise.
70378         * po/Makefile: Likewise.
70379         * rt/Makefile: Likewise.
70380         * socket/Makefile: Likewise.
70381         * math/Makefile: Likewise.
70382         * signal/Makefile: Likewise.
70383         * debug/Makefile: Likewise.
70384         * elf/Makefile: Likewise.
70385         * timezone/Makefile: Likewise.
70386         * stdlib/Makefile: Likewise.
70387         * iconvdata/Makefile: Likewise.
70388         * sunrpc/Makefile: Likewise.
70389         * io/Makefile: Likewise.
70390         * argp/Makefile: Likewise.
70391         * inet/Makefile: Likewise.
70392         * hesiod/Makefile: Likewise.
70393         * grp/Makefile: Likewise.
70394         * csu/Makefile: Likewise.
70395         * wctype/Makefile: Likewise.
70396         * crypt/Makefile: Likewise.
70397         * libio/Makefile: Likewise.
70398         * string/Makefile: Likewise.
70399         * nis/Makefile: Likewise.
70400         * resolv/Makefile: Likewise.
70401         * stdio-common/Makefile: Likewise.
70402         * wcsmbs/Makefile: Likewise.
70403         * dlfcn/Makefile: Likewise.
70404         * posix/Makefile: Likewise.
70406         [BZ #6959]
70407         * timezone/Makefile: Don't install timezone files, just the programs
70408         and scripts.
70410 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
70412         * nss/databases.def: Add missing gshadow entry.
70414         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
70416 2012-03-06  Marek Polacek  <polacek@redhat.com>
70418         [BZ #13726]
70419         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
70420         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
70421         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
70422         * stdio-common/tst-long-dbl-fphex.c: New file.
70424 2012-03-06  David S. Miller  <davem@davemloft.net>
70426         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
70427         (set_obp_int): New function.
70428         (get_obp_int): New function.
70429         (__get_clockfreq_via_dev_openprom): Likewise.
70430         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
70431         Avoid unused variable warnings on 'val' and use builtin_expect.
70432         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
70433         __builtin_expect.
70434         (INLINE_CLONE_SYSCALL): Likewise.
70436 2012-03-05  David S. Miller  <davem@davemloft.net>
70438         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70440 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
70442         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70444         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
70445         only for |x| >= 40.
70446         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
70448 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
70450         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
70451         Replace gettimeofday with __vdso_gettimeofday.
70453         * sysdeps/unix/sysv/linux/x86_64/init-first.c
70454         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
70455         __vdso_clock_gettime and __vdso_getcpu.
70457         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
70458         time with __vdso_time.
70460 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70462         * manual/lang.texi (size_t): Note types to which size_t may be
70463         equivalent with the GNU C Library, but do not describe when
70464         differences between them are significant.
70466 2012-03-05  Andreas Jaeger  <aj@suse.de>
70468         * sysdeps/i386/fpu/libm-test-ulps: Update.
70470 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
70472         [BZ #3976]
70473         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
70474         (__ieee754_pow): Save and restore rounding mode and use
70475         round-to-nearest for main computations.
70476         * math/libm-test.inc (pow_test_tonearest): New function.
70477         (pow_test_towardzero): Likewise.
70478         (pow_test_downward): Likewise.
70479         (pow_test_upward): Likewise.
70480         (main): Call the new functions.
70481         * sysdeps/i386/fpu/libm-test-ulps: Update.
70482         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70484         [BZ #3976]
70485         * math/libm-test.inc (cosh_test_tonearest): New function.
70486         (cosh_test_towardzero): Likewise.
70487         (cosh_test_downward): Likewise.
70488         (cosh_test_upward): Likewise.
70489         (sinh_test_tonearest): Likewise.
70490         (sinh_test_towardzero): Likewise.
70491         (sinh_test_downward): Likewise.
70492         (sinh_test_upward): Likewise.
70493         (main): Call the new functions.
70494         * sysdeps/i386/fpu/libm-test-ulps: Update.
70495         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70497 2012-03-05  Tom de Vries  <tom@codesourcery.com>
70499         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
70500         default stack guard is set in last bytes.
70501         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
70503 2012-03-05  Kees Cook  <keescook@chromium.org>
70505         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
70507         [BZ #13656]
70508         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
70509         possibly allocate from heap instead of stack.
70510         * stdio-common/bug-vfprintf-nargs.c: New file.
70511         * stdio-common/Makefile (tests): Add nargs overflow test.
70513 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
70515         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70517 2012-03-03  Marek Polacek  <polacek@redhat.com>
70519         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
70520         * math/math_private.h: Likewise.
70521         * stdlib/tst-strtod.c: Likewise.
70522         * sysdeps/i386/i486/bits/atomic.h: Likewise.
70523         * sysdeps/x86_64/bits/atomic.h: Likewise.
70525 2012-03-02  David S. Miller  <davem@davemloft.net>
70527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
70528         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
70529         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
70530         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
70531         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
70532         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
70533         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
70534         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
70536 2012-03-02  Roland McGrath  <roland@hack.frob.com>
70538         [BZ #13792]
70539         * manual/examples/README: New file, says the example source files
70540         can be used under GPL>=2.
70541         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
70542         line containing just "*/".
70543         * manual/examples/add.c: Add copyright header (GPL>=2).
70544         * manual/examples/argp-ex1.c: Likewise.
70545         * manual/examples/argp-ex2.c: Likewise.
70546         * manual/examples/argp-ex3.c: Likewise.
70547         * manual/examples/argp-ex4.c: Likewise.
70548         * manual/examples/atexit.c: Likewise.
70549         * manual/examples/db.c: Likewise.
70550         * manual/examples/dir.c: Likewise.
70551         * manual/examples/dir2.c: Likewise.
70552         * manual/examples/execinfo.c: Likewise.
70553         * manual/examples/filecli.c: Likewise.
70554         * manual/examples/filesrv.c: Likewise.
70555         * manual/examples/fmtmsgexpl.c: Likewise.
70556         * manual/examples/genpass.c: Likewise.
70557         * manual/examples/inetcli.c: Likewise.
70558         * manual/examples/inetsrv.c: Likewise.
70559         * manual/examples/isockad.c: Likewise.
70560         * manual/examples/longopt.c: Likewise.
70561         * manual/examples/memopen.c: Likewise.
70562         * manual/examples/memstrm.c: Likewise.
70563         * manual/examples/mkfsock.c: Likewise.
70564         * manual/examples/mkisock.c: Likewise.
70565         * manual/examples/mygetpass.c: Likewise.
70566         * manual/examples/pipe.c: Likewise.
70567         * manual/examples/popen.c: Likewise.
70568         * manual/examples/rprintf.c: Likewise.
70569         * manual/examples/search.c: Likewise.
70570         * manual/examples/select.c: Likewise.
70571         * manual/examples/setjmp.c: Likewise.
70572         * manual/examples/sigh1.c: Likewise.
70573         * manual/examples/sigusr.c: Likewise.
70574         * manual/examples/stpcpy.c: Likewise.
70575         * manual/examples/strdupa.c: Likewise.
70576         * manual/examples/strftim.c: Likewise.
70577         * manual/examples/strncat.c: Likewise.
70578         * manual/examples/subopt.c: Likewise.
70579         * manual/examples/swapcontext.c: Likewise.
70580         * manual/examples/termios.c: Likewise.
70581         * manual/examples/testopt.c: Likewise.
70582         * manual/examples/testpass.c: Likewise.
70583         * manual/examples/timeval_subtract.c: Likewise.
70585         [BZ #13792]
70586         * manual/time.texi (Elapsed Time): Move timeval_subtract example
70587         function to ...
70588         * manual/timeval_subtract.c.texi: ... here, new file.
70590 2012-03-02  David S. Miller  <davem@davemloft.net>
70592         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
70594 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
70596         [BZ #3976]
70597         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
70598         (__sin): Save and restore rounding mode and use round-to-nearest
70599         for all computations.
70600         (__cos): Save and restore rounding mode and use round-to-nearest
70601         for all computations.
70602         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
70603         <fenv.h>.
70604         (tan): Save and restore rounding mode and use round-to-nearest for
70605         all computations.
70606         * math/libm-test.inc (cos_test_tonearest): New function.
70607         (cos_test_towardzero): Likewise.
70608         (cos_test_downward): Likewise.
70609         (cos_test_upward): Likewise.
70610         (sin_test_tonearest): Likewise.
70611         (sin_test_towardzero): Likewise.
70612         (sin_test_downward): Likewise.
70613         (sin_test_upward): Likewise.
70614         (tan_test_tonearest): Likewise.
70615         (tan_test_towardzero): Likewise.
70616         (tan_test_downward): Likewise.
70617         (tan_test_upward): Likewise.
70618         (main): Call the new functions.
70619         * sysdeps/i386/fpu/libm-test-ulps: Update.
70620         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70622         [BZ #10135]
70623         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
70624         small n, then large n, before computing and testing k+n.
70625         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
70626         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
70627         Likewise.
70628         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
70629         Likewise.
70630         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
70631         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
70632         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
70633         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
70634         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
70635         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
70636         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
70637         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
70638         * math/libm-test.inc (scalbn_test): Add more tests.
70639         (scalbln_test): Likewise.
70641         * manual/filesys.texi (mode_t): Describe constraints on size and
70642         signedness, not exact equivalence to a particular type.
70643         (ino_t): Likewise.
70644         (ino64_t): Likewise.
70645         (dev_t): Likewise.
70646         (nlink_t): Likewise.
70647         (blkcnt_t): Likewise.
70648         (blkcnt64_t): Likewise.
70649         * manual/llio.texi (off_t): Likewise.
70651         [BZ #3976]
70652         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
70653         (__ieee754_exp): Save and restore rounding mode and use
70654         round-to-nearest for all computations.
70655         * math/libm-test.inc (exp_test_tonearest): New function.
70656         (exp_test_towardzero): Likewise.
70657         (exp_test_downward): Likewise.
70658         (exp_test_upward): Likewise.
70659         (main): Call the new functions.
70660         * sysdeps/i386/fpu/libm-test-ulps: Update.
70661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70663 2012-03-01  Chris Demetriou  <cgd@google.com>
70665         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
70666         have predictable order.
70668 2012-03-01  David S. Miller  <davem@davemloft.net>
70670         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
70672         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
70673         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
70674         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
70675         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
70677         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
70678         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
70679         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
70680         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
70681         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
70682         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
70683         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
70684         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
70685         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
70687         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70689         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
70690         * sysdeps/sparc/fpu/libm-test-ulps: to here.
70691         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
70693         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
70694         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
70695         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
70696         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
70697         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
70698         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
70699         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
70700         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
70701         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
70702         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
70703         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
70704         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
70705         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
70706         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
70707         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
70708         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
70709         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
70710         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
70711         * sysdeps/sparc/elf/configure: Regenerated.
70713 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
70715         * configure.in (AS, LD): Require binutils 2.20 or later.
70716         * configure: Regenerated.
70717         * manual/install.texi (Tools for Compilation): Give binutils 2.20
70718         as required minimum version.
70719         * INSTALL: Regenerated.
70721         [BZ #2541]
70722         [BZ #4108]
70723         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
70724         before squaring exponent.
70725         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
70726         bottom long double and 27 bits of top long double before squaring
70727         exponent.
70728         * math/libm-test.inc (erfc_test): Add more tests.
70729         * sysdeps/i386/fpu/libm-test-ulps: Update.
70730         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
70731         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70733 2012-03-01  Kai Tietz  <ktietz@redhat.com>
70735         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
70736         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
70737         containing bit-fields.
70738         * soft-fp/extended.h (_FP_UNION_E): Likewise.
70739         * soft-fp/single.h (_FP_UNION_S): Likewise.
70740         * soft-fp/double.h (_FP_UNION_D): Likewise.
70742 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70744         [BZ #13786]
70745         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
70746         not include ../strcmp.S.
70747         [USE_AS_STRNCASECMP_L]: Likewise.
70748         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
70749         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
70750         * sysdeps/i386/i686/multiarch/strncase_l-c.c
70751         (__strncasecmp_l_ia32): Define as alias to
70752         __strncasecmp_l_nonascii.
70754         [BZ #5794]
70755         * math/libm-test.inc (expm1_test): Add test for bug 5794.
70756         * sysdeps/i386/fpu/libm-test-ulps: Update.
70757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70759         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
70760         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70762 2012-02-29  Jeff Law  <law@redhat.com>
70764         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
70765         out of bounds read.
70767 2012-02-29  Marek Polacek  <polacek@redhat.com>
70769         [BZ #13706]
70770         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
70771         * elf/Makefile: Add rules to run tst-unused-dep.out.
70773 2012-02-28  David S. Miller  <davem@davemloft.net>
70775         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
70776         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
70777         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
70778         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
70779         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
70780         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
70782 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
70784         * math/libm-test.inc (llround_test): Move one test from
70785         lround_test.  Use TEST_f_L in moved test.
70786         (lround_test): Move misplaced test to llround_test.  Add testcase
70787         from bug 2561.
70789 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
70791         * sysdeps/x86_64/fpu/e_expf.S: New file.
70792         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
70794 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
70796         [BZ #13637]
70797         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
70798         of remain_len that may cause incomplete multi-byte character and
70799         false match.
70800         * posix/bug-regex33.c: New file.
70801         * posix/Makefile (tests): Add bug-regex33.
70803 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
70805         * manual/macros.texi: New file.
70806         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
70807         * manual/libc.texinfo: Include macros.texi.
70808         * manual/creatute.texi: Likewise.
70809         * manual/install.texi: Likewise.
70810         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
70811         @glibcadj{} in references to the GNU C Library.
70812         * manual/charset.texi: Likewise.
70813         * manual/conf.texi: Likewise.
70814         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
70815         when not using those macros.
70816         * manual/creature.texi: Likewise.
70817         * manual/crypt.texi: Likewise.
70818         * manual/errno.texi: Likewise.
70819         * manual/filesys.texi: Likewise.
70820         * manual/header.texi: Likewise.
70821         * manual/install.texi: Likewise.
70822         * manual/intro.texi: Likewise.
70823         * manual/io.texi: Likewise.
70824         * manual/job.texi: Likewise.
70825         * manual/lang.texi: Likewise.
70826         * manual/libc.texiinfo: Likewise.
70827         * manual/llio.texi: Likewise.
70828         * manual/locale.texi: Likewise.
70829         * manual/maint.texi: Likewise.
70830         * manual/math.texi: Likewise.
70831         * manual/memory.texi: Likewise.
70832         * manual/message.texi: Likewise.
70833         * manual/nss.texi: Likewise.
70834         * manual/pattern.texi: Likewise.
70835         * manual/process.texi: Likewise.
70836         * manual/resource.texi: Likewise.
70837         * manual/search.texi: Likewise.
70838         * manual/setjmp.texi: Likewise.
70839         * manual/signal.texi: Likewise.
70840         * manual/socket.texi: Likewise.
70841         * manual/startup.texi: Likewise.
70842         * manual/stdio.texi: Likewise.
70843         * manual/string.texi: Likewise.
70844         * manual/sysinfo.texi: Likewise.
70845         * manual/syslog.texi: Likewise.
70846         * manual/terminal.texi: Likewise.
70847         * manual/time.texi: Likewise.
70848         * manual/users.texi: Likewise.
70849         * INSTALL: Regenerated.
70850         * NOTES: Regenerated.
70851         * sysdeps/gnu/errlist.c: Regenerated.
70853 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
70855         * include/dirent.h: Include <dirstream.h> before
70856         <dirent/dirent.h>.
70858 2012-02-28  David S. Miller  <davem@davemloft.net>
70860         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
70861         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
70862         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
70863         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
70865 2012-02-27  David S. Miller  <davem@davemloft.net>
70867         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
70868         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
70869         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
70870         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
70872         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
70873         frame pointer instead of stack pointer relative arg slot.
70874         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70875         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70876         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70878 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
70880         [BZ #3992]
70881         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
70883 2012-02-27  David S. Miller  <davem@davemloft.net>
70885         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
70886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
70887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
70888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
70889         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
70890         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
70891         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
70892         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
70894 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70896         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
70897         later.  Allow versions 5-9.
70898         * configure: Regenerated.
70899         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
70900         required minimum version and 4.6 as recommended version.  Do not
70901         mention bugs in GCC 2.7 and 2.8.
70902         * INSTALL: Regenerated.
70904 2012-02-27  David S. Miller  <davem@davemloft.net>
70906         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
70907         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
70908         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
70909         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
70910         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
70911         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
70912         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
70913         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
70915         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
70916         manipulate bits before adding and subtracting TWO112[sx].
70917         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70919 2012-02-27  Roland McGrath  <roland@hack.frob.com>
70921         [BZ #13775]
70922         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
70923         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
70924         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
70925         being in POSIX, because they are in 1003.1-2008.
70927         * rt/tst-aio.c: Include <fcntl.h>.
70928         * rt/tst-aio7.c: Likewise.
70929         * rt/tst-aio64.c: Likewise.
70931         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
70933 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
70935         * manual/install.texi (--with-headers): Describe headers as
70936         interface headers, not private headers.
70937         (Specific advice for GNU/Linux systems): Describe use of headers
70938         from "make headers_install", not private headers from older
70939         kernels.
70940         * INSTALL: Regenerated.
70941         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
70942         Change to 2.6.19.
70943         * sysdeps/unix/sysv/linux/configure: Regenerated.
70945         * manual/llio.texi (fclean): Remove documentation.
70947         * manual/Makefile (libc-texi-generated): New variable.  Include
70948         version.texi.
70949         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
70950         $(libc-texi-generated), not duplicated list of files.
70951         (version.texi, stamp-version): New rules.
70952         (realclean): Remove $(libc-texi-generated), not individual files
70953         from that list.  Do not remove dir-add.texinfo.
70954         * manual/libc.texinfo: Comment out uses of edition numbers and
70955         references to printed manual.  Remove last-updated dates.
70956         (EDITION): Comment out.
70957         (ISBN): Likewise.
70958         (VERSION, UPDATED): Remove.
70959         (version.texi): Include.
70961 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
70963         * sysdeps/posix/spawni.c: Include <signal.h>.
70964         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
70965         * sysdeps/pthread/aio_fsync.c: Likewise.
70967 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
70969         * conform/Makefile (tests): Run only when not cross-compiling and
70970         when fast-check is not defined.
70972         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
70973         * conform/data/limits.h-data: Fixes for POSIX2008.
70974         * conform/run-conformtest.sh: Run all tests.
70975         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
70976         headers.
70977         * include/bits/dlfcn.h: Likewise.
70978         * include/langinfo.h: Likewise.
70979         * include/monetary.h: Likewise.
70980         * include/sys/poll.h: Likewise.
70982         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
70983         for __USE_GNU.
70984         * posix/spawn.h: Define __need_sigset_t.
70985         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
70986         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
70987         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
70988         to get sigevent_t only.
70989         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
70990         only for __USE_GNU.
70991         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
70992         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
70993         process_vm_writev only for __USE_GNU.
70994         * termios/termios.h: Declare tcgetsid also for POSIX2008.
70996         * conform/Makefile: For now ignore errors from run-conformtest.
70997         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
70998         POSIX to avoid namespace pollution.  Don't prepend headers.
70999         * conform/data/aio.h-data: Fixes for POSIX testing.
71000         * conform/data/fcntl.h-data: Likewise.
71001         * conform/data/glob.h-data: Likewise.
71002         * conform/data/grp.h-data: Likewise.
71003         * conform/data/pthread.h-data: Likewise.
71004         * conform/data/pwd.h-data: Likewise.
71005         * conform/data/signal.h-data: Likewise.
71006         * conform/data/spawn.h-data: Likewise.
71007         * conform/data/stdio.h-data: Likewise.
71008         * conform/data/stdlib.h-data: Likewise.
71009         * conform/data/stropts.h-data: Likewise.
71010         * conform/data/sys/mman.h-data: Likewise.
71011         * conform/data/sys/stat.h-data: Likewise.
71012         * conform/data/sys/types.h-data: Likewise.
71013         * conform/data/sys/wait.h-data: Likewise.
71014         * conform/data/time.h-data: Likewise.
71015         * conform/data/unistd.h-data: Likewise.
71016         * conform/data/utime.h-data: Likewise.
71018         * io/sys/stat.h: fchmod was always in POSIX.
71019         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
71020         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
71021         * rt/aio.h: Define __need_timespec before including <time.h>.
71022         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
71023         struct.  Add forward declaration of pthread_attr_t and use it in
71024         sigevent.
71025         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
71026         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
71027         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
71028         always remove CLK_TCK definition.
71030 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
71032         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
71034 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
71036         * conform/run-conformtest.sh: New file.
71037         * conform/Makefile: Run run-conformtest for tests.
71038         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
71039         support.
71041         * conform/data/uchar.h-data: New file.
71042         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
71043         * conform/data/arpa/inet.h-data: Likewise.
71044         * conform/data/assert.h-data: Likewise.
71045         * conform/data/complex.h-data: Likewise.
71046         * conform/data/cpio.h-data: Likewise.
71047         * conform/data/ctype.h-data: Likewise.
71048         * conform/data/dirent.h-data: Likewise.
71049         * conform/data/dlfcn.h-data: Likewise.
71050         * conform/data/errno.h-data: Likewise.
71051         * conform/data/fcntl.h-data: Likewise.
71052         * conform/data/float.h-data: Likewise.
71053         * conform/data/fmtmsg.h-data: Likewise.
71054         * conform/data/fnmatch.h-data: Likewise.
71055         * conform/data/ftw.h-data: Likewise.
71056         * conform/data/glob.h-data: Likewise.
71057         * conform/data/grp.h-data: Likewise.
71058         * conform/data/iconv.h-data: Likewise.
71059         * conform/data/inttypes.h-data: Likewise.
71060         * conform/data/langinfo.h-data: Likewise.
71061         * conform/data/libgen.h-data: Likewise.
71062         * conform/data/limits.h-data: Likewise.
71063         * conform/data/locale.h-data: Likewise.
71064         * conform/data/math.h-data: Likewise.
71065         * conform/data/monetary.h-data: Likewise.
71066         * conform/data/mqueue.h-data: Likewise.
71067         * conform/data/ndbm.h-data: Likewise.
71068         * conform/data/net/if.h-data: Likewise.
71069         * conform/data/netdb.h-data: Likewise.
71070         * conform/data/netinet/in.h-data: Likewise.
71071         * conform/data/nl_types.h-data: Likewise.
71072         * conform/data/poll.h-data: Likewise.
71073         * conform/data/pthread.h-data: Likewise.
71074         * conform/data/pwd.h-data: Likewise.
71075         * conform/data/regex.h-data: Likewise.
71076         * conform/data/sched.h-data: Likewise.
71077         * conform/data/search.h-data: Likewise.
71078         * conform/data/semaphore.h-data: Likewise.
71079         * conform/data/setjmp.h-data: Likewise.
71080         * conform/data/signal.h-data: Likewise.
71081         * conform/data/spawn.h-data: Likewise.
71082         * conform/data/stdarg.h-data: Likewise.
71083         * conform/data/stdio.h-data: Likewise.
71084         * conform/data/stdlib.h-data: Likewise.
71085         * conform/data/string.h-data: Likewise.
71086         * conform/data/strings.h-data: Likewise.
71087         * conform/data/stropts.h-data: Likewise.
71088         * conform/data/sys/ipc.h-data: Likewise.
71089         * conform/data/sys/mman.h-data: Likewise.
71090         * conform/data/sys/msg.h-data: Likewise.
71091         * conform/data/sys/resource.h-data: Likewise.
71092         * conform/data/sys/select.h-data: Likewise.
71093         * conform/data/sys/sem.h-data: Likewise.
71094         * conform/data/sys/shm.h-data: Likewise.
71095         * conform/data/sys/socket.h-data: Likewise.
71096         * conform/data/sys/stat.h-data: Likewise.
71097         * conform/data/sys/statvfs.h-data: Likewise.
71098         * conform/data/sys/time.h-data: Likewise.
71099         * conform/data/sys/timeb.h-data: Likewise.
71100         * conform/data/sys/times.h-data: Likewise.
71101         * conform/data/sys/types.h-data: Likewise.
71102         * conform/data/sys/uio.h-data: Likewise.
71103         * conform/data/sys/un.h-data: Likewise.
71104         * conform/data/sys/utsname.h-data: Likewise.
71105         * conform/data/sys/wait.h-data: Likewise.
71106         * conform/data/syslog.h-data: Likewise.
71107         * conform/data/tar.h-data: Likewise.
71108         * conform/data/termios.h-data: Likewise.
71109         * conform/data/utime.h-data: Likewise.
71110         * conform/data/utmpx.h-data: Likewise.
71111         * conform/data/varargs.h-data: Likewise.
71112         * conform/data/wchar.h-data: Likewise.
71113         * conform/data/wctype.h-data: Likewise.
71114         * conform/data/wordexp.h-data: Likewise.
71116         * include/stropts.h: New file.
71117         * include/uchar.h: New file.
71118         * include/aio.h: Changes to allow conformtest.pl to use the headers.
71119         * include/assert.h: Likewise.
71120         * include/ctype.h: Likewise.
71121         * include/dirent.h: Likewise.
71122         * include/dlfcn.h: Likewise.
71123         * include/fcntl.h: Likewise.
71124         * include/fnmatch.h: Likewise.
71125         * include/glob.h: Likewise.
71126         * include/grp.h: Likewise.
71127         * include/libio.h: Likewise.
71128         * include/locale.h: Likewise.
71129         * include/math.h: Likewise.
71130         * include/net/if.h: Likewise.
71131         * include/netdb.h: Likewise.
71132         * include/netinet/in.h: Likewise.
71133         * include/pthread.h: Likewise.
71134         * include/pwd.h: Likewise.
71135         * include/regex.h: Likewise.
71136         * include/sched.h: Likewise.
71137         * include/search.h: Likewise.
71138         * include/setjmp.h: Likewise.
71139         * include/signal.h: Likewise.
71140         * include/stdio.h: Likewise.
71141         * include/stdlib.h: Likewise.
71142         * include/string.h: Likewise.
71143         * include/sys/cdefs.h: Likewise.
71144         * include/sys/mman.h: Likewise.
71145         * include/sys/msg.h: Likewise.
71146         * include/sys/resource.h: Likewise.
71147         * include/sys/select.h: Likewise.
71148         * include/sys/socket.h: Likewise.
71149         * include/sys/stat.h: Likewise.
71150         * include/sys/statvfs.h: Likewise.
71151         * include/sys/time.h: Likewise.
71152         * include/sys/times.h: Likewise.
71153         * include/sys/uio.h: Likewise.
71154         * include/sys/utsname.h: Likewise.
71155         * include/sys/wait.h: Likewise.
71156         * include/termios.h: Likewise.
71157         * include/time.h: Likewise.
71158         * include/ulimit.h: Likewise.
71159         * include/unistd.h: Likewise.
71160         * include/utime.h: Likewise.
71161         * include/wchar.h: Likewise.
71162         * include/wctype.h: Likewise.
71163         * include/wordexp.h: Likewise.
71165         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
71167         * time/time.h: TIME_UTC must be a macro.
71168         Make timespec_get available for ISO C11 only as well.
71170 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
71172         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
71173         Reported by Peng Haitao <penght@cn.fujitsu.com>.
71175 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71177         * configure.in: Use -o not -a in test for unsupported multi-arch.
71179 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71181         * manual/texinfo.tex: Update to version 2012-01-19.16.
71183 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
71185         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
71187 2012-02-24  Roland McGrath  <roland@hack.frob.com>
71189         [BZ #13738]
71190         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
71191         * manual/fdl-1.3.texi: New file.
71192         * manual/fdl-1.1.texi: File removed.
71194         [BZ #13738]
71195         * manual/libc.texinfo (FDL_VERSION): New @set.
71196         Use it for mention of FDL in cover text.
71197         (Documentation License): Use it in @include file name.
71199 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71200             Roland McGrath  <roland@hack.frob.com>
71202         [BZ #5461]
71203         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
71204         (not LONG_LONG_MAX and LONG_LONG_MIN.
71205         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
71206         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
71207         name.
71208         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
71210 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71212         [BZ #2547]
71213         [BZ #11365]
71214         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
71215         manipulate bits before adding and subtracting TWO23[sx].
71216         * math/libm-test.inc (nearbyint_test): Add more tests.
71218 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71220         [BZ #2548]
71221         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
71222         bits before adding and subtracting TWO23[sx].
71223         * math/libm-test.inc (rint_test): Add more tests.
71224         (rint_test_tonearest): Likewise.
71225         (rint_test_towardzero): Likewise.
71226         (rint_test_downward): Likewise.
71227         (rint_test_upward: Likewise.
71229 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71231         [BZ #10110]
71232         * include/stdc-predef.h: New file.  Extracted from features.h.
71233         * include/features.h: Include stdc-predef.h.
71234         * Makefile (headers): Add stdc-predef.h.
71235         * CONFORMANCE (Compiler limitations): Update.
71237 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
71239         * manual/libc.texinfo (VERSION, UPDATED): Revert.
71241 2012-02-21  David S. Miller  <davem@davemloft.net>
71243         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
71244         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71246 2012-02-20  David S. Miller  <davem@davemloft.net>
71248         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
71249         using a normal save/restore sequence, rather than allocating a
71250         dummy stack frame just to store a frame pointer and restore.
71251         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71253 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71255         * manual/install.texi: Fix stray word in line-wrapped comment.
71257 2012-02-20  David S. Miller  <davem@davemloft.net>
71259         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
71260         both binutils and gcc support GOTDATA.
71262         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
71263         "rd %pc" in the PIC register setup sequences.
71265         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
71266         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
71267         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
71268         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
71269         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
71270         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
71271         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
71272         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
71273         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
71274         (SYSCALL_ERROR_HANDLER): Likewise.
71275         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
71276         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
71277         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
71278         (SYSCALL_ERROR_HANDLER): Likewise.
71280         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
71281         (HAVE_GCC_GOTDATA): New.
71282         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
71283         relocation support in both binutils and gcc.
71284         * sysdeps/sparc/elf/configure: Regenerate.
71286         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
71287         * sysdeps/sparc/sparc32/elf/configure: Delete.
71288         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
71289         * sysdeps/sparc/sparc64/elf/configure: Delete.
71290         * sysdeps/sparc/elf/configure.in: New file.
71291         * sysdeps/sparc/elf/configure: Generate.
71293         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
71294         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
71295         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
71296         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
71297         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
71299 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71301         * manual/install.texi: Do not mention specific glibc version
71302         numbers.
71303         * manual/libc.texinfo (VERSION, UPDATED): Update.
71304         (@copying): Use @copyright{} and range of years.
71306 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
71308         [BZ #13695]
71309         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
71310         [crti.S not in sysdirs] (generated): Do not append.
71311         [crti.S not in sysdirs] (omit-deps): Likewise.
71312         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
71313         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
71314         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
71315         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
71316         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
71317         Likewise.
71318         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
71319         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
71320         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
71321         * csu/defs.awk: Remove file.
71322         * sysdeps/generic/initfini.c: Likewise.
71323         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
71324         variable.
71325         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
71326         Likewise.
71328 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71330         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
71331         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
71332         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
71333         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
71334         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
71335         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
71336         <bits/epoll.h>.
71337         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
71338         (__EPOLL_PACKED): Define to empty if not defined by
71339         <bits/epoll.h>.
71340         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
71341         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71342         bits/epoll.h.
71344 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71346         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
71347         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
71348         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
71349         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
71350         <bits/timerfd.h>.
71351         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
71352         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71353         bits/timerfd.h.
71355 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
71357         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
71358         in C locale.
71359         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71360         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
71361         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
71362         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71364 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
71366         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71367         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
71369 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
71371         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
71372         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
71373         defined.
71374         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
71375         Likewise.
71376         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
71377         entry for 2.16.
71379 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
71381         * math/w_acos.c: Use non-signaling floating-point comparisons.
71382         * math/w_acosf.c: Likewise.
71383         * math/w_acosh.c: Likewise.
71384         * math/w_acoshf.c: Likewise.
71385         * math/w_acoshl.c: Likewise.
71386         * math/w_acosl.c: Likewise.
71387         * math/w_asin.c: Likewise.
71388         * math/w_asinf.c: Likewise.
71389         * math/w_asinl.c: Likewise.
71390         * math/w_atanh.c: Likewise.
71391         * math/w_atanhf.c: Likewise.
71392         * math/w_atanhl.c: Likewise.
71393         * math/w_exp2.c: Likewise.
71394         * math/w_exp2f.c: Likewise.
71395         * math/w_exp2l.c: Likewise.
71396         * math/w_j0.c: Likewise.
71397         * math/w_j0f.c: Likewise.
71398         * math/w_j0l.c: Likewise.
71399         * math/w_j1.c: Likewise.
71400         * math/w_j1f.c: Likewise.
71401         * math/w_j1l.c: Likewise.
71402         * math/w_jn.c: Likewise.
71403         * math/w_jnf.c: Likewise.
71404         * math/w_log.c: Likewise.
71405         * math/w_log10.c: Likewise.
71406         * math/w_log10f.c: Likewise.
71407         * math/w_log10l.c: Likewise.
71408         * math/w_log2.c: Likewise.
71409         * math/w_log2f.c: Likewise.
71410         * math/w_log2l.c: Likewise.
71411         * math/w_logf.c: Likewise.
71412         * math/w_logl.c: Likewise.
71413         * math/w_sqrt.c: Likewise.
71414         * math/w_sqrtf.c: Likewise.
71415         * math/w_sqrtl.c: Likewise.
71416         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
71417         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
71418         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
71419         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
71420         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
71422 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71424         [BZ #9739]
71425         * manual/string.texi (strnlen): Use correct parameter name in
71426         equivalent expression.
71428 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71430         [BZ #11174]
71431         * manual/users.texi (seteuid): Consistently use neweuid for
71432         argument name.
71434 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
71436         [BZ #13704]
71437         * manual/nss.texi (Services in the NSS configuration): Correct
71438         list of services in example configuration file.
71440 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
71442         [BZ #11322]
71443         * manual/arith.texi: Remove statements about negative zero
71444         behaving identically to zero.
71446 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71448         [BZ #5993]
71449         * manual/install.texi: Do not document upgrading from libc5.
71451 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
71453         [BZ #4596]
71454         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
71456 2012-02-18  David S. Miller  <davem@davemloft.net>
71458         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
71459         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
71460         %o7 across the call.
71461         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
71462         instead.
71463         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
71464         SETUP_PIC_REG_LEAF.
71465         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
71466         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
71467         * sysdeps/sparc/crtn.S: Likewise.
71469 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
71471         * aout/Makefile: Remove.
71473 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
71475         [BZ #13058]
71476         * manual/examples/argp-ex1.c (main): Format definition in GNU
71477         style.
71478         * manual/examples/argp-ex2.c (main): Likewise.
71479         * manual/examples/argp-ex3.c (main): Likewise.
71480         * manual/examples/argp-ex4.c (main): Likewise.
71481         * manual/examples/longopt.c (main): Use new-style prototype
71482         definition.
71483         * manual/examples/strncat.c (main): Specify return type and use
71484         (void) for arguments.
71485         * manual/examples/subopt.c (main): Use char **argv argument.
71487 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71489         [BZ #5077]
71490         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
71491         rounding modes.
71493 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
71495         [BZ #6907]
71496         * manual/string.texi (strchr): Change when strchrnul is
71497         recommended.
71499 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
71501         [BZ #174]
71502         * manual/locale.texi (setlocale): Document LOCPATH.
71504 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71506         [BZ #10210]
71507         * manual/process.texi (execle): Move @dots{} before last argument.
71509 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
71511         [BZ #12047]
71512         * manual/charset.texi (Generic Charset Conversion): Fix typo
71513         (LC_TYPE -> LC_CTYPE).
71515 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
71517         [BZ #5805]
71518         * manual/arith.texi (scalbn): Use @var{} on parameter names.
71519         (scalbnf): Likewise.
71520         (scalbnl): Likewise.
71521         (scalbln): Likewise.
71522         (scalblnf): Likewise.
71523         (scalblnl): Likewise.
71524         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
71525         (vwarnx): Likewise.
71526         (verr): Likewise.
71527         (verrx): Likewise.
71528         * manual/filesys.texi (telldir): Use braces around return type.
71529         * manual/llio.texi (mmap): Add space after comma.
71530         (mmap64): Likewise.
71531         * manual/math.texi (jn): Use @var{} on parameter names.
71532         (jnf): Likewise.
71533         (jnl): Likewise.
71534         (yn): Likewise.
71535         (ynf): Likewise.
71536         (ynl): Likewise.
71537         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
71538         line.
71539         * manual/resource.texi (ulimit): Use @dots{} instead of literal
71540         "...".
71541         (sched_get_priority_min): Remove semicolon on @deftypefun line.
71542         (sched_get_priority_max): Likewise.
71543         * manual/signal.texi (sigvec): Add space after comma.
71544         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
71545         names.
71546         (if_indextoname): Likewise.
71547         (if_freenameindex): Likewise.
71548         (sendto): Use ',' instead of '.' in prototype.
71549         * manual/startup.texi (syscall): Use @dots{} instead of literal
71550         "...".
71551         * manual/stdio.texi (__fpending): Separate initial words of
71552         paragraph from @deftypefun line.
71553         * manual/syslog.texi (syslog): Use @dots{} instead of literal
71554         "...".
71555         (vsyslog): Use @var{} on parameter names.
71556         * manual/terminal.texi (stty): Use @var{} on parameter names.
71557         * manual/users.texi (getutmp): Use @var{} on parameter names.
71558         (getutmpx): Likewise.
71560 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71562         [BZ #6884]
71563         * manual/stdio.texi (fopen): Fix typos in description of
71564         ",ccs=STRING".
71566 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
71568         [BZ #4026]
71569         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
71570         get clock_id definition.
71572 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
71574         [BZ #4822]
71575         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
71576         (madvise): Cast every argument to void on its own.
71578 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71580         [BZ #9902]
71581         * manual/startup.texi (Exit Status): Fix typo.
71583 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
71585         [BZ #10140]
71586         * manual/examples/argp-ex1.c: Include <stdlib.h>.
71587         * manual/examples/argp-ex2.c: Likewise.
71588         * manual/examples/argp-ex3.c: Likewise.
71590 2012-02-16  Richard Henderson  <rth@redhat.com>
71592         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
71593         * sysdeps/s390/s390-32/initfini.c: Remove.
71594         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
71595         * sysdeps/s390/s390-64/initfini.c: Remove.
71597 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
71599         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
71600         compiler output for sysdeps/generic/initfini.c.
71601         * sysdeps/sh/elf/initfini.c: Remove file.
71603 2012-02-16  David S. Miller  <davem@davemloft.net>
71605         [BZ #11494]
71606         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
71608         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
71609         * sysdeps/sparc/crti.S: New file.
71610         * sysdeps/sparc/crtn.S: New file.
71611         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
71612         * sysdeps/sparc/sparc64/Makefile: Likewise.
71614 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
71616         [BZ #3335]
71617         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
71619 2012-02-15  Roland McGrath  <roland@hack.frob.com>
71621         [BZ #4822]
71622         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
71624         * mach/devstream.c (cookie_io_functions_t): Macro removed.
71625         (write, read, close): Likewise.
71626         Patch by Aurelien Jarno <aurelien@aurel32.net>.
71628 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
71630         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
71631         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
71632         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
71633         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
71634         <bits/signalfd.h>.
71635         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
71636         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71637         bits/signalfd.h.
71639 2012-02-14  Marek Polacek  <polacek@redhat.com>
71641         * sysdeps/x86_64/crti.S: New file.
71642         * sysdeps/x86_64/crtn.S: New file.
71643         * sysdeps/x86_64/elf/initfini.c: Remove file.
71645 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71647         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
71648         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
71649         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
71650         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
71651         <bits/inotify.h>.
71652         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
71653         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71654         bits/inotify.h.
71656 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
71658         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
71659         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
71660         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
71661         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
71662         <bits/eventfd.h>.
71663         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
71664         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
71665         bits/eventfd.h.
71667 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
71669         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
71670         __feraiseexcept instead of feraiseexcept.
71672         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
71673         nanosleep invocations.
71674         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
71675         strings, and add error checking for a nanosleep invocations.
71677 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
71679         Replace FSF snail mail address with URLs, as per GNU coding standards.
71680         Most of the snail mail addresses were wrong anyway, and omitting
71681         them makes the source code easier to maintain.  Almost all of the
71682         changes are to license notices and to locale LC_IDENTIFICATION
71683         addresses, except for this one:
71684         * manual/libc.texinfo: In "Published by", give the FSF's URL,
71685         not its snail mail address.
71687 2012-02-09  Richard Henderson  <rth@twiddle.net>
71689         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
71690         of kernel-features.h.
71692         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
71694 2012-02-08  Marek Polacek  <polacek@redhat.com>
71696         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
71697         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
71698         * sysdeps/gnu/_G_config.h: Likewise.
71699         * sysdeps/generic/_G_config.h: Likewise.
71701 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
71703         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
71704         tests.
71705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71707         * sysdeps/powerpc/powerpc32/crti.S: New file.
71708         * sysdeps/powerpc/powerpc32/crtn.S: New file.
71709         * sysdeps/powerpc/powerpc64/crti.S: New file.
71710         * sysdeps/powerpc/powerpc64/crtn.S: New file.
71712         * Makeconfig (have-initfini): Don't set.
71713         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
71714         * configure.in (nopic_initfini): Don't substitute.
71715         * config.h.in (HAVE_INITFINI): Don't #undef.
71716         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
71717         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
71719 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
71721         Support crti.S and crtn.S provided directly by architectures.
71722         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
71723         [crti.S in sysdirs] (omit-deps): Likewise.
71724         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
71725         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
71726         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
71727         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
71728         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
71729         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
71730         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
71731         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
71732         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
71733         compiler output for sysdeps/generic/initfini.c.
71734         * sysdeps/i386/elf/Makefile: Remove file.
71735         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
71737 2012-02-07  Marek Polacek  <polacek@redhat.com>
71739         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
71740         * sysdeps/gnu/_G_config.h: Likewise.
71741         * sysdeps/mach/hurd/_G_config.h: Likewise.
71743 2012-02-07  Marek Polacek  <polacek@redhat.com>
71745         * math/Makefile (tests): Add tst-CMPLX2.
71746         * math/tst-CMPLX2.c: New file.
71748 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
71750         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
71752         * math/libm-test.inc (jn_test): Add missing L suffix.
71754 2012-02-06  Marek Polacek  <polacek@redhat.com>
71756         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
71757         * sysdeps/i386/fpu/e_powf.S: Likewise.
71758         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
71759         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
71760         * sysdeps/i386/fpu/e_acosh.S: Likewise.
71761         * sysdeps/i386/fpu/e_pow.S: Likewise.
71762         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
71763         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
71764         * sysdeps/i386/fpu/s_expm1.S: Likewise.
71765         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
71766         * sysdeps/i386/fpu/e_log2.S: Likewise.
71767         * sysdeps/i386/fpu/e_log2l.S: Likewise.
71768         * sysdeps/i386/fpu/e_scalb.S: Likewise.
71769         * sysdeps/i386/fpu/e_powl.S: Likewise.
71770         * sysdeps/i386/fpu/s_log1p.S: Likewise.
71771         * sysdeps/i386/fpu/e_log10f.S: Likewise.
71772         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
71773         * sysdeps/i386/fpu/e_logl.S: Likewise.
71774         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
71775         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
71776         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
71777         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
71778         * sysdeps/i386/fpu/e_log2f.S: Likewise.
71779         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
71780         * sysdeps/i386/fpu/e_log.S: Likewise.
71781         * sysdeps/i386/fpu/s_cexp.S: Likewise.
71782         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
71783         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
71784         * sysdeps/i386/fpu/e_logf.S: Likewise.
71785         * sysdeps/i386/fpu/e_log10l.S: Likewise.
71786         * sysdeps/i386/fpu/e_atanh.S: Likewise.
71787         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
71788         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
71789         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
71790         * sysdeps/i386/fpu/e_log10.S: Likewise.
71791         * sysdeps/i386/fpu/s_frexp.S: Likewise.
71792         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
71793         * sysdeps/i386/fpu/s_asinh.S: Likewise.
71794         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
71795         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
71796         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
71797         * sysdeps/i386/asm-syntax.h: Likewise.
71798         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
71799         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
71800         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
71801         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
71802         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
71803         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
71804         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
71805         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
71806         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
71807         * sysdeps/powerpc/sysdep.h: Likewise.
71808         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
71809         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
71811 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71813         [BZ #411]
71814         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
71816 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
71818         * sysdeps/i386/sysdep.h: Include <features.h>.
71819         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
71820         version.
71822 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
71824         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
71825         Define.
71826         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
71827         LOAD_PIC_REG_STR.
71829 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71831         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
71832         (SETUP_PIC_REG): Use GET_PC_THUNK.
71833         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
71834         macro.
71836 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71838         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
71839         for non-PIC compilation.
71840         (SETUP_PIC_REG): Add .p2align directive.
71841         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
71842         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
71843         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
71844         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
71845         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
71846         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
71847         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
71848         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
71849         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
71850         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
71851         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
71852         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
71853         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
71854         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
71855         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
71856         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
71857         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
71858         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
71859         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
71860         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
71861         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
71862         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
71863         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
71864         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
71865         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
71866         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
71867         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
71868         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
71869         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
71870         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
71871         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
71872         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
71873         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
71874         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
71875         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
71876         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
71877         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
71878         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
71879         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
71880         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
71881         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
71883 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
71885         * math/tst-CMPLX.c: Include <stdio.h>.
71887 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
71889         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
71890         float.
71891         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
71892         * sysdeps/sparc/bits/mathdef.h: Likewise.
71894 2012-01-31  Marek Polacek  <polacek@redhat.com>
71896         * libio/libio.h: Don't define _PARAMS.
71897         * locale/programs/config.h: Don't define PARAMS.
71898         * stdlib/strtol_l.c: Likewise.
71899         (__strtol_l): Remove PARAMS from the prototype.
71901 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
71903         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
71904         names.  Just use the correct names.  Remove unnecessary wrapper
71905         functions.
71906         * malloc/arena.c: Likewise.
71907         * malloc/hooks.c: Likewise.
71909         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
71910         ARENA_TEST says not to.  Simplify test for creation of a new arena.
71911         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
71913 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
71915         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
71916         into tail calls.
71917         (update_get_addr): New function.
71918         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
71919         GET_ADDR_MODULE parameter.
71921 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71923         * crypt/cert.c: Remove __STDC__ conditionals.
71924         * crypt/crypt-entry.c: Likewise.
71925         * crypt/crypt_util.c: Likewise.
71926         * libio/filedoalloc.c: Likewise.
71927         * libio/fileops.c: Likewise.
71928         * libio/genops.c: Likewise.
71929         * libio/iofclose.c: Likewise.
71930         * libio/iofdopen.c: Likewise.
71931         * libio/iofopen.c: Likewise.
71932         * libio/iofopen64.c: Likewise.
71933         * libio/iogetdelim.c: Likewise.
71934         * libio/iopopen.c: Likewise.
71935         * libio/obprintf.c: Likewise.
71936         * libio/oldfileops.c: Likewise.
71937         * libio/oldiofclose.c: Likewise.
71938         * libio/oldiofdopen.c: Likewise.
71939         * libio/oldiofopen.c: Likewise.
71940         * libio/oldiopopen.c: Likewise.
71941         * libio/wfiledoalloc.c: Likewise.
71942         * libio/wgenops.c: Likewise.
71943         * locale/programs/xmalloc.c: Likewise.
71944         * misc/syslog.c: Likewise.
71945         * stdio-common/xbug.c: Likewise.
71946         * string/memchr.c: Likewise.
71947         * string/memcmp.c: Likewise.
71948         * string/memrchr.c: Likewise.
71949         * string/rawmemchr.c: Likewise.
71950         * sysdeps/posix/getcwd.c: Likewise.
71951         * time/strftime_l.c: Likewise.
71953 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
71955         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
71956         * config.make.in (config-cflags-sse2avx): Define.
71957         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
71958         Fix typo.
71960 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
71962         * scripts/config.guess: Update from upstream config git repository.
71963         * scripts/config.sub: Likewise.
71965 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
71967         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
71968         (EM_NUM): Update.
71969         (R_TILEPRO_*, R_TILEGX_*): New macros.
71971         * scripts/firstversions.awk: Fix bug in version range handling.
71973         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
71975         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
71977         * include/sys/epoll.h: New file.
71978         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
71979         libc_hidden_def.
71981 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
71983         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
71984         Avoid unnecessary __WORDSIZE == 64 test.
71985         (fmaxf): Use VEX format if possible.
71986         (fmax): Likewise.
71987         (fminf): Likewise.
71988         (fmin): Likewise.
71990         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
71991         * math/math_private.h: Remove libc_fegetround* and
71992         libc_fesetround*.
71993         * sysdeps/i386/configure.in: Check for -msse2avx.
71994         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
71995         also if SSE2AVX is defined.
71996         Remove libc_fegetround* and libc_fesetround*.
71997         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
71998         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
71999         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
72000         of HAS_YMM_USABLE.
72001         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72002         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72003         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72004         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72005         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72007         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
72009 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72011         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
72012         size is not set.
72013         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
72015 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
72017         [BZ #13618]
72018         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
72019         relocation.
72020         * Makeconfig (libm): Define.
72021         * elf/Makefile: Add rules to build and run tst-relsort1.
72022         * elf/tst-relsort1.c: New file.
72023         * elf/tst-relsort1mod1.c: New file.
72024         * elf/tst-relsort1mod2.c: New file.
72026 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
72028         * math/s_ldexp.c: Remove __STDC__ conditionals.
72029         * math/s_ldexpf.c: Likewise.
72030         * math/s_ldexpl.c: Likewise.
72031         * math/s_nextafter.c: Likewise.
72032         * math/s_nexttowardf.c: Likewise.
72033         * math/s_significand.c: Likewise.
72034         * math/s_significandf.c: Likewise.
72035         * math/s_significandl.c: Likewise.
72036         * math/w_jnl.c: Likewise.
72037         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
72038         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
72039         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
72040         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
72041         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
72042         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
72043         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
72044         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
72045         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
72046         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
72047         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
72048         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
72049         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
72050         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
72051         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
72052         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
72053         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
72054         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
72055         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
72056         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
72057         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
72058         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
72059         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
72060         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
72061         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
72062         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
72063         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
72064         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
72065         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
72066         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
72067         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
72068         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
72069         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
72070         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
72071         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
72072         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
72073         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
72074         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
72075         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
72076         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
72077         * sysdeps/ieee754/k_standard.c: Likewise.
72078         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
72079         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
72080         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
72081         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
72082         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
72083         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
72084         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
72085         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
72086         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
72087         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
72088         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
72089         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
72090         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
72091         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
72092         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
72093         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
72094         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
72095         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
72096         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
72097         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
72098         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
72099         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
72100         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
72101         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
72102         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
72103         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
72104         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
72105         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
72106         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
72107         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
72108         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
72109         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
72110         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
72111         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
72112         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
72113         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
72114         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
72115         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
72116         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
72117         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
72118         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
72119         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
72120         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
72121         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
72122         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
72123         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
72124         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
72125         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
72126         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
72127         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
72128         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
72129         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
72130         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
72131         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
72132         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
72133         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
72134         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
72135         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
72136         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
72137         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
72138         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
72139         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
72140         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
72141         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
72142         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
72143         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
72144         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
72145         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
72146         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
72147         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
72148         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
72149         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
72150         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
72151         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
72152         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
72153         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
72154         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
72155         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
72156         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
72157         * sysdeps/ieee754/s_matherr.c: Likewise.
72158         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
72159         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
72160         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
72161         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
72163 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72165         * crypt/md5.h: Remove __STDC__ conditionals.
72166         * libio/libioP.h: Likewise.
72167         * locale/programs/config.h: Likewise.
72168         * sysdeps/generic/sysdep.h: Likewise.
72169         * sysdeps/i386/asm-syntax.h: Likewise.
72170         * sysdeps/s390/asm-syntax.h: Likewise.
72171         * sysdeps/unix/sysdep.h: Likewise.
72172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
72173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
72175 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
72177         * libio/libio.h: Remove __STDC__ conditionals.
72178         * malloc/obstack.h: Likewise.
72179         * math/complex.h: Likewise.
72180         * math/math.h: Likewise.
72181         * sysdeps/generic/_G_config.h: Likewise.
72182         * sysdeps/gnu/_G_config.h: Likewise.
72183         * sysdeps/mach/hurd/_G_config.h: Likewise.
72184         * sysdeps/powerpc/bits/mathdef.h: Likewise.
72185         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
72186         * sysdeps/sparc/bits/mathdef.h: Likewise.
72188 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
72190         [BZ #13583]
72191         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
72192         Clean up HAS_* macros.
72193         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
72194         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
72195         possible.
72196         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
72197         HAS_AVX.
72198         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
72199         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
72200         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
72201         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
72202         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
72204 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
72206         * elf/tst-unique3.cc (gets): Remove declaration.
72207         * elf/tst-unique3lib.cc (gets): Likewise.
72208         * elf/tst-unique3lib2.cc (gets): Likewise.
72209         * elf/tst-unique4.cc (gets): Likewise.
72211 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
72213         * include/stdio.h: Add C++ protection.  Add gets declarations and
72214         definitions.
72215         * debug/tst-chk1.c: Don't declare gets here.
72216         * stdio-common/tst-gets.c: Likewise.
72218 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72220         * posix/glob: Remove directory.
72222 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
72224         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
72226 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
72228         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
72229         of the non-standard EPFNOSUPPORT.
72231 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
72233         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
72234         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
72235         ANYWHERE set to 1 only on KERN_NO_SPACE error.
72237 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
72239         * wcsmbs/uchar.h: Test __STDC_VERSION__.
72241 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
72243         * nscd/aicache.c (addhstaiX): Do not cache negative results of
72244         transient errors.
72245         * nscd/grpcache.c (cache_addgr): Likewise.
72246         * nscd/hstcache.c (cache_addhst): Likewise.
72247         * nscd/initgrcache.c (addinitgroupsX): Likewise.
72248         * nscd/pwdcache.c (cache_addpw): Likewise.
72249         * nscd/servicescache.c (cache_addserv): Likewise.
72251 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
72253         * malloc/malloc.c: Various cleanups.
72254         * malloc/hooks.c: Likewise.
72256         * stdlib/Makefile (tests): Add bug-fmtmsg1.
72257         * stdlib/bug-fmtmsg1.c: New file.
72259         * stdlib/fmtmsg.c (init): Add missing unlock.
72260         Patch by Peng Haitao <penght@cn.fujitsu.com>.
72262 2012-01-12  Marek Polacek  <polacek@redhat.com>
72264         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
72265         and _GNU_SOURCE.
72267 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
72269         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
72270         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
72271         macro to ensure uniqueness of label name.
72272         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
72273         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
72275 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
72277         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
72279         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
72280         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
72281         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
72282         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
72284 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
72286         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
72288         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
72289         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
72290         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
72292         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
72294         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
72295         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
72296         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
72297         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
72299         * math/bits/math-finite.h: Add ldexp support.
72301 2012-01-10  Marek Polacek  <polacek@redhat.com>
72303         * locale/programs/localedef.h (show_archive_content): Add noreturn
72304         attribute.
72306 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
72308         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
72310 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72312         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
72314         * io/Makefile (headers): Add bits/poll2.h.
72316 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
72318         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
72319         typo #include statement.
72321 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72323         * include/sys/cdefs.h: Define __attribute_alloc_size.
72324         * catgets/gencat.c: Add alloc_size attribute and apply consistently
72325         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
72326         * elf/pldd.c: Likewise.
72327         * iconv/iconv_charmap.c: Likewise.
72328         * iconv/iconvconfig.c: Likewise.
72329         * iconv/strtab.c: Likewise.
72330         * locale/programs/locale.c: Likewise.
72331         * locale/programs/localedef.h: Likewise.
72332         * locale/programs/simple-hash.c: Likewise.
72333         * nscd/nscd.h: Likewise.
72334         * nss/makedb.c: Likewise.
72335         * sysdeps/generic/ldconfig.h: Likewise.
72336         * locale/programs/localedef.c: Remove xmalloc prototype.
72337         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
72339 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
72341         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
72342         appropriate.
72344 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
72346         * math/Makefile (tests): Add tst-CMPLX.
72347         * math/tst-CMPLX.c: New file.
72349         * math/complex.h (CMPLXL): Fix typo.
72351         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
72352         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
72353         GLIBC_2.16.
72354         * debug/tst-chk1.c: Add poll and ppoll tests.
72355         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
72356         * include/sys/poll.h: Add hidden proto for ppoll.
72357         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
72358         * sysdeps/mach/hurd/ppoll.c: Likewise.
72359         * io/ppoll.c: Likewise.
72360         * debug/poll_chk.c: New file.
72361         * debug/ppoll_chk.c: New file.
72362         * include/bits/poll2.h: New file.
72363         * io/bits/poll2.h: New file.
72365         [BZ #1350]
72366         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
72368         * configure.in: static is always set to yes.  Remove.
72369         * config.make.in: Don't set build-static.
72370         * Makeconfig: Remove use of build-static.
72371         * dlfcn/Makefile: Likewise.
72372         * elf/Makefile: Likewise.
72373         * math/Makefile: Likewise.
72374         * misc/Makefile: Likewise.
72375         * nptl/Makefile: Likewise.
72376         * sysdeps/mach/hurd/Makefile: Likewise.
72378         * configure.in: PWD_P is not used anymore.
72379         * config.make.in: Remove PWD_P entry.
72381         * configure.in: Remove last remnants of RANLIB.
72382         No need to check for signed size_t anymore.
72383         Don't set libc_commonpagesize and libc_relro_required here for Alpha
72384         and IA-64.
72385         Remove __builtin_expect test because we require at least gcc 3.4.
72386         * aclocal.m4: Likewise.
72388         * wcsmbs/mbrtoc16.c: Implement using towc function.
72389         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
72390         * wcsmbs/wcsmbsload.c: Likewise.
72391         * iconv/gconv_simple.c: Likewise.
72392         * iconv/gconv_int.h: Likewise.
72393         * iconv/gconv_builtin.h: Likewise.
72394         * iconv/iconv_prog.c: Remove CHAR16 handling.
72396         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
72398         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
72400         * configure.in: Remove --with-elf and --enable-bounded options.
72401         Dont set base_machine for ia64.  More non-ELF conditions removed.
72402         Remove testing and setting of leading underscore information.
72403         * config.make.in (build-bounded): Set to no.
72404         * config.h.in: Remove NO_UNDERSCORES entry.
72405         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
72406         them.
72407         * csu/start.c: Remove !NO_UNDERSCORE code.
72408         * locale/localeinfo.h: Likewise.
72409         * sysdeps/generic/machine-gmon.h: Likewise.
72410         * sysdeps/generic/sysdep.h: Likewise.
72411         * sysdeps/i386/sysdep.h: Likewise.
72412         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72413         * sysdeps/mach/sysdep.h: Likewise.
72414         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72415         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72416         * sysdeps/sh/sysdep.h: Likewise.
72417         * sysdeps/sparc/sparc32/alloca.S: Likewise.
72418         * sysdeps/unix/i386/sysdep.S: Likewise.
72419         * sysdeps/unix/sparc/start.c: Likewise.
72420         * sysdeps/unix/sparc/sysdep.S: Likewise.
72421         * sysdeps/unix/sparc/sysdep.h: Likewise.
72422         * sysdeps/unix/start.c: Likewise.
72423         * sysdeps/unix/x86_64/sysdep.S: Likewise.
72424         * sysdeps/x86_64/sysdep.h: Likewise.
72426 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
72428         [BZ #13553]
72429         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
72430         for non-gcc.
72431         * argp/argp-fmtstream.h: Use const instead __const.
72432         * argp/argp.h: Likewise.
72433         * assert/assert.h: Likewise.
72434         * bits/fenv.h: Likewise.
72435         * bits/sched.h: Likewise.
72436         * bits/sigset.h: Likewise.
72437         * bits/sigthread.h: Likewise.
72438         * catgets/nl_types.h: Likewise.
72439         * conform/data/pthread.h-data: Likewise.
72440         * crypt/crypt-private.h: Likewise.
72441         * crypt/crypt.h: Likewise.
72442         * crypt/crypt_util.c: Likewise.
72443         * ctype/ctype.h: Likewise.
72444         * debug/execinfo.h: Likewise.
72445         * debug/mbsnrtowcs_chk.c: Likewise.
72446         * debug/mbsrtowcs_chk.c: Likewise.
72447         * debug/wcsnrtombs_chk.c: Likewise.
72448         * debug/wcsrtombs_chk.c: Likewise.
72449         * debug/wcstombs_chk.c: Likewise.
72450         * dirent/dirent.h: Likewise.
72451         * dlfcn/dlfcn.h: Likewise.
72452         * elf/neededtest4.c: Likewise.
72453         * grp/grp.h: Likewise.
72454         * gshadow/gshadow.h: Likewise.
72455         * iconv/gconv.h: Likewise.
72456         * iconv/gconv_int.h: Likewise.
72457         * iconv/gconv_simple.c: Likewise.
72458         * iconv/iconv.h: Likewise.
72459         * iconv/loop.c: Likewise.
72460         * iconv/skeleton.c: Likewise.
72461         * include/aio.h: Likewise.
72462         * include/aliases.h: Likewise.
72463         * include/argz.h: Likewise.
72464         * include/arpa/inet.h: Likewise.
72465         * include/assert.h: Likewise.
72466         * include/dirent.h: Likewise.
72467         * include/dlfcn.h: Likewise.
72468         * include/execinfo.h: Likewise.
72469         * include/fcntl.h: Likewise.
72470         * include/fenv.h: Likewise.
72471         * include/glob.h: Likewise.
72472         * include/grp.h: Likewise.
72473         * include/libintl.h: Likewise.
72474         * include/mntent.h: Likewise.
72475         * include/netdb.h: Likewise.
72476         * include/pwd.h: Likewise.
72477         * include/rpc/netdb.h: Likewise.
72478         * include/sched.h: Likewise.
72479         * include/search.h: Likewise.
72480         * include/shadow.h: Likewise.
72481         * include/signal.h: Likewise.
72482         * include/stdio.h: Likewise.
72483         * include/stdlib.h: Likewise.
72484         * include/string.h: Likewise.
72485         * include/sys/socket.h: Likewise.
72486         * include/sys/stat.h: Likewise.
72487         * include/sys/statfs.h: Likewise.
72488         * include/sys/statvfs.h: Likewise.
72489         * include/sys/syslog.h: Likewise.
72490         * include/sys/time.h: Likewise.
72491         * include/sys/uio.h: Likewise.
72492         * include/time.h: Likewise.
72493         * include/unistd.h: Likewise.
72494         * include/utmp.h: Likewise.
72495         * include/wchar.h: Likewise.
72496         * include/wctype.h: Likewise.
72497         * inet/aliases.h: Likewise.
72498         * inet/arpa/inet.h: Likewise.
72499         * inet/netinet/ether.h: Likewise.
72500         * inet/netinet/in.h: Likewise.
72501         * intl/libintl.h: Likewise.
72502         * io/bits/fcntl2.h: Likewise.
72503         * io/fcntl.h: Likewise.
72504         * io/ftw.h: Likewise.
72505         * io/sys/poll.h: Likewise.
72506         * io/sys/stat.h: Likewise.
72507         * io/sys/statfs.h: Likewise.
72508         * io/sys/statvfs.h: Likewise.
72509         * io/utime.h: Likewise.
72510         * libio/bits/stdio.h: Likewise.
72511         * libio/bits/stdio2.h: Likewise.
72512         * libio/libio.h: Likewise.
72513         * libio/libioP.h: Likewise.
72514         * libio/stdio.h: Likewise.
72515         * locale/lc-ctype.c: Likewise.
72516         * locale/locale.h: Likewise.
72517         * login/utmp.h: Likewise.
72518         * malloc/arena.c: Likewise.
72519         * malloc/malloc.c: Likewise.
72520         * malloc/malloc.h: Likewise.
72521         * malloc/mcheck.c: Likewise.
72522         * malloc/mtrace.c: Likewise.
72523         * math/bits/mathcalls.h: Likewise.
72524         * math/fenv.h: Likewise.
72525         * math/math_private.h: Likewise.
72526         * misc/bits/error.h: Likewise.
72527         * misc/bits/syslog.h: Likewise.
72528         * misc/err.h: Likewise.
72529         * misc/error.h: Likewise.
72530         * misc/fstab.h: Likewise.
72531         * misc/mntent.h: Likewise.
72532         * misc/regexp.h: Likewise.
72533         * misc/search.h: Likewise.
72534         * misc/sgtty.h: Likewise.
72535         * misc/sys/mman.h: Likewise.
72536         * misc/sys/syslog.h: Likewise.
72537         * misc/sys/uio.h: Likewise.
72538         * misc/sys/xattr.h: Likewise.
72539         * misc/ttyent.h: Likewise.
72540         * nis/rpcsvc/ypclnt.h: Likewise.
72541         * nss/nss.h: Likewise.
72542         * posix/bits/unistd.h: Likewise.
72543         * posix/fnmatch.h: Likewise.
72544         * posix/glob.h: Likewise.
72545         * posix/sched.h: Likewise.
72546         * posix/spawn.h: Likewise.
72547         * posix/sys/wait.h: Likewise.
72548         * posix/unistd.h: Likewise.
72549         * posix/wordexp.h: Likewise.
72550         * pwd/pwd.h: Likewise.
72551         * resolv/netdb.h: Likewise.
72552         * resource/sys/resource.h: Likewise.
72553         * rt/aio.h: Likewise.
72554         * rt/bits/mqueue2.h: Likewise.
72555         * rt/mqueue.h: Likewise.
72556         * shadow/shadow.h: Likewise.
72557         * signal/signal.h: Likewise.
72558         * socket/send.c: Likewise.
72559         * socket/sendto.c: Likewise.
72560         * socket/sys/socket.h: Likewise.
72561         * stdio-common/printf.h: Likewise.
72562         * stdlib/bits/stdlib.h: Likewise.
72563         * stdlib/fmtmsg.h: Likewise.
72564         * stdlib/monetary.h: Likewise.
72565         * stdlib/stdlib.h: Likewise.
72566         * stdlib/ucontext.h: Likewise.
72567         * streams/stropts.h: Likewise.
72568         * string/argz.h: Likewise.
72569         * string/bits/string2.h: Likewise.
72570         * string/string.h: Likewise.
72571         * string/strings.h: Likewise.
72572         * sunrpc/rpc/auth.h: Likewise.
72573         * sunrpc/rpc/auth_des.h: Likewise.
72574         * sunrpc/rpc/clnt.h: Likewise.
72575         * sunrpc/rpc/netdb.h: Likewise.
72576         * sunrpc/rpc/pmap_clnt.h: Likewise.
72577         * sunrpc/rpc/xdr.h: Likewise.
72578         * sysdeps/generic/inttypes.h: Likewise.
72579         * sysdeps/generic/net/if.h: Likewise.
72580         * sysdeps/generic/sys/swap.h: Likewise.
72581         * sysdeps/gnu/net/if.h: Likewise.
72582         * sysdeps/gnu/utmpx.h: Likewise.
72583         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
72584         * sysdeps/i386/i486/bits/string.h: Likewise.
72585         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
72586         * sysdeps/s390/bits/string.h: Likewise.
72587         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
72588         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
72589         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
72590         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
72591         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
72592         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
72593         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
72594         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
72595         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
72596         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
72597         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
72598         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
72599         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
72600         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
72601         * sysdeps/unix/sysv/linux/readv.c: Likewise.
72602         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
72603         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
72604         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
72605         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
72606         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
72607         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72608         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
72609         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
72610         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
72611         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
72612         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
72613         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
72614         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72615         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
72616         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
72617         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
72618         * sysvipc/sys/ipc.h: Likewise.
72619         * sysvipc/sys/msg.h: Likewise.
72620         * sysvipc/sys/sem.h: Likewise.
72621         * sysvipc/sys/shm.h: Likewise.
72622         * termios/termios.h: Likewise.
72623         * time/sys/time.h: Likewise.
72624         * time/time.h: Likewise.
72625         * wcsmbs/bits/wchar2.h: Likewise.
72626         * wcsmbs/uchar.h: Likewise.
72627         * wcsmbs/wchar.h: Likewise.
72628         * wctype/wctype.h: Likewise.
72630         [BZ #13551]
72631         * Makeconfig: Remove all but ELF support including AIX support.
72632         * Makerules: Likewise.
72633         * config.h.in: Likewise.
72634         * config.make.in: Likewise.
72635         * configure: Likewise.
72636         * configure.in: Likewise.
72637         * csu/Makefile: Likewise.
72638         * csu/version.c: Likewise.
72639         * debug/Makefile: Likewise.
72640         * dlfcn/Makefile: Likewise.
72641         * elf/Makefile: Likewise.
72642         * extra-lib.mk: Likewise.
72643         * iconv/Makefile: Likewise.
72644         * include/libc-symbols.h: Likewise.
72645         * include/shlib-compat.h: Likewise.
72646         * resolv/Makefile: Likewise.
72647         * resolv/res_libc.c: Likewise.
72648         * rt/Makefile: Likewise.
72649         * sysdeps/i386/asm-syntax.h: Likewise.
72650         * sysdeps/i386/sysdep.h: Likewise.
72651         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
72652         * sysdeps/mach/sysdep.h: Likewise.
72653         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
72654         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
72655         * sysdeps/s390/asm-syntax.h: Likewise.
72656         * sysdeps/s390/s390-32/sysdep.h: Likewise.
72657         * sysdeps/s390/s390-64/sysdep.h: Likewise.
72658         * sysdeps/sh/sysdep.h: Likewise.
72659         * sysdeps/unix/sparc/sysdep.h: Likewise.
72660         * sysdeps/wordsize-32/divdi3.c: Likewise.
72661         * sysdeps/x86_64/sysdep.h: Likewise.
72663         * argp/Versions: Remove _argp_unlock_xxx.
72665         [BZ #13559]
72666         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
72667         * abilist/libBrokenLocale.abilist: Likewise.
72668         * abilist/libanl.abilist: Likewise.
72669         * abilist/libc.abilist: Likewise.
72670         * abilist/libcrypt.abilist: Likewise.
72671         * abilist/libdl.abilist: Likewise.
72672         * abilist/libm.abilist: Likewise.
72673         * abilist/libnsl.abilist: Likewise.
72674         * abilist/libpthread.abilist: Likewise.
72675         * abilist/libresolv.abilist: Likewise.
72676         * abilist/librt.abilist: Likewise.
72677         * abilist/libthread_db.abilist: Likewise.
72678         * abilist/libutil.abilist: Likewise.
72679         * abilist/libnss_db.abilist: New file.
72681         * scripts/abilist.awk: Add support for indirect functions.
72683         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
72685         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
72687         * shlib-versions: Remove entries for ports architectures.
72689         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
72690         files in ports.
72691         * elf/stackguard-macros.h: Remove support for IA-64.
72692         * elf/tst-auditmod1.c: Likewise.
72693         * sysdeps/generic/ldsodefs.h: Likewise.
72695         * sysdeps/unix/sysv/linux/configure.in: Ports should define
72696         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
72697         configure files.
72699         [BZ #13552]
72700         * configure.in: Remove --enable-omitfp support.
72701         * FAQ.in: Adjust.
72702         * config.make.in: Likewise.
72703         * Makeconfig: Likewise.
72704         * manual/install.texi: Likewise.
72706         In case anyone cares, the IA-64 architecture could move to ports.
72707         * sysdeps/ia64/*: Removed.
72708         * sysdeps/unix/sysv/linux/ia64/*: Removed.
72709         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
72711         [BZ #13555]
72712         * configure.in: Remove entries for unsupported architectures.
72714         [BZ #13533]
72715         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
72716         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
72717         routines.
72718         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
72719         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
72720         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
72721         fall back to using wcrtomb.
72722         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
72723         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
72724         renaming.
72725         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
72726         * wcsmbs/tst-c16c32-1.c: New file.
72728         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
72729         local variable.
72731         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
72733         * elf/tst-unique3.cc: Add explicit declaration of gets.
72734         * elf/tst-unique3lib.cc: Likewise.
72735         * elf/tst-unique3lib2.cc: Likewise.
72736         * elf/tst-unique4.cc: Likewise.
72738         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
72740 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
72742         [BZ #13566]
72743         * assert/assert.h (static_assert): Don't define for C++.
72744         * libio/stdio.h (gets): Do declare for C++ <= C++11.
72745         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
72747 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
72749         * iconv/loop.c (single loop): Fix assertion in storing of
72750         remaining bytes.
72752         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
72754 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
72756         * posix/getconf.c: Update copyright year.
72757         * nss/getent.c: Likewise.
72758         * nss/makedb.c: Likewise.
72759         * iconv/iconvconfig.c: Likewise.
72760         * iconv/iconv_prog.c: Likewise.
72761         * elf/ldconfig.c: Likewise.
72762         * elf/pldd.c: Likewise.
72763         * elf/sotruss.ksh: Likewise.
72764         * catgets/gencat.c: Likewise.
72765         * csu/version.c: Likewise.
72766         * elf/ldd.bash.in: Likewise.
72767         * elf/sprof.c (print_version): Likewise.
72768         * locale/programs/locale.c: Likewise.
72769         * locale/programs/localedef.c: Likewise.
72770         * login/programs/pt_chown.c: Likewise.
72771         * nscd/nscd.c (print_version): Likewise.
72772         * debug/xtrace.sh: Likewise.
72773         * malloc/memusage.sh: Likewise.
72774         * malloc/mtrace.pl: Likewise.
72775         * debug/catchsegv.sh: Likewise.
72777 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
72779         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
72780         pure attribute.
72782 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
72784         [BZ #13533]
72785         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
72786         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
72787         transformations.
72788         * iconv/gconv_int.h: Likewise.
72789         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
72790         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
72791         from libc for GLIBC_2.16.
72792         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
72793         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
72794         * wcsmbs/uchar.h: Really define mbstate_t.
72795         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
72796         * wcsmbs/c16rtomb.c: New file.
72797         * wcsmbs/mbrtoc16.c: New file.
72798         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
72799         for C/POSIX locale.
72800         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
72801         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
72803         * wcsmbs/wchar.h: Add missing __restrict.
72805 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72807         [BZ #13532]
72808         * time/Makefile (routines): Add timespec_get.
72809         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
72810         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
72811         timespec for ISO C11.
72812         * time/timespec_get.c: New file.
72813         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
72814         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
72816         [BZ #13531]
72817         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
72818         * stdlib/stdlib.h: Declare aligned_alloc.
72819         * Versions.def: Add GLIBC_2.16 for libc.
72820         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
72822         [BZ 13527]
72823         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
72824         ISO C11.
72826         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
72827         code.
72829         [BZ #13528]
72830         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
72832         [BZ #13529]
72833         * assert/assert.h (static_assert): Define.
72835         * version.h: Update for 2.16 development version.
72837         [BZ #13526]
72838         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
72839         _ISOC11_SOURCE.
72841         * version.h (RELEASE): Bump for 2.15 release.
72842         * include/features.h (__GLIBC_MINOR__): Bump to 15.
72844         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
72845         Patch by Marek Polacek <mpolacek@redhat.com>.
72847         * bits/byteswap.h: Protect long long constants with __extension__.
72848         * sysdeps/i386/bits/byteswap.h: Likewise.
72849         * sysdeps/ia64/bits/byteswap.h: Likewise.
72850         * sysdeps/s390/bits/byteswap.h: Likewise.
72851         * sysdeps/x86_64/bits/byteswap.h: Likewise.
72853 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72855         [BZ #13540]
72856         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
72857         destination buffer.
72858         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
72860 2011-12-23  Marek Polacek  <polacek@redhat.com>
72862         * elf/dl-addr.c (determine_info): Add inline keyword.
72863         * elf/tst-auditmod4b.c (check_avx): Likewise.
72864         * elf/tst-auditmod6b.c (check_avx): Likewise.
72865         * elf/tst-auditmod6c.c (check_avx): Likewise.
72866         * elf/tst-auditmod7b.c (check_avx): Likewise.
72868 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
72870         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
72871         !__SSE_MATH__.
72873 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72875         [BZ #13540]
72876         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
72877         processing for last bytes.
72879 2011-08-06  Bruno Haible  <bruno@clisp.org>
72881         [BZ #13061]
72882         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
72883         U+0385, not to U+1FEE.
72885         [BZ #13062]
72886         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
72887         entry for U+00A5 U+0301.
72889 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72891         [BZ #13166]
72892         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
72893         buffer for the output is too small.
72895         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
72896         optimization.
72898         [BZ #13185]
72899         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
72900         SSE flags if possible.
72902 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
72904         [BZ #13540]
72905         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
72906         processing for last bytes.
72908 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
72910         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
72911         (syscall-list-default-options, syscall-list-default-condition)
72912         (syscall-list-includes): Define.
72913         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
72914         list of ABIs and options and #if conditions for each ABI.  Do not
72915         handle common syscalls between ABIs specially.
72916         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
72917         Remove.
72918         (syscall-list-variants, syscall-list-32bit-options)
72919         (syscall-list-32bit-condition, syscall-list-64bit-options)
72920         (syscall-list-64bit-condition): Define.
72921         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
72922         (syscall-list-variants, syscall-list-32bit-options)
72923         (syscall-list-32bit-condition, syscall-list-64bit-options)
72924         (syscall-list-64bit-condition): Define.
72925         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
72926         Remove.
72927         (syscall-list-variants, syscall-list-32bit-options)
72928         (syscall-list-32bit-condition, syscall-list-64bit-options)
72929         (syscall-list-64bit-condition): Define.
72930         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
72931         Remove.
72932         (syscall-list-variants, syscall-list-32bit-options)
72933         (syscall-list-32bit-condition, syscall-list-64bit-options)
72934         (syscall-list-64bit-condition): Define.
72936 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
72938         * locale/iso-639.def: Add brx entry.
72940         [BZ #13328]
72941         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
72942         Proposed by Mariusz_Cukr <marcukr@op.pl>.
72944         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
72945         __feraiseexcept_renamed.
72947 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72949         [BZ #13538]
72950         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
72951         EPOLLET with unsigned values.
72952         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
72953         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
72955         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
72956         to large cancellation.
72957         * math/s_cacoshf.c: Likewise.
72958         * math/s_cacoshl.c: Likewise.
72960 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
72962         [BZ #13305]
72963         [BZ #12786]
72964         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
72965         * math/s_cacoshf.c: Likewise.
72966         * math/s_cacoshl.c: Likewise.
72968 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
72970         [BZ #13439]
72971         * iconv/gconv.h: Define __GCONV_SWAP.
72972         * iconvdata/unicode.c: The swap bit must be stored in __flags.
72973         * iconvdata/utf-16.c: Likewise.
72974         * iconvdata/utf-32.c: Likewise.
72976 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
72978         [BZ #13524]
72979         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
72980         numerator after shifting it by one limb.
72982 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
72984         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
72985         under [__USE_EXTERN_INLINES].
72987 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
72989         [BZ #13446]
72990         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
72992 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
72994         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
72995         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
72996         optimized code.
72997         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
72998         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
72999         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
73000         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
73001         for strncasecmp/strncasecmp_l compilation.
73002         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
73003         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
73005 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
73007         [BZ #13484]
73008         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
73009         of __asm__.
73011 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
73013         [BZ #13506]
73014         * time/tzfile.c (__tzfile_read): Check values from file header.
73016 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
73018         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
73019         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
73020         * powerpc/powerpc32/dl-start.S: Likewise.
73021         * powerpc/powerpc32/elf/start.S: Likewise.
73022         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
73023         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
73024         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
73025         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
73026         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
73027         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
73028         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
73029         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
73030         * powerpc/powerpc32/fpu/s_round.S: Likewise.
73031         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
73032         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
73033         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
73034         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
73035         * powerpc/powerpc32/memset.S: Likewise.
73036         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
73037         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
73038         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
73039         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
73040         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
73041         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
73042         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
73043         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
73044         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
73045         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
73046         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
73047         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
73048         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
73050 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73052         * math/libm-test.inc: Added more nearbyint tests.
73053         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
73054         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
73055         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
73056         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
73058 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
73060         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
73061         FD_CLOEXEC.
73063 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73065         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
73066         Add wcscpy-ssse3 wcscpy-c.
73067         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
73068         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
73069         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
73070         * sysdeps/x86_64/wcschr.S: New file.
73071         * sysdeps/x86_64/wcsrchr.S: New file.
73072         * string/test-strcmp.c: Remove checking of wcscmp function for
73073         wrong alignments.
73074         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
73075         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
73076         wcsrchr-sse2 wcsrchr-c.
73077         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
73078         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
73079         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
73080         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
73081         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
73082         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
73083         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
73084         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
73085         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
73086         * wcsmbc/wcschr.c (WCSCHR): New macro.
73088 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73090         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
73091         * wcsmbs/test-wcsrchr.c: New file.
73092         * string/test-strrchr.c: Add wcsrchr support.
73093         (WIDE): New macro.
73094         * wcsmbs/test-wcscpy.c: New file.
73095         * string/test-strcpy.c: Add wcscpy support.
73096         (WIDE): New macro.
73098 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
73100         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
73101         the inner loop.
73103 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
73105         [BZ #13472]
73106         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
73108 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
73110         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
73111         Minor optimizations.
73113         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
73114         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
73115         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
73117 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
73119         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
73120         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
73121         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
73122         for gcc to avoid warnings.
73123         * inet/Makefile (tests): Add tst-checks.
73124         * inet/tst-checks.c: New file.
73126         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
73127         warning.
73129         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
73130         __wmemcmp_sse2.
73132         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
73133         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
73135         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
73137 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
73139         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
73140         problem.
73142         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
73144 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
73146         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
73147         conditional on GCC version.
73148         (__arch_compare_and_exchange_val_8_acq)
73149         (__arch_compare_and_exchange_val_16_acq)
73150         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
73151         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
73152         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
73154 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
73156         * sysdeps/sh/backtrace.c: New file.
73158 2011-12-02  Andreas Schwab  <schwab@redhat.com>
73160         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
73161         parenthesis.
73163 2011-12-01  Andreas Schwab  <schwab@redhat.com>
73165         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
73166         falling back to utime.
73168 2011-11-30  Andreas Schwab  <schwab@redhat.com>
73170         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
73171         expectations for float.
73173 2011-11-29  Andreas Schwab  <schwab@redhat.com>
73175         * locale/weight.h (findidx): Add parameter len.
73176         * locale/weightwc.h (findidx): Likewise.
73177         * posix/fnmatch_loop.c (FCT): Adjust caller.
73178         * posix/regcomp.c (build_equiv_class): Likewise.
73179         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
73180         * posix/regexec.c (check_node_accept_bytes): Likewise.
73181         * string/strcoll_l.c (STRCOLL): Likewise.
73182         * string/strxfrm_l.c (STRXFRM): Likewise.
73184 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
73186         * Makefile.in: Remove CVSOPT handling.
73187         * configure.in: Remove use of AC_REVISION.
73188         * iconvdata/Makefile (distribute): No need to filter out CVS.
73189         * scripts/list-sources.sh: Remove CVS, subversion and monotone
73190         handling.
73192 2011-11-16  Andreas Schwab  <schwab@redhat.com>
73194         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
73195         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
73196         [USE_AS_STRNCASECMP_L]: Likewise.
73197         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
73198         NO_TLS_DIRECT_SEG_REFS.
73199         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
73200         Fix argument offsets for non-PIC.
73201         [USE_AS_STRNCASECMP_L]: Likewise.
73202         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
73203         NO_TLS_DIRECT_SEG_REFS.
73205 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73207         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
73208         O_CLOEXEC.
73209         * locale/loadlocale.c (_nl_load_locale): Likewise.
73211 2011-11-15  Andreas Schwab  <schwab@redhat.com>
73213         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
73214         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
73215         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
73216         (SYSCALL_GETTIME): Set errno on error.
73218         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
73219         count references to noai6ai_cached.
73221 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
73223         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
73225         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
73226         FD_CLOEXEC for /proc/self/maps.
73228         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
73229         FD_CLOEXEC for /proc/meminfo.
73231         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
73232         gai.conf.
73234         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
73235         FD_CLOEXEC for given file.
73237         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
73239         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
73240         FD_CLOEXEC for /etc/hosts.
73241         (_gethtent): Likewise.
73243         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
73245         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
73246         cancellation and set FD_CLOEXEC for /etc/netgroup.
73248         * nss/nss_files/files-key.c (search): Don't allow cancellation when
73249         reading /etc/publickey.
73251         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
73252         allow cancellation when reading /etc/group.
73254         * nss/nss_files/files-alias.c (internal_setent): Don't allow
73255         cancellation.
73256         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
73258         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
73259         when using data file.
73261         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
73263         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
73264         (write_nis_obj): Use "c" and "e" in fopen.
73266         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
73268         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
73270         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
73272         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
73274         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
73275         locale.alias.
73277         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
73279         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
73281         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
73283         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
73284         file parsing and set FD_CLOEXEC.
73286 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73288         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
73290 2011-11-14  Andreas Schwab  <schwab@redhat.com>
73292         * malloc/arena.c (arena_get2): Don't call reused_arena when
73293         _int_new_arena failed.
73295 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
73297         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
73298         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
73299         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
73300         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73301         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73302         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
73303         to compile strcasecmp and strncasecmp.
73304         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
73305         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
73307         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
73309 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
73311         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
73312         locale-defines.sym to gen-as-const-headers.
73313         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
73314         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
73315         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
73316         to compile strcasecmp and strncasecmp.
73317         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
73318         strcasecmp_l and strncasecmp_l.
73319         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
73320         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
73321         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
73322         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
73323         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
73324         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
73325         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
73326         * sysdeps/i386/i686/multiarch/strncase.S: New file.
73327         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
73328         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
73329         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
73331 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
73333         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
73334         result of SYSDEP_GETTIME_CPU to retval.
73335         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
73336         parameter list to macro.  Remove trailing semicolon.  Adjust users.
73338         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
73339         variable.
73341         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
73342         mantissa words.
73343         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
73345         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
73346         from unused variable.
73348         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
73349         DWARF definitions.
73350         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
73351         for assembling.
73353         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
73354         over namespaces.
73356         * sunrpc/rpc_prot.c (rejected): Fix case value.
73358         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
73359         unsigned long long int to avoid warnings in shift.
73361         * posix/regex_internal.c (re_string_reconstruct): Actually use result
73362         of use of trans.
73363         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
73364         variable tmp.
73366         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
73367         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
73368         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
73370         * nis/nis_table.c (nis_list): Use variable of correct type for
73371         result of __follow_path call.
73373 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
73375         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
73376         of math functions ceil, trunc, floor, round, and sqrt, when
73377         avaliable on the platform.
73378         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
73379         name clash.
73380         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
73381         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
73382         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
73384 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
73386         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
73387         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
73389 2011-11-11  Roland McGrath  <roland@hack.frob.com>
73391         * include/unistd.h: Fix __readlink return type.
73392         Reported by Chris Metcalf <cmetcalf@tilera.com>.
73394 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
73396         * stdlib/ucontext.h: Undo last change for makecontext.
73398 2011-11-11  Andreas Schwab  <schwab@redhat.com>
73400         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
73402         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
73403         * setjmp/setjmp.h: Mark functions as non-leaf.
73404         * setjmp/bits/setjmp2.h: Likewise.
73405         * stdlib/ucontext.h: Likewise.
73407 2011-11-10  Andreas Schwab  <schwab@redhat.com>
73409         * malloc/arena.c (_int_new_arena): Don't increment narenas.
73410         (reused_arena): Don't check arena limit.
73411         (arena_get2): Atomically check arena limit.
73413 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
73415         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
73416         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
73418         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
73419         instructions.
73421 2011-11-07  Andreas Schwab  <schwab@redhat.com>
73423         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
73424         handler when locking.
73426         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
73427         Fix size of allocated buffer.
73429 2011-11-04  Andreas Schwab  <schwab@redhat.com>
73431         [BZ #10103]
73432         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
73433         declarations for long double functions.
73434         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
73436         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
73438 2011-11-03  Andreas Schwab  <schwab@redhat.com>
73440         * nscd/nscd.c (main): Don't start AVC thread until credentials are
73441         installed.
73443         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
73444         is disabled.
73446 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
73448         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
73450 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
73452         * include/alloca.h (stackinfo_alloca_round): Define.
73453         (extend_alloca): Use it.
73454         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
73455         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
73456         here.
73458         * scripts/check-local-headers.sh: Ignore libaudit.h.
73460         * nscd/Makefile (extra-objs): Make recursively expanded.
73462 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
73464         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
73465         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
73467         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
73468         * posix/tst-rfc3484-2.c: Likewise.
73469         * posix/tst-rfc3484-3.c: Likewise.
73471         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
73472         process_vm_writev.
73473         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
73474         process_vm_writev.
73475         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
73476         process_vm_writev from libc using GLIBC_2.15 version.
73478         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
73480 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
73482         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
73483         stack usage.
73485 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
73487         [BZ #13367]
73488         * nss/getent.c (initgroups_keys): Show error message in case no group
73489         names are given.
73491         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
73492         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
73493         __bump_nl_timestamp.
73494         * nscd/connections (nscd_init): When host database is served open
73495         netlink socket and request notification about configuration changes.
73496         (main_loop_poll): Track netlink file descriptor and bump timestamp
73497         in case data becomes available.
73498         (main_loop_epoll): Likewise.
73499         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
73500         (database_pers_head): Add extra_data fileds.
73501         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
73502         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
73503         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
73504         Adjust caller.
73505         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
73506         in6ai data, call __free_in6ai.
73507         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
73508         Add -DHAVE_NETLINK.
73509         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
73510         interface information.  Reuse previous data if netlink timestamp
73511         is not changed.
73512         (__bump_nl_timestamp): New function.
73513         (__free_in6ai): New function.
73515 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
73517         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
73518         close_not_cancel_no_status here.
73519         (__check_pf): Reorganize code a bit to not call close twice if OOM.
73521 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73523         [BZ #13276]
73524         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
73525         return value.
73527         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
73528         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
73529         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
73531 2011-07-03  Andreas Jaeger  <aj@suse.de>
73533         [BZ #10709]
73534         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
73535         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
73536         * math/libm-test.inc (sin_test): Add test case.
73538 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
73540         [BZ #13337]
73541         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
73542         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73544         * elf/chroot_canon.c (chroot_canon): Cleanups.
73546         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
73548         [BZ #13335]
73549         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
73550         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
73552         * string/test-strchr.c: Make usable for strchrnul testing.
73553         * string/test-strchrnul.c: New file.
73554         * string/Makefile (strop-tests): Add strchrnul.
73556         * po/it.po: Update from translation team.
73557         * po/es.po: Likewise.
73559 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
73561         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
73562         the three constants needed as parameters.  Drop the others.
73563         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
73564         __m128i_strloadu_tolower.
73565         Create and initialize variable zero and use it in all the places
73566         where _mm_setzero_si128 was used.
73568         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
73569         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
73570         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
73571         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
73572         anymore.
73573         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
73574         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
73575         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
73576         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
73577         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
73578         __mpranred, __mptan.
73579         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
73580         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
73581         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
73582         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
73583         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
73584         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
73585         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
73586         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
73587         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
73589 2011-10-28  Andreas Schwab  <schwab@redhat.com>
73591         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
73592         redefine if SHARED.
73593         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
73595         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
73596         wide char related routines to wcsmbs subdir.
73598 2011-10-27  Andreas Schwab  <schwab@redhat.com>
73600         [BZ #13344]
73601         * misc/sys/cdefs.h (__THROWNL): Define.
73602         * posix/unistd.h: Use __THREADNL instead of __THREAD
73603         for memory synchronization functions.
73605 2011-10-26  Roland McGrath  <roland@hack.frob.com>
73607         [BZ #13349]
73608         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
73609         doesn't exist.
73610         * manual/stdio.texi (Obstack Streams): Node removed.
73612 2011-10-26  Andreas Schwab  <schwab@redhat.com>
73614         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
73615         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73616         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73618         * math/math_private.h (math_force_eval): Allow non-addressable
73619         arguments.
73620         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
73622 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73624         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
73625         file is not needed.
73627         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
73628         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
73629         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
73630         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
73631         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
73632         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
73633         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
73634         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
73635         Add AVX variants.
73636         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
73637         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
73638         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
73639         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
73640         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
73641         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
73642         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
73643         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
73644         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
73645         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
73646         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
73647         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
73648         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
73649         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
73650         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
73651         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
73652         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
73653         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
73654         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
73656         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
73657         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
73659         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
73660         place.  Use VEX encoding when compiling for AVX.
73662 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73664         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
73665         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
73667         * string/test-strchr.c (do_test): Don't generate NUL bytes.
73669 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73671         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
73672         useless if() expression.
73673         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
73674         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
73675         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
73676         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
73677         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
73678         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
73679         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
73680         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
73681         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
73682         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
73683         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
73684         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
73685         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
73686         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
73687         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
73688         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
73689         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
73690         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
73691         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
73693         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
73695 2011-10-25  Andreas Schwab  <schwab@redhat.com>
73697         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
73698         condition.
73699         * elf/dl-fini.c (_dl_sort_fini): Likewise.
73701 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
73703         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
73704         .text section.  Avoid duplicate constants.
73705         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
73706         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73707         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
73708         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73709         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73710         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73711         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73712         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73713         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
73714         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
73715         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
73716         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
73717         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
73718         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
73719         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
73720         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
73721         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
73722         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
73723         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
73724         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73725         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
73726         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
73727         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
73728         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
73729         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
73730         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
73731         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
73732         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
73733         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
73734         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
73735         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
73736         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
73737         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
73738         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
73739         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
73740         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
73741         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
73742         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
73743         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
73744         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
73745         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
73746         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
73747         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
73748         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
73749         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
73751 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
73753         * sysdeps/x86_64/dla.h: Move to ...
73754         * sysdeps/x86_64/fpu/dla.h: ...here.
73755         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
73756         situations.  Use __builtin_fma only for gcc 4.6 and up.
73758         * config.make.in: Add have-mfma4 entry.
73759         * configure.in: Substitute libc_cv_cc_fma4.
73760         * math/Makefile (dbl-only-routines): Add sincostab.
73761         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
73762         Use __sincostab not sincos.
73763         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
73764         name is a macro.
73765         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
73766         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73767         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73768         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
73769         using __copysign.
73770         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
73771         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
73772         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
73773         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
73774         and __inv.
73775         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
73776         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
73777         __copysign.
73778         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
73779         define aliases when function name is a macro.
73780         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
73781         sysdeps/ieee754/dbl-64/sincos.tbl.
73782         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
73783         fma4-enabled routines.
73784         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
73785         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
73786         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
73787         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
73788         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
73789         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
73790         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
73791         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
73792         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
73793         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
73794         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
73795         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
73796         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
73797         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
73798         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
73799         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
73800         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
73801         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
73802         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
73803         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
73804         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
73805         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
73806         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
73807         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
73808         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
73809         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
73810         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
73811         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
73812         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
73813         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
73815         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
73816         rename.
73817         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73818         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73819         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73820         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73821         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73822         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73823         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73824         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73826 2011-10-24  Andreas Schwab  <schwab@redhat.com>
73828         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
73830 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73832         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
73834         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
73835         prediction.
73836         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
73838         * string/strnlen.c: Don't define STRNLEN, reverse logic.
73839         Remove unused variable magic_bits.
73840         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
73842         * string/strnlen.c: Define and use STRNLEN macro.
73843         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
73844         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
73845         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
73846         * wcsmbs/wcslen.c: Define and use WCSLEN.
73847         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
73848         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
73849         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
73850         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
73851         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
73852         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
73853         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
73855 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
73858         strnlen-sse2-no-bsf.
73859         Rename strlen-no-bsf to strlen-sse2-no-bsf.
73860         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
73861         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
73862         Add strnlen support.
73863         (USE_AS_STRNLEN): New macro.
73864         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
73865         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
73866         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
73867         * sysdeps/x86_64/wcslen.S: New file.
73869 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
73871         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
73872         XMM-moves are used for copying on small sizes.
73874 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73876         * wcsmbs/Makefile (strop-tests): Add wcschr.
73877         * wcsmbs/test-wcschr.c: New file.
73878         * string/test-strchr.c: Update.
73879         Add wcschr support.
73880         (WIDE): New macro.
73882 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73884         * wcsmbs/Makefile (strop-tests): Add wcslen.
73885         * wcsmbs/test-wcslen.c: New file.
73886         * string/test-strlen.c: Update.
73887         Add wcslen support.
73888         (WIDE): New macro.
73890 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73892         * po/it.po: Update from translation team.
73894 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73896         * sysdeps/x86_64/wcscmp.S: Update.
73897         Fix wrong comparison semantics.
73898         wcscmp shall use signed comparison not unsigned.
73899         Don't use substraction to avoid overflow bug.
73900         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
73901         * wcsmbc/wcscmp.c: Likewise.
73902         * string/test-strcmp.c: Likewise.
73903         Add new tests to check cases with negative values.
73905 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
73907         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
73908         * sysdeps/x86_64/dla.h: ...here.  New file.
73909         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
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/e_sqrt.c: Likewise.
73915         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73916         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73917         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73919 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
73921         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
73922         __ynl_finite aliases.
73924 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73926         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73928         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
73929         define DLA_FMA.
73930         [DLA_FMA] (EMULV): Use DLA_FMA.
73931         [DLA_FMA] (MUL12): Use EMULV.
73932         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
73933         that are not needed.
73934         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
73935         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
73936         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
73937         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
73938         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
73939         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
73940         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
73942 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
73944         * math/s_nan.c: Undef __nan.
73945         * math/s_nanf.c: Undef __nanf.
73946         * math/s_nanl.c: Undef __nanl.
73947         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
73948         "math_private.h".
73950 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
73952         * math/s_catan.c: Add branch predictions.
73953         * math/s_catanf.c: Likewise.
73954         * math/s_catanh.c: Likewise.
73955         * math/s_catanhf.c: Likewise.
73956         * math/s_catanhl.c: Likewise.
73957         * math/s_catanl.c: Likewise.
73958         * math/s_cexp.c: Likewise.
73959         * math/s_cexpf.c: Likewise.
73960         * math/s_cexpl.c: Likewise.
73961         * math/s_clog.c: Likewise.
73962         * math/s_clog10.c: Likewise.
73963         * math/s_clog10f.c: Likewise.
73964         * math/s_clog10l.c: Likewise.
73965         * math/s_clogf.c: Likewise.
73966         * math/s_clogl.c: Likewise.
73967         * math/s_csqrt.c: Likewise.
73968         * math/s_csqrtf.c: Likewise.
73969         * math/s_csqrtl.c: Likewise.
73970         * math/s_ctanf.c: Likewise.
73971         * math/s_ctanh.c: Likewise.
73972         * math/s_ctanhf.c: Likewise.
73973         * math/s_ctanhl.c: Likewise.
73974         * math/s_ctanl.c: Likewise.
73976         * math/math_private.h: Define __nan, __nanf, __nanl.
73977         * math/s_cacosh.c: Include <math_private.h>.
73978         * math/s_cacoshl.c: Likewise.
73979         * math/s_casinh.c: Likewise.
73980         * math/s_casinhf.c: Likewise.
73981         * math/s_casinhl.c: Likewise.
73982         * math/s_ccos.c: Rely entire on ccosh.
73983         * math/s_ccosf.c: Rely entire on ccoshf.
73984         * math/s_ccosl.c: Rely entirely on ccoshl.
73985         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
73986         Remove tests for FE_INVALID.
73987         * math/s_ccoshf.c: Likewise.
73988         * math/s_ccoshl.c: Likewise.
73989         * math/s_csin.c: Likewise.
73990         * math/s_csinf.c: Likewise.
73991         * math/s_csinh.c Likewise.
73992         * math/s_csinhf.c: Likewise.
73993         * math/s_csinhl.c: Likewise.
73994         * math/s_csinl.c: Likewise.
73995         * math/s_ctan.c: Likewise.
73996         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
73997         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
73998         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
74000 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
74002         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
74003         compilation problems.
74005         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
74006         __builtin_expect.
74008 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
74010         * sysdeps/i386/configure.in: Test for -mfma4 option.
74011         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
74012         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
74013         COMMON_CPUID_INDEX_80000001.
74014         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
74015         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
74016         use it if FMA3 is not supported.
74017         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
74019         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
74020         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
74022 2011-10-20  Andreas Schwab  <schwab@redhat.com>
74024         [BZ #12892]
74025         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
74026         it would create a cycle with a link time dependency.
74028 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
74030         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
74031         instruction.
74032         * string/Makefile (strop-tests): Add rawmemchr.
74033         * string/test-rawmemchr.c: New file.
74035         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
74036         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
74037         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
74038         when compiling str{,n}casecmp and when AVX is available.  Hook up
74039         new optimized code in initializers.
74041 2011-10-19  Andreas Schwab  <schwab@redhat.com>
74043         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
74044         __feraiseexcept instead of feraiseexcept.
74046 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
74048         * math/math_private.h: Define defaults for libc_fetestexcept and
74049         libc_feupdateenv.
74050         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
74051         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
74052         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74053         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74054         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
74055         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74056         libc_fetestexcept and libc_feupdateenv.
74058         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
74059         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
74060         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
74061         * sysdeps/x86_64/fpu/math_private.h: Define special version of
74062         libc_feholdexcept_setround.
74064         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
74065         Add s_nearbyint-c and s_nearbyintf-c.
74066         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
74067         nearbyintf inlines.
74068         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
74069         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
74070         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
74071         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
74073         * math/math_private.h: Define defaults for libc_fegetround,
74074         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
74075         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
74076         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
74077         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
74078         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
74079         standard functions.
74080         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74081         Remove comments and hacks for old compiler versions.
74082         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
74083         libc_fegetround, libc_fesetround, libc_feholdexcept, and
74084         libc_feholdexceptl.
74086 2011-10-18  Andreas Schwab  <schwab@redhat.com>
74088         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
74089         (__feraiseexcept_renamed): Add __NTH.
74090         (feraiseexcept): Add __NTH.  Rename local variables to fix
74091         namespace violations.
74093 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
74095         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
74097         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
74099         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
74100         recently added interfaces.
74101         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
74103         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
74104         about macro parameter expansion.
74106         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
74107         __NO_MATH_INLINES is defined.  Cleanups.
74109         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
74110         and __floorf is target has SSE4.1.
74111         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
74112         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
74113         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
74114         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
74116         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
74117         name.
74118         (floorf): Likewise.
74120         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
74122 2011-10-17  Andreas Schwab  <schwab@redhat.com>
74124         * misc/sys/cdefs.h: Fix last change.
74126         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
74127         database lookup.
74129 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
74131         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
74133         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
74134         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
74135         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
74136         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
74137         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
74138         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
74139         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
74140         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
74141         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
74142         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
74143         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
74144         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
74145         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
74146         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
74147         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
74148         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
74149         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
74150         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
74151         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
74152         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
74153         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
74154         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
74156         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
74157         ceil, ceilf, floor, floorf.
74159         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
74160         Perform IRELATIVE relocations last.
74162         * elf/do-rel.h: Add another parameter nrelative, replacing the
74163         local variable with the same name.  Change name of the function
74164         to end in Rel or Rela (uppercase).
74165         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
74166         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
74167         elf_dynamic_do_##reloc function.
74169 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74171         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
74172         is sufficient, at least on modern CPUs.
74174         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
74176         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
74177         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
74179         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
74180         __expl_finite.
74181         * math/bits/math-finite.h: Add entries for exp.
74182         * math/e_expl.c: Add __*_finite alias.
74183         * sysdeps/i386/fpu/e_exp.S: Likewise.
74184         * sysdeps/i386/fpu/e_expf.S: Likewise.
74185         * sysdeps/i386/fpu/e_expl.c: Likewise.
74186         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
74187         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
74188         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
74189         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
74190         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
74191         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
74192         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
74194         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
74195         is sufficient, at least on modern CPUs.
74197         * ctype/ctype-info.c (__ctype_init): Define.
74198         * include/ctype.h (__ctype_init): Declare.
74199         (__ctype_b_loc): The variable is always initialized.
74200         (__ctype_toupper_loc): Likewise.
74201         (__ctype_tolower_loc): Likewise.
74202         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
74203         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
74205 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
74207         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
74209         * configure.in: Also look in $cxxmachine/include for C++ system
74210         headers.
74212 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74214         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
74215         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
74216         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
74217         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
74218         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
74219         (USE_AS_WMEMCMP): New macro.
74220         Fixing indents.
74221         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
74222         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
74223         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
74224         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
74225         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74226         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
74227         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
74228         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
74229         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
74230         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
74231         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
74232         (USE_AS_WMEMCMP): New macro.
74233         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
74234         * sysdeps/string/test-memcmp.c: Update.
74235         Fix simple_wmemcmp.
74236         Add new tests.
74237         * wcsmbs/wmemcmp.c: Update.
74238         (WMEMCMP): New macro.
74239         Fix overflow bug.
74241 2011-10-12  Andreas Jaeger  <aj@suse.de>
74243         [BZ #13268]
74244         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
74246 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
74248         * libio/iofwide.c (do_length): Avoid warning.
74250         * ctype/ctype.h (__isctype_f): Add missing __THROW.
74252 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
74254         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
74256         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
74257         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
74258         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
74259         * sysdeps/i386/i686/fpu/e_log.S: New file.
74260         * sysdeps/i386/i686/fpu/e_logf.S: New file.
74261         * sysdeps/i386/i686/fpu/e_logl.S: New file.
74263         * ctype/ctype.h: Add support for inlined isXXX functions when
74264         compiling C++ code.
74266 2011-10-14  Andreas Schwab  <schwab@redhat.com>
74268         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74270         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
74272 2011-10-13  Roland McGrath  <roland@hack.frob.com>
74274         [BZ #13291]
74275         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
74277 2011-10-13  Andreas Schwab  <schwab@redhat.com>
74279         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
74280         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
74281         feraiseexcept.
74283         * sysdeps/x86_64/memrchr.S: Check for zero size.
74285         * string/stratcliff.c: Add memrchr tests.
74287 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74289         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
74290         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
74291         rawmemchr-sse2 rawmemchr-sse2-bsf.
74292         * sysdeps/i386/i686/multiarch/memchr.S: New file.
74293         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
74294         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
74295         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
74296         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
74297         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
74298         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
74299         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
74300         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
74301         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
74302         * string/memrchr.c (MEMRCHR): New macro.
74304 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
74306         Add integration with gcc's -ffinite-math-only and optimize wrapper
74307         functions in libm.
74308         * Versions.def: Define GLIBC_2.15 version for libm.
74309         * math/Makefile (headers): Add bits/math-finite.h.
74310         * math/bits/math-finite.h: New file.
74311         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
74312         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
74313         * math/e_acoshl.c: Add __*_finite alias.
74314         * math/e_acosl.c: Likewise.
74315         * math/e_asinl.c: Likewise.
74316         * math/e_atan2l.c: Likewise.
74317         * math/e_atanhl.c: Likewise.
74318         * math/e_coshl.c: Likewise.
74319         * math/e_exp10.c: Likewise.
74320         * math/e_exp10f.c: Likewise.
74321         * math/e_exp10l.c: Likewise.
74322         * math/e_exp2l.c: Likewise.
74323         * math/e_fmodl.c: Likewise.
74324         * math/e_gammal_r.c: Likewise.
74325         * math/e_hypotl.c: Likewise.
74326         * math/e_j0l.c: Likewise.
74327         * math/e_j1l.c: Likewise.
74328         * math/e_jnl.c: Likewise.
74329         * math/e_lgammal_r.c: Likewise.
74330         * math/e_log10l.c: Likewise.
74331         * math/e_log2l.c: Likewise.
74332         * math/e_logl.c: Likewise.
74333         * math/e_powl.c: Likewise.
74334         * math/e_sinhl.c: Likewise.
74335         * math/e_sqrtl.c: Likewise.
74336         * math/e_scalb.c: Completely rewritten and optimized.
74337         * math/e_scalbf.c: Likewise.
74338         * math/e_scalbl.c: Likewise.
74339         * math/w_acos.c: Likewise.
74340         * math/w_acosf.c: Likewise.
74341         * math/w_acosl.c: Likewise.
74342         * math/w_acosh.c: Likewise.
74343         * math/w_acoshf.c: Likewise.
74344         * math/w_acoshl.c: Likewise.
74345         * math/w_asin.c: Likewise.
74346         * math/w_asinf.c: Likewise.
74347         * math/w_asinl.c: Likewise.
74348         * math/w_atan2.c: Likewise.
74349         * math/w_atan2f.c: Likewise.
74350         * math/w_atan2l.c: Likewise.
74351         * math/w_atanh.c: Likewise.
74352         * math/w_atanhf.c: Likewise.
74353         * math/w_atanhl.c: Likewise.
74354         * math/w_exp10.c: Likewise.
74355         * math/w_exp10f.c: Likewise.
74356         * math/w_exp10l.c: Likewise.
74357         * math/w_fmod.c: Likewise.
74358         * math/w_fmodf.c: Likewise.
74359         * math/w_fmodl.c: Likewise.
74360         * math/w_j0.c: Likewise.
74361         * math/w_j0f.c: Likewise.
74362         * math/w_j0l.c: Likewise.
74363         * math/w_j1.c: Likewise.
74364         * math/w_j1f.c: Likewise.
74365         * math/w_j1l.c: Likewise.
74366         * math/w_jn.c: Likewise.
74367         * math/w_jnf.c: Likewise.
74368         * math/w_log.c: Likewise.
74369         * math/w_logf.c: Likewise.
74370         * math/w_logl.c: Likewise.
74371         * math/w_log10.c: Likewise.
74372         * math/w_log10f.c: Likewise.
74373         * math/w_log10l.c: Likewise.
74374         * math/w_log2.c: Likewise.
74375         * math/w_log2f.c: Likewise.
74376         * math/w_log2l.c: Likewise.
74377         * math/w_pow.c: Likewise.
74378         * math/w_powf.c: Likewise.
74379         * math/w_powl.c: Likewise.
74380         * math/w_remainder.c: Likewise.
74381         * math/w_remainderf.c: Likewise.
74382         * math/w_remainderl.c: Likewise.
74383         * math/w_scalb.c: Likewise.
74384         * math/w_scalbf.c: Likewise.
74385         * math/w_scalbl.c: Likewise.
74386         * math/w_sqrt.c: Likewise.
74387         * math/w_sqrtf.c: Likewise.
74388         * math/w_sqrtl.c: Likewise.
74389         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
74390         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
74391         used.
74392         * math/math_private.h: Declare __kernel_standard_f.
74393         * math/w_cosh.c: Remove cruft and optimize a bit.
74394         * math/w_coshf.c: Likewise.
74395         * math/w_coshl.c: Likewise.
74396         * math/w_exp2.c: Likewise.
74397         * math/w_exp2f.c: Likewise.
74398         * math/w_exp2l.c: Likewise.
74399         * math/w_hypot.c: Likewise.
74400         * math/w_hypotf.c: Likewise.
74401         * math/w_hypotl.c: Likewise.
74402         * math/w_lgamma.c: Likewise.
74403         * math/w_lgamma_r.c: Likewise.
74404         * math/w_lgammaf.c: Likewise.
74405         * math/w_lgammaf_r.c: Likewise.
74406         * math/w_lgammal.c: Likewise.
74407         * math/w_lgammal_r.c: Likewise.
74408         * math/w_sinh.c: Likewise.
74409         * math/w_sinhf.c: Likewise.
74410         * math/w_sinhl.c: Likewise.
74411         * math/w_tgamma.c: Likewise.
74412         * math/w_tgammaf.c: Likewise.
74413         * math/w_tgammal.c: Likewise.
74414         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
74415         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
74416         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
74417         Minor optimizations.  Pretty printing.  Remove cruft.
74418         * sysdeps/i386/fpu/e_acosf.S: Likewise.
74419         * sysdeps/i386/fpu/e_acosh.S: Likewise.
74420         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
74421         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
74422         * sysdeps/i386/fpu/e_acosl.c: Likewise.
74423         * sysdeps/i386/fpu/e_asin.S: Likewise.
74424         * sysdeps/i386/fpu/e_asinf.S: Likewise.
74425         * sysdeps/i386/fpu/e_atan2.S: Likewise.
74426         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
74427         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
74428         * sysdeps/i386/fpu/e_atanh.S: Likewise.
74429         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
74430         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
74431         * sysdeps/i386/fpu/e_exp10.S: Likewise.
74432         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
74433         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
74434         * sysdeps/i386/fpu/e_exp2.S: Likewise.
74435         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
74436         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
74437         * sysdeps/i386/fpu/e_fmod.S: Likewise.
74438         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
74439         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
74440         * sysdeps/i386/fpu/e_hypot.S: Likewise.
74441         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
74442         * sysdeps/i386/fpu/e_log.S: Likewise.
74443         * sysdeps/i386/fpu/e_log10.S: Likewise.
74444         * sysdeps/i386/fpu/e_log10f.S: Likewise.
74445         * sysdeps/i386/fpu/e_log10l.S: Likewise.
74446         * sysdeps/i386/fpu/e_log2.S: Likewise.
74447         * sysdeps/i386/fpu/e_log2f.S: Likewise.
74448         * sysdeps/i386/fpu/e_log2l.S: Likewise.
74449         * sysdeps/i386/fpu/e_logf.S: Likewise.
74450         * sysdeps/i386/fpu/e_logl.S: Likewise.
74451         * sysdeps/i386/fpu/e_pow.S: Likewise.
74452         * sysdeps/i386/fpu/e_powf.S: Likewise.
74453         * sysdeps/i386/fpu/e_powl.S: Likewise.
74454         * sysdeps/i386/fpu/e_remainder.S: Likewise.
74455         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
74456         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
74457         * sysdeps/i386/fpu/e_scalb.S: Likewise.
74458         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
74459         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
74460         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
74461         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
74462         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
74463         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
74464         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
74465         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
74466         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
74467         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
74468         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
74469         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
74470         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
74471         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
74472         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
74473         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
74474         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
74475         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
74476         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
74477         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
74478         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
74479         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
74480         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
74481         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
74482         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
74483         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
74484         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
74485         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
74486         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
74487         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
74488         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
74489         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
74490         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
74491         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
74492         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
74493         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
74494         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
74495         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
74496         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
74497         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
74498         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
74499         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
74500         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
74501         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
74502         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
74503         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
74504         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
74505         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
74506         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
74507         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
74508         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
74509         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
74510         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
74511         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
74512         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
74513         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
74514         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
74515         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
74516         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
74517         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
74518         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
74519         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
74520         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
74521         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
74522         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
74523         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
74524         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
74525         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
74526         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
74527         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
74528         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
74529         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
74530         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
74531         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
74532         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
74533         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
74534         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
74535         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
74536         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
74537         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
74538         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
74539         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
74540         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
74541         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
74542         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
74543         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
74544         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
74545         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
74546         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
74547         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
74548         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
74549         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
74550         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
74551         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
74552         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
74553         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
74554         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
74555         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
74556         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
74557         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
74558         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
74559         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
74560         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
74561         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
74562         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
74563         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
74564         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
74565         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
74566         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
74567         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
74568         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
74569         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
74570         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74571         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
74572         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
74573         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
74574         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
74575         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
74576         (__isnanf): Likewise.
74577         (__isinf_ns): Likewise.
74578         (__isinf_nsf): Likewise.
74579         (__finite): Likewise.
74580         (__finitef): Likewise.
74581         (__ieee754_sqrt): Define as macro.
74582         (__ieee754_sqrtf): Define as macro.
74583         (__ieee754_sqrtl): Define as macro.
74584         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
74585         inlined copy.
74586         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
74587         __FINITE_MATH_ONLY__ consistent.
74588         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
74590 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
74592         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
74593         of rawmemchr.
74595         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
74597 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
74599         * po/ja.po: Update from translation team.
74601 2011-10-08  Roland McGrath  <roland@hack.frob.com>
74603         * locale/programs/locarchive.c (prepare_address_space): New function.
74604         (create_archive, enlarge_archive, open_archive): Use it.
74606         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
74607         inside [SHARED], where it is used.
74609         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
74611         * nss/getent.c (netgroup_keys): Remove unused variable.
74612         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
74614 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
74616         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
74617         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
74618         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
74619         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
74620         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
74621         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
74622         * math/Makefile (libm-calls): Add s_isinf_ns.
74623         * math/divtc3.c: Use __isinf_nsl instead of isinf.
74624         * math/multc3.c: Likewise.
74625         * math/s_casin.c: Likewise.
74626         * math/s_casinf.c: Likewise.
74627         * math/s_casinl.c: Likewise.
74628         * math/s_ccos.c: Likewise.
74629         * math/s_ccosf.c: Likewise.
74630         * math/s_ccosl.c: Likewise.
74631         * math/s_ctan.c: Likewise.
74632         * math/s_ctanf.c: Likewise.
74633         * math/s_ctanh.c: Likewise.
74634         * math/s_ctanhf.c: Likewise.
74635         * math/s_ctanhl.c: Likewise.
74636         * math/s_ctanl.c: Likewise.
74637         * math/w_fmod.c: Likewise.
74638         * math/w_fmodf.c: Likewise.
74639         * math/w_fmodl.c: Likewise.
74640         * math/w_remainder.c: Likewise.
74641         * math/w_remainderf.c: Likewise.
74642         * math/w_remainderl.c: Likewise.
74643         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
74644         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
74645         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
74646         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
74647         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
74648         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
74649         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
74650         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
74652         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
74653         of the number.
74654         * stdio-common/printf_fphex.c: Likewise.
74655         * stdio-common/printf_size.c: Likewise.
74657         * math/e_exp10.c: Include math_private.h using <...> not "...".
74658         * math/e_exp10f.c: Likewise.
74659         * math/e_exp10l.c: Likewise.
74660         * math/e_exp2l.c: Likewise.
74661         * math/e_j0l.c: Likewise.
74662         * math/e_j1l.c: Likewise.
74663         * math/e_jnl.c: Likewise.
74664         * math/e_lgammal_r.c: Likewise.
74665         * math/e_rem_pio2l.c: Likewise.
74666         * math/e_scalb.c: Likewise.
74667         * math/e_scalbf.c: Likewise.
74668         * math/e_scalbl.c: Likewise.
74669         * math/k_cosl.c: Likewise.
74670         * math/k_sinl.c: Likewise.
74671         * math/k_tanl.c: Likewise.
74672         * math/s_cacoshf.c: Likewise.
74673         * math/s_catan.c: Likewise.
74674         * math/s_catanf.c: Likewise.
74675         * math/s_catanh.c: Likewise.
74676         * math/s_catanhf.c: Likewise.
74677         * math/s_catanhl.c: Likewise.
74678         * math/s_catanl.c: Likewise.
74679         * math/s_ccosh.c: Likewise.
74680         * math/s_ccoshf.c: Likewise.
74681         * math/s_ccoshl.c: Likewise.
74682         * math/s_cexp.c: Likewise.
74683         * math/s_cexpf.c: Likewise.
74684         * math/s_cexpl.c: Likewise.
74685         * math/s_clog.c: Likewise.
74686         * math/s_clog10.c: Likewise.
74687         * math/s_clog10f.c: Likewise.
74688         * math/s_clog10l.c: Likewise.
74689         * math/s_clogf.c: Likewise.
74690         * math/s_clogl.c: Likewise.
74691         * math/s_csin.c: Likewise.
74692         * math/s_csinf.c: Likewise.
74693         * math/s_csinh.c: Likewise.
74694         * math/s_csinhf.c: Likewise.
74695         * math/s_csinhl.c: Likewise.
74696         * math/s_csinl.c: Likewise.
74697         * math/s_csqrt.c: Likewise.
74698         * math/s_csqrtf.c: Likewise.
74699         * math/s_csqrtl.c: Likewise.
74700         * math/s_ctan.c: Likewise.
74701         * math/s_ctanf.c: Likewise.
74702         * math/s_ctanh.c: Likewise.
74703         * math/s_ctanhf.c: Likewise.
74704         * math/s_ctanhl.c: Likewise.
74705         * math/s_ctanl.c: Likewise.
74706         * math/s_ldexp.c: Likewise.
74707         * math/s_ldexpf.c: Likewise.
74708         * math/s_ldexpl.c: Likewise.
74709         * math/s_significand.c: Likewise.
74710         * math/s_significandf.c: Likewise.
74711         * math/s_significandl.c: Likewise.
74712         * math/w_acos.c: Likewise.
74713         * math/w_acosf.c: Likewise.
74714         * math/w_acosh.c: Likewise.
74715         * math/w_acoshf.c: Likewise.
74716         * math/w_acoshl.c: Likewise.
74717         * math/w_acosl.c: Likewise.
74718         * math/w_asin.c: Likewise.
74719         * math/w_asinf.c: Likewise.
74720         * math/w_asinl.c: Likewise.
74721         * math/w_atan2.c: Likewise.
74722         * math/w_atan2f.c: Likewise.
74723         * math/w_atan2l.c: Likewise.
74724         * math/w_atanh.c: Likewise.
74725         * math/w_atanhf.c: Likewise.
74726         * math/w_atanhl.c: Likewise.
74727         * math/w_cosh.c: Likewise.
74728         * math/w_coshf.c: Likewise.
74729         * math/w_coshl.c: Likewise.
74730         * math/w_dremf.c: Likewise.
74731         * math/w_exp10.c: Likewise.
74732         * math/w_exp10f.c: Likewise.
74733         * math/w_exp10l.c: Likewise.
74734         * math/w_exp2.c: Likewise.
74735         * math/w_exp2f.c: Likewise.
74736         * math/w_fmod.c: Likewise.
74737         * math/w_fmodf.c: Likewise.
74738         * math/w_fmodl.c: Likewise.
74739         * math/w_hypot.c: Likewise.
74740         * math/w_hypotf.c: Likewise.
74741         * math/w_hypotl.c: Likewise.
74742         * math/w_j0.c: Likewise.
74743         * math/w_j0f.c: Likewise.
74744         * math/w_j0l.c: Likewise.
74745         * math/w_j1.c: Likewise.
74746         * math/w_j1f.c: Likewise.
74747         * math/w_j1l.c: Likewise.
74748         * math/w_jn.c: Likewise.
74749         * math/w_jnf.c: Likewise.
74750         * math/w_jnl.c: Likewise.
74751         * math/w_lgamma.c: Likewise.
74752         * math/w_lgamma_r.c: Likewise.
74753         * math/w_lgammaf.c: Likewise.
74754         * math/w_lgammaf_r.c: Likewise.
74755         * math/w_lgammal.c: Likewise.
74756         * math/w_lgammal_r.c: Likewise.
74757         * math/w_log.c: Likewise.
74758         * math/w_log10.c: Likewise.
74759         * math/w_log10f.c: Likewise.
74760         * math/w_log10l.c: Likewise.
74761         * math/w_log2.c: Likewise.
74762         * math/w_log2f.c: Likewise.
74763         * math/w_log2l.c: Likewise.
74764         * math/w_logf.c: Likewise.
74765         * math/w_logl.c: Likewise.
74766         * math/w_pow.c: Likewise.
74767         * math/w_powf.c: Likewise.
74768         * math/w_powl.c: Likewise.
74769         * math/w_remainder.c: Likewise.
74770         * math/w_remainderf.c: Likewise.
74771         * math/w_remainderl.c: Likewise.
74772         * math/w_scalb.c: Likewise.
74773         * math/w_scalbf.c: Likewise.
74774         * math/w_scalbl.c: Likewise.
74775         * math/w_sinh.c: Likewise.
74776         * math/w_sinhf.c: Likewise.
74777         * math/w_sinhl.c: Likewise.
74778         * math/w_sqrt.c: Likewise.
74779         * math/w_sqrtf.c: Likewise.
74780         * math/w_sqrtl.c: Likewise.
74781         * math/w_tgamma.c: Likewise.
74782         * math/w_tgammaf.c: Likewise.
74783         * math/w_tgammal.c: Likewise.
74785         * po/ja.po: Update from translation team.
74787 2011-09-29  Andreas Jaeger  <aj@suse.de>
74789         [BZ #13179]
74790         * sunrpc/netname.c (netname2host): Fix logic.
74792         [BZ #6779]
74793         [BZ #6783]
74794         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
74795         correctly.
74796         * math/w_remainder.c (__remainder): Likewise.
74797         * math/w_remainderf.c (__remainderf): Likewise.
74798         * math/libm-test.inc (remainder_test): Add test cases.
74800 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74802         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
74803         sdiv_qrnnd.
74805 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74807         * string/test-memcmp.c: Avoid unncessary #defines.
74808         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
74810 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74812         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
74813         Use new sse2 version for core i3 - i7 as it's faster
74814         than sse42 version.
74815         (bit_Prefer_PMINUB_for_stringop): New.
74816         * sysdeps/x86_64/rawmemchr.S: Update.
74817         Replace with faster SSE2 version.
74818         * sysdeps/x86_64/memrchr.S: New file.
74819         * sysdeps/x86_64/memchr.S: Update.
74820         Replace with faster SSE2 version.
74822 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
74824         * elf/dl-load.c (lose): Add cast to avoid warning.
74826 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
74828         * po/ca.po: Update from translation team.
74830         * inet/getnetgrent_r.c: Hook up nscd.
74831         * nscd/Makefile (routines): Add nscd_netgroup.
74832         (nscd-modules): Add netgroupcache.
74833         (CFLAGS-netgroupcache.c): Define.
74834         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
74835         (cache_search): Add const to second parameter.
74836         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
74837         INNETGR.
74838         (dbs): Add netgrdb entry.
74839         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
74840         (verify_persistent_db): Handle netgrdb.
74841         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
74842         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
74843         GETFDNETGR.
74844         (netgroup_response_header): Define.
74845         (innetgroup_response_header): Define.
74846         (datahead): Add netgroup_response_header and innetgroup_response_header
74847         elements.
74848         * nscd/nscd.conf: Add entries for netgroup cache.
74849         * nscd/nscd.h (dbtype): Add netgrdb.
74850         (_PATH_NSCD_NETGROUP_DB): Define.
74851         (netgroup_iov_disabled): Declare.
74852         (xmalloc, xcalloc, xrealloc): Move declarations here.
74853         (cache_search): Adjust prototype.
74854         Add netgroup-related prototypes.
74855         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
74856         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
74857         (__nscd_innetgr): Declare.
74858         * nscd/selinux.c (perms): Use access_vector_t as element type and
74859         add netgroup-related initializers.
74860         * nscd/netgroupcache.c: New file.
74861         * nscd/nscd_netgroup.c: New file.
74862         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
74863         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
74864         For four parameters use innetgr.
74865         * nss/nss_files/files-init.c: Add definition and callback for netgr.
74866         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
74867         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
74868         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
74870         * nscd/connections.c (register_traced_file): Don't register file
74871         for disabled databases.
74873 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
74875         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
74877         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
74878         from tree and freeing node.
74880 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
74882         * nss/nsswitch.c (__nss_database_lookup): Handle
74883         nss_parse_service_list out of memory case.
74885 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
74887         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
74888         out of memory case.
74890 2011-10-04  Andreas Schwab  <schwab@redhat.com>
74892         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
74893         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
74894         pass it down.
74895         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
74896         elf_machine_rela, elf_machine_lazy_rel.
74897         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
74898         (ELF_DYNAMIC_DO_REL): Likewise.
74899         (ELF_DYNAMIC_DO_RELA): Likewise.
74900         (ELF_DYNAMIC_RELOCATE): Likewise.
74901         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
74902         to ELF_DYNAMIC_DO_REL.
74903         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
74904         (dl_main): In trace mode always set __RTLD_NOIFUNC.
74905         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
74906         elf_machine_rela.
74907         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
74908         skip_ifunc, don't call ifunc function if non-zero.
74909         (elf_machine_rela): Likewise.
74910         (elf_machine_lazy_rel): Likewise.
74911         (elf_machine_lazy_rela): Likewise.
74912         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
74913         (elf_machine_lazy_rel): Likewise.
74914         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
74915         Likewise.
74916         (elf_machine_lazy_rel): Likewise.
74917         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
74918         Likewise.
74919         (elf_machine_lazy_rel): Likewise.
74920         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
74921         (elf_machine_lazy_rel): Likewise.
74922         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
74923         (elf_machine_lazy_rel): Likewise.
74924         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
74925         (elf_machine_lazy_rel): Likewise.
74926         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
74927         (elf_machine_lazy_rel): Likewise.
74928         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
74929         (elf_machine_lazy_rel): Likewise.
74930         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
74931         (elf_machine_lazy_rel): Likewise.
74933 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
74935         * nss/nss_files/files-init.c (_nss_files_init): Use static
74936         initialization for all the *_traced_file variables.
74938 2011-09-28  Andreas Schwab  <schwab@redhat.com>
74940         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
74942 2011-09-27  Roland McGrath  <roland@hack.frob.com>
74944         [BZ #13226]
74945         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
74947 2011-09-27  Andreas Schwab  <schwab@redhat.com>
74949         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
74950         Reread the line before reparsing it.
74952 2011-09-26  Andreas Schwab  <schwab@redhat.com>
74954         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
74956 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
74957             Maxim Kuvyrkov  <maxim@codesourcery.com>
74958             Joseph Myers  <joseph@codesourcery.com>
74960         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
74961         if needed for __stack_chk_guard.
74963 2011-09-19  Roland McGrath  <roland@hack.frob.com>
74965         * sysdeps/posix/spawni.c (script_execute): Always define it.
74966         It will be optimized away if unused.
74967         (maybe_script_execute): New function.
74968         (__spawni): Call it.
74970         * Makerules: Don't include tls.make.
74971         (config-tls): Always set to thread.
74972         * tls.make.c: File removed.
74974 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
74976         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
74977         * config.make.in (CPPFLAGS-config): New substituted variable.
74979 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74981         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
74983         [BZ #13192]
74984         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
74985         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
74987 2011-09-15  Roland McGrath  <roland@hack.frob.com>
74989         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
74990         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
74991         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
74992         (CALL_FAIL): Likewise.
74993         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
74994         (CALL_FAIL): Macro removed.
74995         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
74997 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
74999         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
75000         for __FINITE_MATH_ONLY__ == 1.
75002 2011-09-15  Andreas Schwab  <schwab@redhat.com>
75004         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
75005         __ieee754_sqrt instead of sqrt.
75006         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
75007         __ieee754_sqrtf instead of sqrtf.
75008         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
75009         __floorf instead of floorf.
75010         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
75011         __floorf, __truncf instead of floorf, truncf.
75013 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
75015         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
75017         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
75018         __extern_always_inline.
75019         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
75020         32-bit.
75022 2011-09-14  Andreas Schwab  <schwab@redhat.com>
75024         * elf/rtld.c (dl_main): Also relocate in dependency order when
75025         doing symbol dependency testing.
75027 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
75029         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
75030         Always define `refsym'.
75032 2011-09-13  Andreas Schwab  <schwab@redhat.com>
75034         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
75035         (__FD_ELT): Renamed from __FDELT.
75036         * misc/bits/select2.h (__FD_ELT): Likewise.
75037         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
75038         __FD_MASK instead of __FDELT, __FDMASK.
75039         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75040         Likewise.
75041         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
75042         Likewise.
75044         * elf/Makefile (gen-ldd): Fix pattern.
75046         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
75047         (init_tls): Likewise.
75049 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
75051         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
75053 2011-09-12  Andreas Schwab  <schwab@redhat.com>
75055         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
75056         `struct cmsghdr *' instead of `void *'.
75057         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
75058         Likewise.
75060 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
75062         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
75063         if non-absolute.
75064         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
75065         ldd_rewrite_script.
75067 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
75069         * configure.in: Remove --with-tls option.
75070         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
75071         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
75072         out in case it is missing.
75073         * sysdeps/ia64/elf/configure.in: Likewise.
75074         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
75075         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
75076         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
75077         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
75078         * sysdeps/sh/elf/configure.in: Likewise.
75079         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
75080         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
75081         * sysdeps/x86_64/elf/configure.in: Likewise.
75082         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
75083         * sysdeps/mach/hurd/tls.h: Likewise.
75085         [BZ #13067]
75086         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
75088         [BZ #13090]
75089         * configure.in: Fix use of AC_INIT.
75091         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
75093 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
75095         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
75096         __set_errno.
75097         * malloc/hooks.c: Likewise.
75099         [BZ #11929]
75100         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
75101         variables statically.
75102         (narenas): Initialize.
75103         (list_lock): Initialize.
75104         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
75105         initializtion of main_arena and list_lock.  Small cleanups.
75106         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
75107         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
75108         Add initializers to main_arena and mp_.
75109         (malloc_state): Remove pagesize member.  Change all users to use
75110         GLRO(dl_pagesize).
75112         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
75113         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
75114         is always initialized.
75116         * malloc/malloc.c: Removed unused configurations and dead code.
75117         * malloc/arena.c: Likewise.
75118         * malloc/hooks.c: Likewise.
75119         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
75121         * include/tls.h: Removed.  USE___THREAD must always be defined.
75122         * bits/libc-tsd.h: Don't handle !USE___THREAD.
75123         * elf/dl-libc.c: Likewise.
75124         * elf/dl-tsd.c: Likewise.
75125         * include/errno.h: Likewise.
75126         * include/netdb.h: Likewise.
75127         * include/resolv.h: Likewise.
75128         * inet/herrno-loc.c: Likewise.
75129         * inet/herrno.c: Likewise.
75130         * malloc/arena.c: Likewise.
75131         * malloc/hooks.c: Likewise.
75132         * malloc/malloc.c: Likewise.
75133         * resolv/res-state.c: Likewise.
75134         * resolv/res_libc.c: Likewise.
75135         * sysdeps/i386/dl-machine.h: Likewise.
75136         * sysdeps/ia64/dl-machine.h: Likewise.
75137         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
75138         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
75139         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
75140         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
75141         * sysdeps/sh/dl-machine.h: Likewise.
75142         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
75143         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
75144         * sysdeps/unix/i386/sysdep.S: Likewise.
75145         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
75146         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
75147         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
75148         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
75149         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
75150         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
75151         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
75152         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
75153         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
75154         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
75155         * sysdeps/unix/x86_64/sysdep.S: Likewise.
75156         * sysdeps/x86_64/dl-machine.h: Likewise.
75157         * tls.make.c: Likewise.
75159         * configure.in: Remove --with-__thread option.  Make tests for
75160         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
75161         tls_model attribute fail if no support is available.  Remove
75162         USE_IN_LIBIO.
75163         * Makeconfig: Adjust for dropped configure option.  All features are
75164         now mandatory.
75165         * Makerules: Likewise.
75166         * Versions.def: Likewise.
75167         * argp/argp-fmtstream.c: Likewise.
75168         * argp/argp-fmtstream.h: Likewise.
75169         * argp/argp-help.c: Likewise.
75170         * assert/assert.c: Likewise.
75171         * config.h.in: Likewise.
75172         * config.make.in: Likewise.
75173         * configure: Likewise.
75174         * configure.in: Likewise.
75175         * csu/Versions: Likewise.
75176         * csu/init.c: Likewise.
75177         * elf/tst-audit2.c: Likewise.
75178         * elf/tst-tls10.c: Likewise.
75179         * elf/tst-tls10.h: Likewise.
75180         * elf/tst-tls11.c: Likewise.
75181         * elf/tst-tls12.c: Likewise.
75182         * elf/tst-tls14.c: Likewise.
75183         * elf/tst-tlsmod11.c: Likewise.
75184         * elf/tst-tlsmod12.c: Likewise.
75185         * elf/tst-tlsmod13.c: Likewise.
75186         * elf/tst-tlsmod13a.c: Likewise.
75187         * elf/tst-tlsmod14a.c: Likewise.
75188         * elf/tst-tlsmod15b.c: Likewise.
75189         * elf/tst-tlsmod16a.c: Likewise.
75190         * elf/tst-tlsmod16b.c: Likewise.
75191         * elf/tst-tlsmod7.c: Likewise.
75192         * elf/tst-tlsmod8.c: Likewise.
75193         * elf/tst-tlsmod9.c: Likewise.
75194         * gmon/gmon.c: Likewise.
75195         * grp/fgetgrent_r.c: Likewise.
75196         * grp/putgrent.c: Likewise.
75197         * hurd/fopenport.c: Likewise.
75198         * include/libc-symbols.h: Likewise.
75199         * include/tls.h: Likewise.
75200         * intl/gettextP.h: Likewise.
75201         * intl/loadinfo.h: Likewise.
75202         * locale/global-locale.c: Likewise.
75203         * locale/localeinfo.h: Likewise.
75204         * mach/devstream.c: Likewise.
75205         * malloc/arena.c: Likewise.
75206         * malloc/set-freeres.c: Likewise.
75207         * misc/err.c: Likewise.
75208         * misc/getttyent.c: Likewise.
75209         * misc/mntent_r.c: Likewise.
75210         * posix/getopt.c: Likewise.
75211         * posix/wordexp.c: Likewise.
75212         * pwd/fgetpwent_r.c: Likewise.
75213         * resolv/Versions: Likewise.
75214         * resolv/res_hconf.c: Likewise.
75215         * shadow/fgetspent_r.c: Likewise.
75216         * shadow/putspent.c: Likewise.
75217         * stdio-common/printf_fphex.c: Likewise.
75218         * stdio-common/tmpfile.c: Likewise.
75219         * stdlib/abort.c: Likewise.
75220         * stdlib/fmtmsg.c: Likewise.
75221         * sunrpc/auth_unix.c: Likewise.
75222         * sunrpc/clnt_perr.c: Likewise.
75223         * sunrpc/clnt_tcp.c: Likewise.
75224         * sunrpc/clnt_udp.c: Likewise.
75225         * sunrpc/clnt_unix.c: Likewise.
75226         * sunrpc/openchild.c: Likewise.
75227         * sunrpc/svc_simple.c: Likewise.
75228         * sunrpc/svc_tcp.c: Likewise.
75229         * sunrpc/svc_udp.c: Likewise.
75230         * sunrpc/svc_unix.c: Likewise.
75231         * sunrpc/xdr.c: Likewise.
75232         * sunrpc/xdr_array.c: Likewise.
75233         * sunrpc/xdr_rec.c: Likewise.
75234         * sunrpc/xdr_ref.c: Likewise.
75235         * sunrpc/xdr_stdio.c: Likewise.
75237 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75239         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
75241 2011-07-03  Andreas Jaeger  <aj@suse.de>
75243         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
75244         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
75245         regenerate with gen-libm-tests.pl.
75247 2010-05-12  Petr Baudis  <pasky@suse.cz>
75249         [BZ #11589]
75250         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
75251         around j0() zero points by switching to j1().
75252         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
75253         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
75254         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
75255         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
75257 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75259         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
75260         instead of 0.
75261         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
75262         instead of 0.
75263         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
75264         Patch in part by Pavel Roskin <proski@gnu.org>.
75266         [BZ #13138]
75267         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
75268         realloc.
75269         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
75270         Free memory block if necessary.
75272         [BZ #12847]
75273         * libio/genops.c (INTDEF): For string streams the _lock pointer can
75274         be NULL.  Don't lock in this case.
75276 2011-09-09  Roland McGrath  <roland@hack.frob.com>
75278         * elf/elf.h (ELFOSABI_GNU): New macro.
75279         (ELFOSABI_LINUX): Define to that.
75281 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
75283         * string/strncat.c (strncat): Undef the symbol in case it has been
75284         defined in bits/string.h.
75286 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
75288         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
75290         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
75291         link map.
75293 2011-08-17  Andreas Jaeger  <aj@suse.de>
75295         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
75297 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
75298             Ian Lance Taylor  <iant@google.com>
75300         * math/libm-test.inc (lround_test): New testcase.
75301         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
75303 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
75305         * Makefile: Remove support for automatic cvs check-ins.
75306         * Makerules: Likewise.
75307         * config.make.in: Likewise.
75308         * configure.in: Likewise.
75309         * intl/Makefile: Likewise.
75310         * locale/Makefile: Likewise.
75311         * po/Makefile: Likewise.
75312         * posix/Makefile: Likewise.
75313         * sysdeps/gnu/Makefile: Likewise.
75314         * sysdeps/mach/hurd/Makefile: Likewise.
75315         * sysdeps/sparc/sparc32/Makefile: Likewise.
75317         [BZ #13118]
75318         * posix/Makefile (bug-regex32-ENV): Define.
75319         Patch by John Stanley <jpsinthemix@verizon.net>.
75321         * misc/Makefile (headers): Add bits/select2.h.
75322         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
75323         * misc/bits/select2.h: New file.
75324         * include/bits/select2.h: New file.
75325         * debug/Makefile (routines): Add fdelt_chk.
75326         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
75327         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
75328         FD_ISSET.
75329         * debug/fdelt_chk.c: New file.
75331         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
75332         * wcsmbs/test-wmemcmp.c: Likewise.
75333         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
75334         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
75336 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75338         * string/Makefile (strop-tests): Add memcmp.
75339         * string/test-wmemcmp.c: New file.
75340         * string/test-memcmp.c: Add wmemcmp support.
75342 2011-09-08  Roland McGrath  <roland@hack.frob.com>
75344         [BZ #13153]
75345         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
75346         2011-07-19 change.
75348         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
75349         garbage value in a __mach_port_mod_refs call in the cases of the
75350         task-self and thread-self ports.
75352 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
75354         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
75356 2011-09-08  Andreas Schwab  <schwab@redhat.com>
75358         * elf/dl-load.c (lose): Check for non-null L.
75360 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75362         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
75364         * elf/dl-libc.c (dlerror_run): Pass back error code from
75365         dl_catch_error.
75367         [BZ #13123]
75368         * elf/dl-load.c (lose): Free l_origin if it is valid.
75370         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
75371         names.
75372         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
75373         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75374         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75375         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75376         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
75377         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
75379 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
75381         * sysdeps/powerpc/fpu/e_hypot.c: New file.
75382         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
75383         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
75384         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
75385         * sysdeps/powerpc/fpu/k_cosf.c: New file.
75386         * sysdeps/powerpc/fpu/k_sinf.c: New file.
75387         * sysdeps/powerpc/fpu/s_cosf.c: New file.
75388         * sysdeps/powerpc/fpu/s_sinf.c: New file.
75389         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
75390         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
75392 2011-08-15  Alan Modra  <amodra@gmail.com>
75394         [BZ #13092]
75395         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
75396         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
75397         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
75398         ppc_mcount to static-only-routines.
75399         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
75400         __mcount_internal.
75401         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
75402         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
75404 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
75406         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
75407         for finite and infinity parameters.
75409 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
75411         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
75412         and add nop instructions for throughput optimization.
75413         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
75415 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
75417         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
75418         aligned copy for power7 with vector-scalar instructions.
75419         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
75421 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
75423         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
75424         AVX check.
75426 2011-09-07  Andreas Schwab  <schwab@redhat.com>
75428         [BZ #13144]
75429         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
75430         last change.
75432 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
75434         * sysdeps/unix/sysv/linux/x86_64/init-first.c
75435         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
75436         syscall wrapper around clock_gettime in __vdso_clock_gettime.
75437         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
75438         clock_gettime.
75440 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75442         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
75443         Forgot to demangle the pointer.
75445         * sysdeps/i386/sysdep.h: Define atom_text_section.
75446         * sysdeps/x86_64/sysdep.h: Likewise.
75447         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
75448         section with atom_text_section.
75449         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
75450         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
75451         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
75452         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
75453         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
75455         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
75456         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
75457         already be defined.  Change to take two parameters and don't assign
75458         result to variable.  Adjust all users.
75459         Define INTERNAL_GETTIME if not already defined.
75460         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
75461         call.
75462         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
75463         HAVE_CLOCK_GETTIME_VSYSCALL.
75464         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
75466         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
75467         gettimeofday vsyscall, just use time.
75469 2011-09-06  Andreas Schwab  <schwab@redhat.com>
75471         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
75472         <errno.h>.
75474 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
75476         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
75477         syscall on x86-64.
75478         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
75479         syscall.
75480         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
75481         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
75482         syscall if possible.
75484 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75486         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
75487         e_ident.  Don't pass to find_mapsXX.
75488         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
75490 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75492         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75493         strchr-sse2-no-bsf strrchr-sse2-no-bsf
75494         * sysdeps/x86_64/multiarch/strchr.S: Update.
75495         Check bit_slow_BSF bit.
75496         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
75497         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
75498         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
75500 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75502         [BZ #13134]
75503         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
75504         before glibc 2.15.
75505         (tryshell): Define.
75506         (__spawni): Change last parameter to be flag.  Test
75507         SPAWN_XFLAGS_USE_PATH flag to use path or not.
75508         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
75509         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
75510         * posix/spawni.c: Likewise.
75511         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
75512         * posix/spawnp.c: Likewise.  Change normal version to use
75513         SPAWN_XFLAGS_USE_PATH.
75514         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
75515         SPAWN_XFLAGS_TRY_SHELL.
75517         [BZ #13150]
75518         * posix/glob.h: Remove gcc 1.x support.
75520         [BZ #13068]
75521         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
75523 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75525         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75526         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
75527         strrchr-sse2-bsf
75528         * sysdeps/i386/i686/multiarch/strchr.S: New file.
75529         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
75530         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
75531         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
75532         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
75533         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
75535 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75537         * sysdeps/x86_64/wcscmp.S: New file.
75539         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
75540         wcscmp-c wcscmp-sse2
75541         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
75542         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
75543         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
75544         * wcsmbs/wcscmp.c: Allow renaming.
75546 2011-09-05  David S. Miller  <davem@davemloft.net>
75548         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
75549         stack slot, rather than the struct return pointer slot.
75550         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
75551         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
75552         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
75553         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
75555 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
75557         * po/ja.po: Update from translation team.
75559         [BZ #13144]
75560         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
75561         kernel in 64-bit binaries.
75563 2011-09-01  David S. Miller  <davem@davemloft.net>
75565         * elf/elf.h (HWCAP_SPARC_*): Move to..
75566         * sysdeps/sparc/sysdep.h: this new file and add new values.
75567         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
75568         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
75569         _DL_HWCAP_COUNT to 24.
75570         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
75571         entries.
75572         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
75573         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
75574         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
75575         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
75576         instead of magic constants.
75577         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
75579 2011-08-31  David S. Miller  <davem@davemloft.net>
75581         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
75582         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
75583         Reimplement to do errno handling inline.
75584         (SYSCALL_ERROR_HANDLER): New macro.
75585         (__SYSCALL_STRING): Do not do errno handling in asm.
75586         (__CLONE_SYSCALL_STRING): Delete.
75587         (__INTERNAL_SYSCALL_STRING): Delete.
75588         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
75589         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
75590         (PSEUDO): Reimplement to do errno handling inline.
75591         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
75592         (SYSCALL_ERROR_HANDLER): New macro.
75593         (__SYSCALL_STRING): Do not do errno handling in asm.
75594         (__CLONE_SYSCALL_STRING): Delete.
75595         (__INTERNAL_SYSCALL_STRING): Delete.
75596         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
75597         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
75598         i386.
75599         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
75600         (inline_syscall*): Add 'err' argument.
75601         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
75602         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
75603         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
75604         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
75606         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
75607         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
75609 2011-08-30  Andreas Schwab  <schwab@redhat.com>
75611         * elf/rtld.c (dl_main): Relocate objects in dependency order.
75613 2011-08-29  Jiri Olsa <jolsa@redhat.com>
75615         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
75616         directive.
75618 2011-08-24  David S. Miller  <davem@davemloft.net>
75620         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
75622 2011-08-24  Andreas Schwab  <schwab@redhat.com>
75624         * elf/Makefile: Add rules to build and run unload8 test.
75625         * elf/unload8.c: New file.
75626         * elf/unload8mod1.c: New file.
75627         * elf/unload8mod1x.c: New file.
75628         * elf/unload8mod2.c: New file.
75629         * elf/unload8mod3.c: New file.
75631         * elf/dl-close.c (_dl_close_worker): Reset private search list if
75632         it wasn't used.
75634 2011-08-23  David S. Miller  <davem@davemloft.net>
75636         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
75637         subtract stack bias.
75638         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
75639         %sp not %fp in calculations.
75640         (_JMPBUF_UNWINDS_ADJ): Likewise.
75642         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
75643         (aio_suspend): Call it to force an exception region around the
75644         AIO_MISC_WAIT() invocation.
75646 2011-08-23  Andreas Schwab  <schwab@redhat.com>
75648         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
75649         backslash.
75651 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
75653         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
75654         protection macro.
75655         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
75656         and <dl-machine.h>.
75657         (Elf64_FuncDesc): Remove.
75659 2011-08-22  David S. Miller  <davem@davemloft.net>
75661         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
75662         sigaltstack check, add missing cfi directives.
75663         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
75664         missing cfi directives, and sigaltstack handling.
75666 2011-08-16  Andreas Schwab  <schwab@redhat.com>
75668         [BZ #11724]
75669         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
75670         object is seen twice.
75671         * elf/dl-fini.c (_dl_sort_fini): Likewise.
75673         * elf/Makefile (distribute): Add tst-initorder2.c.
75674         (tests): Add tst-initorder2.
75675         (modules-names): Add tst-initorder2a tst-initorder2b
75676         tst-initorder2c tst-initorder2d.  Add rules to build them.
75677         ($(objpfx)tst-initorder2.out): New rule.
75678         * elf/tst-initorder2.c: New file.
75679         * elf/tst-initorder2.exp: New file.
75681 2011-08-22  Andreas Schwab  <schwab@redhat.com>
75683         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
75685         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
75686         dependencies back to end of function.
75688         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
75689         $(elfobjdir)/ld.so.
75691 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
75693         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
75694         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
75695         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
75696         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
75697         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
75698         of __vdso_gettimeofday.
75699         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
75700         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
75701         attribute_hidden.
75702         (_libc_vdso_platform_setup): Remove initialization of
75703         __vdso_gettimeofday and __vdso_time.
75705 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75707         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
75708         and fgetc_unlocked.
75709         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
75710         getc_unlocked.
75712         * elf/dl-open.c (add_to_global): Report additions to the global scope
75713         for LD_DEBUG=scopes.
75714         (dl_open_worker): Also print scope of newly loaded dependencies.
75715         (_dl_show_scope): Indicate if there is no scope.
75717         [BZ #13114]
75718         * stdio-common/Makefile (tests): Add bug24.
75719         * stdio-common/bug24.c: New file.
75721 2011-08-19  Andreas Jaeger  <aj@suse.de>
75723         [BZ #13114]
75724         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
75725         non-existant file when using close-on-exec mode.
75727 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
75729         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
75730         the very first instruction.
75732         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
75733         the CFI state in the end.
75734         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
75735         inclusion of dl-trampoline.h.
75736         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
75738 2011-08-19  Andreas Schwab  <schwab@redhat.com>
75740         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
75741         expectations for long double.
75743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
75744         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
75746 2011-08-14  David S. Miller  <davem@davemloft.net>
75748         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
75749         artificual limit depends upon the system page size.
75751 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75753         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
75754         * resolv/Makefile: Define CFLAGS-libresolv.
75756 2011-08-17  Andreas Schwab  <schwab@redhat.com>
75758         * nss/makedb.c (compute_tables): Make variables used in nested
75759         function static.
75761 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
75763         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
75764         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
75765         if buffer was too small.
75767         * elf/pldd.c (main): Attach to all threads in the process.
75768         Rewrite /proc handling to use *at functions.
75770 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
75772         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
75773         specifies first scope to show.
75774         (dl_open_worker): Update callers.  Move printing scope of new
75775         object to before the relocation.
75776         * elf/rtld.c (dl_main): Update _dl_show_scope call.
75777         * sysdeps/generic/ldsodefs.h: Update declaration.
75779         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
75780         string for the scope number.
75782 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
75784         * nscd/servicescache.c (cache_addserv): Make sure written is always
75785         initialized.
75787 2011-08-14  Roland McGrath  <roland@hack.frob.com>
75789         * sysdeps/i386/i486/bits/atomic.h
75790         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
75791         statement expression, so as to suppress "set but not used" warning.
75792         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
75794         * string/strncat.c (STRNCAT): Use prototype definition.
75796         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
75797         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
75798         -Iprograms here.
75799         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
75800         (localedef-modules): Add localedef.
75801         (locale-modules): Add locale.
75803         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
75804         * elf/rtld.c (dl_main): Invert order of assignment in last change,
75805         to avoid a warning.
75807 2011-08-14  David S. Miller  <davem@davemloft.net>
75809         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
75810         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
75812 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
75814         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
75815         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
75816         * elf/rtld.c (dl_main): Set l_name of vDSO.
75817         Call _dl_show_scope when DL_DEBUG_SCOPES.
75818         (process_dl_debug): Recognize scopes flag and also set it for all.
75819         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
75820         Declare _dl_show_scope.
75822         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
75823         (do_dlopen): Pass caller_dlopen to dl_open.
75824         (__libc_dlopen_mode): Initialize caller_dlopen.
75826         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
75827         of libc.  Make tolower call locale-independent.  Optimize a bit by
75828         using isdigit instead of isalnum.
75829         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
75831 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
75833         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
75834         was a dependency or dynamically loaded.
75836 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
75838         * intl/l10nflist.c: Allow architecture-specific pop function.
75839         * sysdeps/x86_64/l10nflist.c: New file.
75841         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
75842         classification.
75844 2011-08-10  Andreas Schwab  <schwab@redhat.com>
75846         * include/dirent.h: Add libc_hidden_proto for scandirat and
75847         scandirat64.  Don't declare __scandirat64.
75848         * dirent/scandirat.c: Add libc_hidden_def.
75849         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
75850         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
75852 2011-08-10  David S. Miller  <davem@davemloft.net>
75854         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
75855         enum.
75856         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75857         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75858         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75860 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
75862         * Versions.def [libc]: Add GLIBC_2.15.
75863         * dirent/Makefile (routines): Add scandirat and scandirat64.
75864         * dirent/Versions [libc]: Export scandirat and scandirat64 for
75865         GLIBC_2.15.
75866         * dirent/dirent.h: Declare scandirat and scandirat64.
75867         * dirent/scandirat.c: New file.
75868         * dirent/scandirat64.c: New file.
75869         * sysdeps/wordsize-64/scandirat.c: New file.
75870         * sysdeps/wordsize-64/scandirat64.c: New file.
75871         * dirent/opendir.c: Define opendirat.
75872         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
75873         using scandirat.
75874         * dirent/scandir64.c: Adjust for scandir.c change.
75875         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
75876         __scandirat64, and __scandir_cancel_handler.
75877         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
75878         additional parameter and use openat instead of open (outside of ld.so).
75879         Add new __opendir as wrapper around __opendirat.
75880         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
75881         here without requiring old scandirat implementation.
75883 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
75885         * dirent/scandir.c (cancel_handler): Renamed to
75886         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
75887         defined.  Adjust users.
75888         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
75889         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
75891 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
75893         * string/test-string.h (IMPL): Use __STRING to expand name and then
75894         stringify it.
75896         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
75897         of cleanups.
75899 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75901         * string/Makefile: Update.
75902         (strop-tests): Append strncat.
75903         * string/test-wcscmp.c: New file.
75904         New comprehensive test for wcscmp.
75905         * string/test-strcmp.c: Update.
75906         (WIDE): New define.
75908 2011-07-22  Andreas Schwab  <schwab@redhat.com>
75910         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
75911         line.
75913 2011-07-26  Andreas Schwab  <schwab@redhat.com>
75915         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
75916         encoding to ACE if AI_IDN.
75918 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
75920         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
75921         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
75923 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75925         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
75926         Fix overflow bug in strncat.
75927         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
75929         * string/test-strncat.c: Update.
75930         Add new tests for checking overflow bugs.
75932 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
75934         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
75935         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
75936         * sysdeps/i386/i686/multiarch/strcat.S: New file.
75937         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
75938         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
75939         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
75940         * sysdeps/i386/i686/multiarch/strncat.S: New file.
75941         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
75942         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
75944         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
75945         (USE_AS_STRCAT): Define.
75946         Add strcat and strncat support.
75947         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
75949 2011-07-25  Andreas Schwab  <schwab@redhat.com>
75951         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
75952         __n bigger than INT_MAX+1.
75953         (__strncmp_g): Likewise.
75955 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
75957         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
75958         * libio/stido.h: Likewise.
75960         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
75961         (AF_NFC): Define.
75962         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
75963         (AF_NFC): Define.
75965         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
75966         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
75967         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
75968         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
75969         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
75971         [BZ #13021]
75972         * scripts/test-installation.pl: Don't expect libnss_test1 to be
75973         installed.
75975         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
75976         typo.
75977         (_dl_x86_64_save_sse): Likewise.
75979 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
75981         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
75982         OSXSAVE.
75983         (_dl_x86_64_save_sse): Likewise.
75985         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
75987         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
75989 2011-07-21  Andreas Schwab  <schwab@redhat.com>
75991         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
75992         change.
75993         (_dl_x86_64_save_sse): Use correct AVX check.
75995 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75997         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
75998         bug in strncpy/strncat.
75999         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
76001 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
76003         * string/tester.c (test_strcat): Add tests for different alignments
76004         of source and destination.
76005         (test_strncat): Likewise.
76007 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76009         [BZ #12852]
76010         * posix/glob.c (glob): Check passed in values before using them in
76011         expressions to avoid some overflows.
76012         (glob_in_dir): Likewise.
76014         [BZ #13007]
76015         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
76016         check for AVX enablement so that we don't crash with old kernels and
76017         new hardware.
76018         * elf/tst-audit4.c: Add same checks here.
76019         * elf/tst-audit6.c: Likewise.
76021         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
76023 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
76025         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
76027 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
76029         * po/cs.po: Update from translation team.
76030         * po/bg.po: Likewise.
76032 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
76034         * misc/sys/cdefs.h: Add support for const attribute.
76035         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
76036         to gnu_dev_{major,minor,makedev} functions.
76038 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
76040         * intl/dcigettext.c (get_output_charset): Add missing bracket.
76042 2011-07-20  Andreas Schwab  <schwab@redhat.com>
76044         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
76045         strlen results.
76047 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76049         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
76050         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
76051         register in order to avoid conflicts with the soft frame pointer
76052         being held in r11 when necessary.
76053         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
76054         (INTERNAL_VSYSCALL_NCS): Likewise.
76056 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
76058         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
76059         * elf/dl-fini.c (_dl_fini): Adjust caller.
76060         * elf/dl-close.c (_dl_close_worker): Likewise.
76061         * sysdeps/generic/ldsodefs.h: Adjust declaration.
76063 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76065         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
76066         "aux_cache->nlibs < 0".
76068         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
76069         in the reload-count case.
76071 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
76073         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76074         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
76075         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
76076         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
76077         * sysdeps/x86_64/multiarch/strcat.S: New file.
76078         * sysdeps/x86_64/multiarch/strncat.S: New file.
76079         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
76080         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
76081         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
76082         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
76083         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
76084         (USE_AS_STRCAT): Define.
76085         Add strcat and strncat support.
76086         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
76087         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
76088         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
76089         * string/strncat.c: Update.
76090         (USE_AS_STRNCAT): Define.
76091         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76092         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
76093         and i7.
76094         * sysdeps/x86_64/multiarch/init-arch.h
76095         (bit_Prefer_PMINUB_for_stringop): New.
76096         (index_Prefer_PMINUB_for_stringop): Likewise.
76097         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
76098         bit_Prefer_PMINUB_for_stringop.
76100 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76102         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
76103         buffer64.
76104         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
76105         of casting of buffer.
76106         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
76107         buffer32 and buffer64.
76108         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
76109         writes instead of casting of buffer.
76110         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
76111         buffer32.
76112         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
76113         casting of buffer.
76115 2011-07-19  Andreas Schwab  <schwab@redhat.com>
76117         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
76119 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
76121         * nscd/nscd.c (termination_handler): Don't do anything for a database
76122         if it has not yet been initialized.
76124 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76126         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76128 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
76130         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
76132 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
76134         * po/nl.po: Update from translation team.
76135         * po/sv.po: Likewise.
76137 2011-07-16  Roland McGrath  <roland@hack.frob.com>
76139         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
76140         now disallowed by GCC.
76142         * configure.in (use-default-link): Default to yes if a test -shared
76143         link meets our qualifications.
76144         * configure: Regenerated.
76146         * config.make.in (output-format): New variable.
76147         * configure.in: Check for ld --print-output-format support.
76148         * configure: Regenerated.
76149         * Makerules ($(common-objpfx)format.lds)
76150         [$(output-format) != unknown]: Just use $(output-format),
76151         instead of the linker-script munging.
76153 2011-07-14  Roland McGrath  <roland@hack.frob.com>
76155         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
76156         of $(common-objpfx)shlib.lds.
76157         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
76159         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
76160         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
76162         * configure.in (-z relro check): Adjust test code to add a large
76163         writable data section after it.
76164         * configure: Regenerated.
76166 2011-07-11  Roland McGrath  <roland@hack.frob.com>
76168         * configure.in (-z relro check): Fix test code to make the variable
76169         truly const.
76170         * configure: Regenerated.
76172 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
76174         * nscd/nscd.h (struct traced_file): Define.
76175         (struct database_dyn): Remove inotify_descr, reset_res, and filename
76176         elements.  Add traced_files.
76177         (inotify_fd): Declare.
76178         (register_traced_file): Declare.
76179         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
76180         (inotify_fd): Export.
76181         (resolv_conf_descr): Remove.
76182         (nscd_init): Move inotify descriptor creation to main.
76183         Don't register files for notification here.
76184         (register_traced_file): New function.
76185         (invalidate_cache): Don't use reset_res to determine whether to call
76186         res_init, go through the list of registered files.
76187         (main_loop_poll): The inotify descriptors are now stored in the
76188         structures for the traced files.
76189         (main_loop_epoll): Likewise.
76190         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
76191         to __nss_disable_nscd.
76192         * nscd/cache.c (prune_cache): There is no single inotify descriptor
76193         for a database anymore.  Check the records for all the registered
76194         files instead.
76195         * nss/Makefile (libnss_files-routines): Add files-init.
76196         (libnss_db-routines): Add db-init.
76197         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
76198         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
76199         * nss/nss_db/db-init.c: New file.
76200         * nss/nss_files/files-init.c: New file.
76201         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
76202         __nss_lookup_function.
76203         (__nss_lookup_function): Call nss_load_library.
76204         (nss_load_all_libraries): New function.
76205         (__nss_disable_nscd): Take parameter with callback function for files
76206         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
76207         used for the cached services.
76208         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
76209         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
76210         options for features to all the files in nscd.
76212         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
76214 2011-07-10  Roland McGrath  <roland@hack.frob.com>
76216         * csu/elf-init.c (__libc_csu_init): Comment typo.
76218 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
76220         * po/pl.po: Update from translation team.
76221         * po/ja.po: Likewise.
76222         * po/ru.po: Likewise.
76223         * po/ko.po: Likewise.
76224         * po/fr.po: Likewise.
76226 2011-07-09  Roland McGrath  <roland@hack.frob.com>
76228         * configure.in (.ctors/.dtors header and trailer check):
76229         Use an empirical test on a built program.
76230         * configure: Regenerated.
76232         * configure.in (-z relro check): Use an empirical test on a built DSO.
76233         Detect, but do not require, on ia64.
76234         * configure: Regenerated.
76236         * configure.in (READELF): Find it with AC_CHECK_TOOL.
76237         Update tests that use readelf to use $READELF instead.
76238         * configure: Regenerated.
76240 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
76242         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
76243         if the result is not used.
76245 2011-07-05  Andreas Jaeger  <aj@suse.de>
76247         [BZ#9696]
76248         * stdlib/tst-strtod.c: Add testcase.
76250 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
76252         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
76253         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
76254         The latter has a higher limit.  Take additional parameter to pass to
76255         the new function.
76256         (__pathconf): Pass file to __statfs_link_max.
76257         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
76258         __statfs_link_max.
76259         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
76260         __statfs_link_max.
76262         [BZ #12868]
76263         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
76264         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
76265         Handle Lustre.
76266         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
76267         (__statfs_filesize_max): Likewise.
76268         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
76270 2011-07-05  Andreas Jaeger  <aj@suse.de>
76272         * resolv/res_comp.c (dn_skipname): Remove unused variable.
76274 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
76276         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
76277         `status' variable.
76278         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
76279         Likewise.
76281 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
76283         * Makefile (strop-tests): Add strncat.
76284         * string/test-strncat.c: New file.
76286 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
76288         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
76290 2011-06-21  Andreas Jaeger  <aj@suse.de>
76292         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
76293         Copy rule from iconvdata/Makefile.
76295 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76297         [BZ #12922]
76298         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
76299         but no long options are defined, just return 'W'.
76301 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
76303         [BZ #9696]
76304         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
76306 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
76308         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
76309         netgroups to read.
76310         (innetgr): Likewise.
76312 2011-07-05  Roland McGrath  <roland@hack.frob.com>
76314         * config.make.in (install_root): Default to $(DESTDIR).
76316 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
76318         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
76320 2011-07-02  Roland McGrath  <roland@hack.frob.com>
76322         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
76324         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
76325         containing directory rather than embedding absolute directory names.
76327         * scripts/check-local-headers.sh: Rewritten using awk.
76328         Match by word, not by line.  Print error messages for matches.
76329         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
76331         * Makerules [shlib-lds-flags empty]:
76332         ($(common-objpfx)libc_pic.opts): New target.
76333         ($(common-objpfx)libc_pic.os.clean): New target.
76334         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
76336         * config.make.in (OBJCOPY): New variable.
76337         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
76338         * configure: Regenerated.
76340         * config.make.in (use-default-link): New variable.
76341         * configure.in (use_default_link): Grok --with-default-link to set it.
76342         * configure: Regenerated.
76343         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
76344         (shlib-lds, shlib-lds-flags): Define to empty.
76346         * Makerules (shlib-lds): New variable.
76347         (shlib-lds-flags): New variable.
76348         (build-shlib, build-moduile, build-module-asneeded): Use it.
76349         ($(common-objpfx)libc.so): Use $(shlib-lds).
76350         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
76351         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
76353         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
76354         DT_FLAGS/DT_FLAGS_1 with zero flags.
76356         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
76357         linker script munging.
76359 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
76361         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
76362         as 128-bit value.
76363         * crypt/sha512.c (sha512_process_block): Perform total addition using
76364         128-bit if possible.
76365         (__sha512_finish_ctx): Likewise.
76366         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
76367         as 64-bit value.
76368         * crypt/sha256.c (SWAP64): Define.
76369         (sha256_process_block): Perform total addition using 64-bit if
76370         possible.
76371         (__sha256_finish_ctx): Likewise.
76373 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
76375         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
76376         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76377         * nscd/hstcache.c (cache_addhst): Likewise.
76378         * nscd/grpcache.c (cache_addgr): Likewise.
76379         * nscd/aicache.c (addhstaiX): Likewise.
76380         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
76382 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
76384         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
76385         * nscd/initgrcache.c (addinitgroupsX): Likewise.
76386         * nscd/hstcache.c (cache_addhst): Likewise.
76387         * nscd/grpcache.c (cache_addgr): Likewise.
76388         * nscd/aicache.c (addhstaiX): Likewise.
76390 2011-07-01  Andreas Schwab  <schwab@redhat.com>
76392         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
76393         domain only when needed.
76395 2011-06-30  Andreas Schwab  <schwab@redhat.com>
76397         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
76398         is always restored.
76400 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
76402         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
76403         are re-adding the entry.
76404         * nscd/servicescache.c (cache_addserv): Likewise.
76406 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
76408         * sysdeps/generic/dl-irel.h: fix protection against multiple
76409         inclusions.
76410         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
76412 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
76414         [BZ #12935]
76415         * malloc/memusage.sh: Fix quoting in message.
76416         * debug/xtrace.sh: Likewise.
76418         * configure.in: Remove support for --experimental-malloc option, make
76419         it the default.
76420         * config.make.in: Likewise.
76421         * malloc/Makefile: Likewise.
76423 2011-06-27  Andreas Schwab  <schwab@redhat.com>
76425         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
76426         two-byte characters.
76428 2011-06-27  Roland McGrath  <roland@hack.frob.com>
76430         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
76431         AC_CACHE_CHECK invocation.
76432         * configure: Regenerated.
76434         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
76436 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
76438         [BZ #12350]
76439         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
76440         bit from old_res_options.
76442         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
76444         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
76445         value type for setfct.
76447 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
76449         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76450         __gettimeofday instead of gettimeofday.
76452 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
76454         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
76456 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
76458         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
76460         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
76461         info.
76463 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76465         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
76466         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76467         strcpy-sse2-unaligned strncpy-sse2-unaligned
76468         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
76469         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
76470         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
76471         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
76472         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
76473         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
76474         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
76475         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
76476         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
76477         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
76478         (STRCPY): Support SSE2 and SSSE3 versions.
76480 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
76482         [BZ #12874]
76483         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
76484         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
76485         kernels which artificially limit size of requests.
76487 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
76489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
76490         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
76491         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
76492         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
76493         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
76494         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
76495         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
76496         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
76497         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
76498         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
76499         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
76500         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
76501         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
76502         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
76503         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
76504         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76505         Enable unaligned load optimization for Intel Core i3, i5 and i7
76506         processors.
76507         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
76508         Define.
76509         (index_Fast_Unaligned_Load): Define.
76510         (HAS_FAST_UNALIGNED_LOAD): Define.
76512 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
76514         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
76516 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76518         [BZ #12907]
76519         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
76520         until it is clear that the information is realy needed.
76521         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
76523 2011-06-22  Andreas Schwab  <schwab@redhat.com>
76525         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
76527 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
76529         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
76530         /sys/devices/system/cpu/online if it is usable.
76532         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
76533         reading the information from the /proc filesystem to once a second.
76535 2011-06-21  Andreas Jaeger  <aj@suse.de>
76537         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
76538         NULL after inclusion of kernel headers.
76540 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
76542         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
76543         calls to internal_setent.
76545         [BZ #12885]
76546         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
76547         addresses using gethostbyname4_r ignore IPv4 addresses.
76549         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
76550         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
76552         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
76554 2011-06-20  David S. Miller  <davem@davemloft.net>
76556         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
76557         inclusions.
76558         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
76560         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
76561         (elf_irel): Use it.
76562         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
76563         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
76564         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
76565         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
76566         * sysdeps/x86_64/dl-irel.h: Likewise.
76568         * elf/dl-runtime.c: Use elf_ifunc_invoke.
76569         * elf/dl-sym.c: Likewise.
76571 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76573         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
76574         need to dereference resplen2.
76576 2011-06-14  Andreas Schwab  <schwab@redhat.com>
76578         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
76580 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
76582         * Makeconfig: Define vardbdir and inst_vardbdir.
76583         * nss/Makefile: Add rules to install db-Makefile.
76585         * nss/nss_db/db-XXX.c: Cleanup.
76587         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
76588         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
76589         GLIBC_PRIVATE.
76590         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
76591         * nss/makedb.c: Implement -g option to specify that value strings
76592         are generated and should not be added to table iterated over for
76593         get*ent calls.
76594         * nss/nss_db/db-initgroups.c: New file.
76596         * nss/getent.c: Add support for initgroups lookups through getgrouplist
76597         interface.
76599         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
76600         (internal_getgrouplist): Adjust to name change.
76601         Update use_initgroups_entry if this is not the first call.
76602         * nss/databases.def: Add initgroups entry.
76604         * nss/makedb.c (compute_tables): Check result of multiple hash table
76605         sizes to minimize maximum chain length.
76607 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
76609         * Versions.def: Add entry for libnss_db.
76610         * shlib-versions: Likewise.
76611         * nss/Makefile: Add rules to build libnss_db.
76612         * nss/Versions: Add libnss_db information.  Organize libnss_files
76613         entries better.
76614         * nss/db-Makefile: Add gshadow support.  Change rules for the new
76615         makedb progra.  Some minor improvements to generate smaller files.
76616         * nss/nss_db/nss_db.h: Move NSS database header data structures to
76617         here from...
76618         * nss/makedb.c: ...here.
76619         Improve database format to be smaller and require less memory at
76620         runtime.
76621         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
76622         db anymore.
76623         * nss/nss_db/db-netgrp.c: Likewise.
76624         * nss/nss_db/db-open.c: Likewise.
76625         * nss/nss_files/flies-XXX.x: Adjust comments.
76626         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
76627         * nss/nss_files/files-grp.c: Likewise.
76628         * nss/nss_files/files-hosts.c: Likewise.
76629         * nss/nss_files/files-network.c: Likewise.
76630         * nss/nss_files/files-proto.c: Likewise.
76631         * nss/nss_files/files-pwd.c: Likewise.
76632         * nss/nss_files/files-rpc.c: Likewise.
76633         * nss/nss_files/files-service.c: Likewise.
76634         * nss/nss_files/files-sgrp.c: Likewise.
76635         * nss/nss_files/files-spwd.c: Likewise.
76636         * nss/nss_db/db-alias.c: Removed.
76637         * nss/nss_db/dummy-db.h: Removed.
76639 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
76641         * nss/makedb.c: Rewritten to not use database library.
76642         * nss/Makefile: Update to build new makedb program.
76644 2011-06-14  Andreas Jaeger  <aj@suse.de>
76646         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
76647         memset declaration.
76649 2011-06-10  Andreas Schwab  <schwab@redhat.com>
76651         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
76652         tmpbuf.
76654 2011-06-10  Roland McGrath  <roland@hack.frob.com>
76656         * Makerules (shlib.lds): Fail if the linker script comes out empty.
76657         * elf/Makefile ($(objpfx)ld.so): Likewise.
76659         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
76660         Don't list ld.so twice in dependencies.
76662         * posix/bug-regex31.c: Include <stdlib.h>.
76664         * nscd/hstcache.c (cache_addhst): Remove unused variable.
76666         * nis/nss_compat/compat-spwd.c
76667         (getspent_next_nss_netgr): Remove unused variable.
76668         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
76670         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
76671         nonmembers" output to use the right array.
76673         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
76675         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
76677         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
76678         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
76679         * catgets/gencat.c (read_input_file): Likewise.
76680         * locale/programs/locarchive.c (enlarge_archive): Likewise.
76682         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
76683         variable definition inside #if's controlling its use.
76685         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
76687         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
76689         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
76691         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
76692         unreachable code.
76694         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
76696         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
76697         * configure: Regenerated.
76699         * Makerules: Revert last change.
76700         * elf/Makefile: Likewise.
76702 2011-06-09  Roland McGrath  <roland@hack.frob.com>
76704         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
76705         * elf/Makefile ($(objpfx)librtld.os): Likewise.
76706         (reloc-link): Likewise.
76708 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
76710         * elf/Makefile: Add rules to build pldd.
76711         * elf/pldd.c: New file.
76712         * elf/pldd-xx.c: New file.
76714 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
76716         * version.h: Update for 2.15 development version.
76718 2011-06-07  David S. Miller  <davem@davemloft.net>
76720         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
76721         ifuncs.
76722         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
76723         elf_machine_lazy_rel): Likewise.
76724         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
76725         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
76726         elf_machine_lazy_rel): Likewise.
76727         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
76728         dl_hwcap via passed in argument.
76729         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
76730         Likewise.
76732 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76734         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
76736 2011-06-06  Roland McGrath  <roland@hack.frob.com>
76738         [BZ #12849]
76739         * manual/fdl-1.1.texi: New file, verbatim from:
76740         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
76741         * manual/lgpl-2.1.texi: New file, verbatim from:
76742         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
76743         * manual/Makefile (licenses): New variable, list those new file names.
76744         (texis): Use it.
76745         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
76747         * manual/fdl.texi: File removed.
76748         * manual/lesser.texi: File removed.
76749         * manual/libc.texinfo (Copying, Documentation License):
76750         Use new @include file names, put @appendix directive before @include.
76752 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
76754         [BZ #12841]
76755         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
76756         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
76757         (mq_open): Add __NTH.
76759 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
76761         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
76762         Assume Intel Core i3/i5/i7 processor if AVX is available.
76764 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76766         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76767         typo.
76769 2011-05-31  Andreas Schwab  <schwab@redhat.com>
76771         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
76772         memory.  Use alloca_account.  Fix memory leak when retrying.
76774 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
76776         * version.h (RELEASE): Bump for 2.14 release.
76777         * include/features.h (__GLIBC_MINOR__): Bump to 14.
76779         * config.make.in (RANLIB): Remove entry.
76781 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
76783         * po/Makefile (po-sed-cmd): Add ksh to extensions.
76784         (libc.pot): Work around missing support for .ksh extension in xgettext.
76786         [BZ #12684]
76787         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
76788         if both request failed.
76789         (send_dg): In case of server errors clear resplen or *resplen2.
76791         [BZ #12454]
76792         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
76793         when there are multiple maps.
76794         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
76795         (_dl_fini): Remove test here.
76797         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
76799 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
76801         [BZ #12350]
76802         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
76803         bit from old_res_options.
76804         (gaih_inet): Likewise.
76806         [BZ #11099]
76807         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
76808         as signed.
76810         * resolv/res_init.c (res_setoptions): Make the code more compact.
76812         [BZ #11558]
76813         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
76814         set RES_USEVC.
76816         [BZ #11634]
76817         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
76819         * malloc/malloc.h: Mark malloc hook variables as deprecated.
76821         [BZ #11781]
76822         * malloc/malloc.h: Declare malloc hook variables as volatile.
76824         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
76825         in last patch.
76827         [BZ #11799]
76828         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
76829         raise in the comment.
76830         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
76831         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
76832         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
76834 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
76836         [BZ #12811]
76837         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
76838         grow the buffers more if it already has to be sufficient.
76839         (build_wcs_upper_buffer): Likewise.
76840         * posix/regexec.c (check_matching): Likewise.
76841         (clean_state_log_if_needed): Likewise.
76842         (extend_buffers): Don't enlarge buffers beyond size of the input
76843         buffer.
76844         Patches mostly by Emil Wojak <emil@wojak.eu>.
76845         * posix/bug-regex32.c: New file.
76846         * posix/Makefile (tests): Add bug-regex32.
76848         * locale/findlocale.c (_nl_find_locale): Return right away if
76849         _nl_explode_name failed.
76850         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
76852         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
76854         * debug/xtrace.sh: Unify messages.
76855         * malloc/memusage.sh: Likewise.
76857         [BZ #12813]
76858         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
76859         time symbol from vDSO.  Substitute with vsyscall if not available.
76860         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
76861         __vdso_time.
76863         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
76864         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
76865         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
76866         Add sendmmsg and internal_sendmmsg.
76867         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
76868         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
76869         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
76871         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
76872         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
76873         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
76875 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
76877         [BZ #12813]
76878         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
76879         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
76880         available.
76881         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
76882         __vdso_getcpu.
76884         [BZ #12814]
76885         * iconvdata/Makefile (tests): Add bug-iconv9.
76886         * iconvdata/bug-iconv9.c: New file.
76888 2011-05-27  Andreas Schwab  <schwab@redhat.com>
76890         [BZ #12814]
76891         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
76893 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
76895         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
76896         (struct user_regs_struct): Change intcs field back to cs.
76898 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
76900         * po/ja.po: Update from translation team.
76902 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
76904         [BZ #12795]
76905         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
76906         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
76908 2011-05-20  Andreas Schwab  <schwab@redhat.com>
76910         * stdlib/longlong.h: Update from GCC.
76912 2011-05-23  Andreas Schwab  <schwab@redhat.com>
76914         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
76915         parameter name.
76916         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
76917         Add parameter name.
76918         (__sysconf): Pass it down.
76920 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
76922         [BZ #12671]
76923         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
76924         some situations.
76925         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
76926         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
76927         add in in __libc_use_alloca calls.  Adjust callers.
76928         (glob): Use malloc in some situations.
76930         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
76931         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
76932         pltexit.
76934 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
76936         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
76937         and CLOCK_BOOTTIME_ALARM.
76939         [BZ #12782]
76940         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
76941         is returned.
76943         * string/_strerror.c (__strerror_r): Print negative errors as signed
76944         numbers.
76946         [BZ #12777]
76947         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
76948         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
76949         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
76951         * configure.in: Fix typo in redirection and correct removal of test
76952         files in two cases.
76954         [BZ #12788]
76955         * locale/setlocale.c (new_composite_name): Fix test to check for
76956         identical name of all categories.
76958         [BZ #12792]
76959         * libio/filedoalloc.c (local_isatty): New function.
76960         (_IO_file_doallocate): Use local_isatty.
76961         * stdio-common/perror.c (perror): In case a new stream is used
76962         forward the stream error.
76963         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
76964         error flag.
76966 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
76968         [BZ #11884]
76969         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
76970         alloca.
76971         * include/alloca.h (extend_alloca_account): Define.
76973         [BZ #11857]
76974         * posix/regex.h: Fix comments with documentation of user-accessible
76975         fields after compilation and describe correct free'ing of pattern
76976         after re_compile_pattern.
76977         Patch by Reuben Thomas <rrt@sc3d.org>.
76979 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
76981         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
76982         and -mno-altivec to prevent the compiler from using Altivec and/or
76983         VSX instructions when the corresponding registers are not available.
76985 2011-05-19  Andreas Schwab  <schwab@redhat.com>
76987         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
76989 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
76991         * libio/freopen.c (freopen): Use __dup2, not dup2.
76992         * libio/freopen64.c (freopen64): Likewise.
76994 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
76996         [BZ #12775]
76997         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
76998         * math/Makefile (tests): Add test-powl.
76999         (CFLAGS-test-powl.c): Define.
77000         * math/test-powl.c: New file.
77002 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
77004         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
77006 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
77008         [BZ #11837]
77009         * iconvdata/gb18030.c: Update to GB18020-2005.
77011 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
77013         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
77014         RE_SYNTAX_POSIX_AWK): Update to match recent development.
77015         Patch by Aharon Robbins <arnold@skeeve.com>.
77017         [BZ #11892]
77018         * stdlib/putenv.c (putenv): Don't always create copy of the variable
77019         on the stack.
77021         [BZ #11895]
77022         * misc/pselect.c (__pselect): Handle timeout value errors hidden
77023         through underflows.
77025         [BZ #12766]
77026         * misc/error.c (error_at_line): Ensure file_name and old_file_name
77027         point to strings before performing equality test for error_one_per_line
77028         mode.
77030         [BZ #11697]
77031         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
77033         [BZ #11820]
77034         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
77035         (struct user_fpregs_struct): Avoid __uint*_t types.
77037         [BZ #6420]
77038         * malloc/mtrace.c (tr_where): Add additional parameter to point to
77039         symbol info.  Use it instead of calling _dl_addr locally.
77040         (lock_and_info): New function.
77041         (tr_freehook): Call lock_and_info and pass symbol info as additional
77042         parameter to tr_where.
77043         (tr_mallochook): Likewise.
77044         (tr_reallochook): Likewise.
77045         (tr_memalignhook): Likewise.
77047         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
77048         used and couldn't be at all thread-safe.
77050 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
77052         * libio/freopen.c (freopen): Don't close old file descriptor
77053         before the new one is opened.  Instead dup the new file descriptor
77054         to the old one after the new stream is created.
77055         * libio/freopen64.c (freopen64): Likewise.
77056         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
77057         * libio/fileops.c (_IO_new_file_close_it): Handle new
77058         _IO_FLAGS2_NOCLOSE flag.
77059         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
77060         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
77061         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
77062         _IO_FLAGS2_NOCLOSE flag.
77063         * include/unistd.h: Add hidden_proto for dup3.
77064         Define __have_dup3.
77065         * io/dup3.c: Define hidden symbol.
77066         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
77068         [BZ #7101]
77069         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
77070         when an incomplete long option is used.
77071         * posix/tst-getopt_long1.c: New file.
77072         * posix/Makefile (tests): Add tst-getopt_long1.
77074         [BZ #10138]
77075         * scripts/config.guess: Update from autoconf-2.68.
77076         * scripts/config.sub: Likewise.
77078         [BZ #10157]
77079         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
77080         tests into ...
77081         (has_cpuclock): ...this.  New function.
77082         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
77083         macro here based on has_cpuclock code.
77085         [BZ #10149]
77086         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77087         First byte (not low byte) is now always NUL.
77088         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
77090         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
77091         Use non-cancelable interfaces.
77093         [BZ #9809]
77094         * locale/iso-639.def: Add entry for Sorani.
77096         [BZ #11901]
77097         * include/stdlib.h: Move include protection to the right place.
77098         Define abort_msg_s.  Declare __abort_msg with it.
77099         * stdlib/abort.c (__abort_msg): Adjust type.
77100         * assert/assert.c (__assert_fail_base): New function.  Majority
77101         of code from __assert_fail.  Allocate memory for __abort_msg with
77102         mmap.
77103         (__assert_fail): Now call __assert_fail_base.
77104         * assert/assert-perr.c: Remove bulk of implementation.  Use
77105         __assert_fail_base.
77106         * include/assert.hL Declare __assert_fail_base.
77107         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
77108         mmap.
77109         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
77111 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
77113         [BZ #11952]
77114         [BZ #12453]
77115         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
77116         until all modules are registered in the DTV.
77117         * elf/Makefile: Add rules to build and run tst-tls19.
77118         * elf/tst-tls19.c: New file.
77119         * elf/tst-tls19mod1.c: New file.
77120         * elf/tst-tls19mod2.c: New file.
77121         * elf/tst-tls19mod3.c: New file.
77122         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
77124         [BZ #12083]
77125         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
77126         correctly.
77128         [BZ #12601]
77129         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
77130         two-byte sequence errors.
77131         * iconvdata/Makefile (tests): Add bug-iconv8.
77132         * iconvdata/bug-iconv8.c: New file.
77134         [BZ #12626]
77135         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
77136         buf2 definition.
77138         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
77140         [BZ #12432]
77141         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
77142         (dummy_getcfa): New function.
77143         (init): Get _Unwind_GetCFA address, use dummy if not found.
77144         (backtrace_helper): In recursion check, also check whether CFA changes.
77145         (__backtrace): Completely initialize arg.
77147         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
77148         storing incomplete byte sequence in state object.  Avoid testing for
77149         guaranteed too small input if we know there is enough data available.
77151 2011-05-11  Andreas Schwab  <schwab@redhat.com>
77153         * Makeconfig (+link-pie): Indent.
77154         * Rules (binaries-pie): Define if $(have-fpie) and
77155         $(build-shared).
77156         (binaries-shared): Also filter out $(binaries-pie).
77157         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
77158         * nscd/Makefile (others-pie): Add nscd.
77159         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
77160         ($(objpfx)nscd): Remove command override.
77161         * login/Makefile (others-pie): Add pt_chown.
77162         ($(objpfx)pt_chown): Remove command override.
77163         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
77164         remove command overrides.
77166 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
77168         * libio/tst_putwc.c: Fix error messages.
77170         [BZ #12724]
77171         * libio/fileops.c (_IO_new_file_close_it): Always flush when
77172         currently writing and seek to current position when not.
77173         * libio/Makefile (tests): Add bug-fclose1.
77174         * libio/bug-fclose1.c: New file.
77176 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
77178         [BZ #12511]
77179         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
77180         don't set DF_1_NODELETE here.
77181         (do_lookup_x): When entering new entry test for copy relocation
77182         and if necessary set DF_1_NODELETE flag.
77183         * elf/tst-unique4.cc: New file.
77184         * elf/tst-unique4.h: New file.
77185         * elf/tst-unique4lib.cc: New file.
77186         * elf/Makefile: Add rules to build and run tst-unique4.
77187         Patch by Piotr Bury <pbury@goahead.com>.
77189 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
77191         [BZ #12052]
77192         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
77194         [BZ #12625]
77195         * misc/mntent_r.c (addmntent): Flush the stream after the output
77197         [BZ #12393]
77198         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
77199         (is_trusted_path_normalize): Skip initial colon.  Append slash
77200         to empty buffer.  Duplicate is_trusted_path code but allow
77201         constructed patch to be prefix.
77202         (is_dst): Allow $ORIGIN followed by /.
77203         (_dl_dst_substitute): Correct clearing of check_for_trusted.
77204         Correct testing of result of is_trusted_path_normalize
77205         (decompose_rpath): Fix warning.
77207 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
77209         [BZ #11257]
77210         * grp/initgroups.c (internal_getgrouplist): When we found the service
77211         list through the initgroups entry in nsswitch.conf do not always
77212         continue on a successful lookup.  Don't always use the
77213         __nss_group_database value if it is set.
77214         * nss/nsswitch.conf (initgroups): Change action for successful db
77215         lookup to continue for compatibility.
77217 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
77219         [BZ #11532]
77220         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
77221         and CP774 modules.
77222         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
77223         and CP774 modules.
77224         * iconvdata/tst-tables.sh: Likewise.
77225         * iconvdata/cp770.c: New file.
77226         * iconvdata/cp771.c: New file.
77227         * iconvdata/cp772.c: New file.
77228         * iconvdata/cp773.c: New file.
77229         * iconvdata/cp774.c: New file.
77230         * iconvdata/testdata/CP770: New file.
77231         * iconvdata/testdata/CP770..UTF8: New file.
77232         * iconvdata/testdata/CP771: New file.
77233         * iconvdata/testdata/CP771..UTF8: New file.
77234         * iconvdata/testdata/CP772: New file.
77235         * iconvdata/testdata/CP772..UTF8: New file.
77236         * iconvdata/testdata/CP773: New file.
77237         * iconvdata/testdata/CP773..UTF8: New file.
77238         * iconvdata/testdata/CP774: New file.
77239         * iconvdata/testdata/CP774..UTF8: New file.
77241         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
77242         END CHARMAP line.
77243         * iconvdata/gen-8bit-gap.sh: Likewise.
77244         * iconvdata/gen-8bit.sh: Likewise.
77246         * locale/iso-639.def: Add ary entry.
77248         [BZ #11258]
77249         * locale/C-translit.h.in: Add U20A1 transliteration.
77251         [BZ #12178]
77252         * locale/iso-639.def: Add wae entry.
77253         Patch by Kevin Bortis <bortis@translate-wae.ch>.
77255         [BZ #12545]
77256         * locale/programs/localedef.c (construct_output_path): Use ssize_t
77257         for n.
77259         [BZ #12711]
77260         * locale/C-translit.h.in: Add entry for U20B9.
77261         Patch by pravin.d.s@gmail.com.
77263 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
77265         [BZ #12713]
77266         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
77267         ENAMETOOLONG use generic getcwd.
77268         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
77269         in rtld.  Use *stat64.
77270         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
77271         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
77272         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
77273         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
77274         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
77275         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
77276         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
77277         __fstatat64 macros.
77278         * include/dirent.h: Add libc_hidden_proto for rewinddir.
77279         * dirent/rewinddir.c: Add libc_hidden_def.
77280         * sysdeps/mach/hurd/rewinddir.c: Likewise.
77281         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
77283         * include/dirent.h (__alloc_dir): Add flags parameter.
77284         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
77285         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
77286         __alloc_dir.
77287         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
77288         from fdopendir if O_CLOEXEC is already set.
77290 2011-03-15  Alan Modra  <amodra@gmail.com>
77292         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
77293         l_tls_firstbyte_offset non-zero.  Save padding offset in
77294         l_tls_firstbyte_offset for later use.
77295         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
77296         freeing static tls block.
77298 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
77300         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
77301         where #ifdef was intended.  The intent is to prevent ARG_MAX from
77302         being defined by the kernel headers.
77304 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
77306         [BZ #12734]
77307         * resolv/resolv.h: Define RES_NOTLDQUERY.
77308         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
77309         no-tld-query and set RES_NOTLDQUERY.
77310         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
77311         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
77312         modern BIND to search name as TLD unless forbidden.
77314 2011-05-07  Petr Baudis  <pasky@suse.cz>
77315             Ulrich Drepper  <drepper@gmail.com>
77317         [BZ #12393]
77318         * elf/dl-load.c (fillin_rpath): Move trusted path check...
77319         (is_trusted_path): ...to here.
77320         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
77321         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
77322         using is_trusted_path_normalize() in setuid scripts.
77324 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
77326         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
77327         __BEGIN/__END_DECLS.
77329 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
77331         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
77332         NSS_STATUS_NOTFOUND if no record was found.
77334 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77336         * sunrpc/Makefile (headers): Add rpc/netdb.h.
77337         (headers-not-in-tirpc): Remove rpc/netdb.h
77338         * resolv/netdb.h: Revert last change.
77340 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
77342         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
77343         circular dependency between libgcc.a and libc.a.
77345 2011-05-05  Andreas Schwab  <schwab@redhat.com>
77347         * resolv/netdb.h: Don't include <rpc/netdb.h>.
77348         * nis/Makefile: Don't install rpcsvc/*.
77349         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
77350         instead of <rpc/types.h>.
77351         (MAXHOSTNAMELEN): Define.
77353 2011-05-03  Andreas Schwab  <schwab@redhat.com>
77355         * elf/ldconfig.c (add_dir): Don't crash on empty path.
77357 2011-04-28  Maciej Babinski  <mbabinski@google.com>
77359         [BZ #12714]
77360         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
77361         gethostbyname4_r when IPv6 results are possible.
77363 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
77365         [BZ #12723]
77366         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
77367         _PC_PIPE_BUF handling.
77369 2011-04-30  Bruno Haible  <bruno@clisp.org>
77371         [BZ #12717]
77372         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
77373         * resolv/netdb.h (getnameinfo): Change type of flags parameter
77374         to 'int'.
77375         * inet/getnameinfo.c (getnameinfo): Likewise.
77377 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
77379         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
77380         to groups setting in database lookup.
77381         * nss/nsswitch.conf: Add initgroups entry.
77383 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
77385         [BZ #12685]
77386         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
77387         mode string.
77388         Patch by Eric Blake <eblake@redhat.com>.
77390 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
77392         * sunrpc/Makefile (need-export-routines): Add svc_run.
77393         (routines): Remove svc_run.
77394         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
77395         * sunrpc/clnt_perr.c (clnt_perrno): Export.
77396         * sunrpc/svc_run.c (svc_run): Likewise.
77397         * sunrpc/svc_udp.c (svcudp_create): Likewise.
77399 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
77401         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
77402         problem in reallocation in last patch.
77404 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
77406         * sunrpc/Makefile: Move inclusion of Rules.
77408 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77410         * nss/nss_files/files-initgroups.c: New file.
77411         * nss/Makefile (libnss_files-routines): Add files-initgroups.
77412         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
77413         _nss_files_initgroups_dyn.
77415 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
77417         * elf/elf.h (R_ARM_IRELATIVE): Define.
77419 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
77421         * po/ru.po: Update from translation team.
77423 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77425         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
77426         dependencies.
77428 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
77430         [BZ #12653]
77431         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
77432         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
77433         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
77434         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
77435         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
77437 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
77439         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
77440         differing bytes.
77441         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
77442         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
77443         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
77445 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
77447         [BZ #12420]
77448         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
77449         storing it.
77450         * stdlib/bug-getcontext.c: New file.
77451         * stdlib/Makefile: Add rules to build and run bug-getcontext.
77453 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77455         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
77456         instructions into .machine "z9-109".
77457         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
77458         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
77460 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77462         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
77463         between environment variables and auxiliary vector.
77465 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
77467         * Makefile: Add rules to build linkobj/libc.so.
77468         * include/libc-symbols.h: Define libc_hidden_nolink.
77469         * include/rpc/auth.h: Mark functions which are to be hidden.
77470         * include/rpc/auth_des.h: Likewise.
77471         * include/rpc/auth_unix.h: Likewise.
77472         * include/rpc/clnt.h: Likewise.
77473         * include/rpc/des_crypt.h: Likewise.
77474         * include/rpc/key_prot.h: Likewise.
77475         * include/rpc/pmap_clnt.h: Likewise.
77476         * include/rpc/pmap_prot.h: Likewise.
77477         * include/rpc/pmap_rmt.h: Likewise.
77478         * include/rpc/rpc_msg.h: Likewise.
77479         * include/rpc/svc.h: Likewise.
77480         * include/rpc/svc_auth.h: Likewise.
77481         * include/rpc/xdr.h: Likewise.
77482         * nis/Makefile: Link all DSOs against linkobj/libc.so.
77483         * nss/Makefile: Likewise.
77484         * sunrpc/Makefile: Don't install headers.  Build library with normal
77485         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
77486         * sunrpc/auth_des.c: Hide exported symbols by default, export some
77487         for the compat linking library.  Remove use of INTDEF/INTUSE.
77488         * sunrpc/auth_none.c: Likewise.
77489         * sunrpc/auth_unix.c: Likewise.
77490         * sunrpc/authdes_prot.c: Likewise.
77491         * sunrpc/authuxprot.c: Likewise.
77492         * sunrpc/clnt_gen.c: Likewise.
77493         * sunrpc/clnt_perr.c: Likewise.
77494         * sunrpc/clnt_raw.c: Likewise.
77495         * sunrpc/clnt_simp.c: Likewise.
77496         * sunrpc/clnt_tcp.c: Likewise.
77497         * sunrpc/clnt_udp.c: Likewise.
77498         * sunrpc/clnt_unix.c: Likewise.
77499         * sunrpc/des_crypt.c: Likewise.
77500         * sunrpc/des_soft.c: Likewise.
77501         * sunrpc/get_myaddr.c: Likewise.
77502         * sunrpc/key_call.c: Likewise.
77503         * sunrpc/key_prot.c: Likewise.
77504         * sunrpc/netname.c: Likewise.
77505         * sunrpc/pm_getmaps.c: Likewise.
77506         * sunrpc/pm_getport.c: Likewise.
77507         * sunrpc/pmap_clnt.c: Likewise.
77508         * sunrpc/pmap_prot.c: Likewise.
77509         * sunrpc/pmap_prot2.c: Likewise.
77510         * sunrpc/pmap_rmt.c: Likewise.
77511         * sunrpc/publickey.c: Likewise.
77512         * sunrpc/rpc_cmsg.c: Likewise.
77513         * sunrpc/rpc_common.c: Likewise.
77514         * sunrpc/rpc_dtable.c: Likewise.
77515         * sunrpc/rpc_prot.c: Likewise.
77516         * sunrpc/rpc_thread.c: Likewise.
77517         * sunrpc/rtime.c: Likewise.
77518         * sunrpc/svc.c: Likewise.
77519         * sunrpc/svc_auth.c: Likewise.
77520         * sunrpc/svc_authux.c: Likewise.
77521         * sunrpc/svc_raw.c: Likewise.
77522         * sunrpc/svc_run.c: Likewise.
77523         * sunrpc/svc_simple.c: Likewise.
77524         * sunrpc/svc_tcp.c: Likewise.
77525         * sunrpc/svc_udp.c: Likewise.
77526         * sunrpc/svc_unix.c: Likewise.
77527         * sunrpc/svcauth_des.c: Likewise.
77528         * sunrpc/xcrypt.c: Likewise.
77529         * sunrpc/xdr.c: Likewise.
77530         * sunrpc/xdr_array.c: Likewise.
77531         * sunrpc/xdr_float.c: Likewise.
77532         * sunrpc/xdr_intXX_t.c: Likewise.
77533         * sunrpc/xdr_mem.c: Likewise.
77534         * sunrpc/xdr_rec.c: Likewise.
77535         * sunrpc/xdr_ref.c: Likewise.
77536         * sunrpc/xdr_sizeof.c: Likewise.
77537         * sunrpc/xdr_stdio.c: Likewise.
77539 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
77541         [BZ #12650]
77542         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
77543         * sysdeps/ia64/dl-tls.h: Likewise.
77544         * sysdeps/powerpc/dl-tls.h: Likewise.
77545         * sysdeps/s390/dl-tls.h: Likewise.
77546         * sysdeps/sh/dl-tls.h: Likewise.
77547         * sysdeps/sparc/dl-tls.h: Likewise.
77548         * sysdeps/x86_64/dl-tls.h: Likewise.
77549         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
77551 2011-03-14  Andreas Schwab  <schwab@redhat.com>
77553         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
77554         rpath element also skip the following colon.
77555         (expand_dynamic_string_token): Add is_path parameter and pass
77556         down to DL_DST_REQUIRED and _dl_dst_substitute.
77557         (decompose_rpath): Call expand_dynamic_string_token with
77558         non-zero is_path.  Ignore empty rpaths.
77559         (_dl_map_object_from_fd): Call expand_dynamic_string_token
77560         with zero is_path.
77562 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
77564         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
77565         Make cancelable.
77567 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
77569         [BZ #12655]
77570         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
77571         Patch by Filipe David Manana <fdmanana@apache.org>.
77573 2011-04-07  Andreas Schwab  <schwab@redhat.com>
77575         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
77576         Maintain aligned stack.
77577         (CHECK_RSP): Remove unused macro.
77579 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
77581         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
77582         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
77584 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
77586         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
77588         * include/features.h: Mention __USE_XOPEN2K8 in comment.
77590 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
77592         [BZ #12518]
77593         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
77594         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
77595         * sysdeps/x86_64/memmove.c: New file.
77596         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
77597         (memcpy): Renamed to ...
77598         (__new_memcpy): This.
77599         (memcpy): Provide GLIBC_2_14 memcpy.
77600         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
77601         (memcpy): Provide GLIBC_2_2_5 memcpy.
77603 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77605         [BZ #12631]
77606         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
77608 2011-03-30  Andreas Schwab  <schwab@redhat.com>
77610         * misc/syncfs.c: New file.
77611         * misc/Makefile (routines): Add syncfs.
77612         * posix/unistd.h: Declare syncfs.
77613         * sysdeps/unix/syscalls.list: Add syncfs.
77615 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77617         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
77618         open_by_handle_at.
77619         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
77620         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77621         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77622         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77623         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77624         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
77625         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77627 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77629         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
77630         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77631         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
77632         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77633         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77634         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77635         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77637         * io/Makefile: Compile fallocate.c, fallocate64.c, and
77638         sync_file_range.c with -fexceptions.
77639         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
77640         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
77641         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
77642         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
77643         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
77644         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
77645         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
77646         sync_file_range as cancellation point
77647         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
77648         now a wrapper around __call_sync_file_range with cancellation handling.
77649         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
77650         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
77651         function name to __call_sync_file_range.
77652         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
77653         Add call_sync_file_range.
77655 2011-04-01  Andreas Schwab  <schwab@redhat.com>
77657         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77658         bits/timex.h.
77660 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
77662         * iconv/iconv.h: Fix typo in comment.
77663         * io/fcntl.h: Likewise.
77664         * libio/stdio.h: Likewise.
77665         * posix/spawn.h: Likewise.
77666         * posix/unistd.h: Likewise.
77667         * stdlib/stdlib.h: Likewise.
77668         * time/time.h: Likewise.
77669         * wcsmbs/wchar.h: Likewise.
77671         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
77672         open_by_handle): Add.
77673         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
77674         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
77675         Augment a few comments.
77676         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
77677         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
77678         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
77679         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
77680         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
77681         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
77682         open_by_handle.
77684         * io/fcntl.h (AT_EMPTY_PATH): Define.
77686 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
77688         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
77689         * sysdeps/unix/sysv/linux/bits/time.h: New file.
77690         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
77691         to...
77692         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
77693         * Versions.def: Add GLIBC_2.14.
77694         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
77695         Export.
77697 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
77699         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
77700         round counter.
77701         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77703 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
77705         [BZ #12597]
77706         * string/test-strncmp.c (do_page_test): New function.
77707         (check2): Likewise.
77708         (test_main): Call check2.
77709         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
77711 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
77713         [BZ #12587]
77714         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
77715         Handle cache information in CPU leaf 4.
77716         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
77718 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
77720         [BZ #12583]
77721         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
77722         character representation.
77723         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
77725 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
77727         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
77728         END(__isnan) to END(__isnanf) to match function entry point/label
77729         EALIGN(__isnanf,...).
77731 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
77733         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
77735 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
77737         [BZ #12510]
77738         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
77739         copy from the symbol referenced in the relocation to initialize the
77740         used variable.
77741         Patch by Piotr Bury <pbury@goahead.com>.
77742         * elf/Makefile: Add rules to build and tst-unique3.
77743         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
77744         * elf/tst-unique3.cc: New file.
77745         * elf/tst-unique3.h: New file.
77746         * elf/tst-unique3lib.cc: New file.
77747         * elf/tst-unique3lib2.cc: New file.
77749         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
77751 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
77753         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
77754         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
77755         to _start.
77757 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
77759         * elf/dl-load.c (_dl_map_object): If we are looking for the first
77760         to-be-loaded object along a path to loader is ld.so.
77762 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77763             Ulrich Drepper  <drepper@gmail.com>
77765         * sysdeps/x86_64/memset.S: After aligning destination, code
77766         branches to different locations depending on the value of
77767         misalignment, when multiarch is enabled. Fix this.
77769 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
77771         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
77772         Set _x86_64_preferred_memory_instruction for AMD processsors.
77773         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
77774         Set bit_Prefer_SSE_for_memop for AMD processors.
77776 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
77778         * libio/fmemopen.c (fmemopen): Optimize a bit.
77780 2011-03-03  Andreas Schwab  <schwab@redhat.com>
77782         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
77784 2011-03-03  Roland McGrath  <roland@redhat.com>
77786         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
77788 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
77790         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
77791         __bzero_ultra1 instead of __memset_ultra1.
77793 2011-02-23  Andreas Schwab  <schwab@redhat.com>
77794             Ulrich Drepper  <drepper@gmail.com>
77796         [BZ #12509]
77797         * include/link.h (struct link_map): Add l_orig_initfini.
77798         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
77799         returning unsuccessfully.
77800         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
77801         close of a file loaded at startup, restore the original l_initfini
77802         list.
77803         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
77804         list, store the pointer.
77805         * elf/Makefile ($(objpfx)noload-mem): New rule.
77806         (noload-ENV): Define.
77807         (tests): Add $(objpfx)noload-mem.
77808         * elf/noload.c: Include <memcheck.h>.
77809         (main): Call mtrace.  Close all opened handles.
77811 2011-02-17  Andreas Schwab  <schwab@redhat.com>
77813         [BZ #12454]
77814         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
77815         dependencies are missing.
77817 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77819         Fix __if_freereq crash: Unlike the generic version which uses free,
77820         Hurd needs munmap.
77821         * sysdeps/mach/hurd/ifreq.h: New file.
77823 2011-01-27  Petr Baudis  <pasky@suse.cz>
77824             Ulrich Drepper  <drepper@gmail.com>
77826         [BZ 12445]#
77827         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
77828         to extend_alloca().
77829         * stdio-common/bug23.c: New file.
77830         * stdio-common/Makefile (tests): Add bug23.
77832 2010-09-28  Andreas Schwab  <schwab@redhat.com>
77833             Ulrich Drepper  <drepper@gmail.com>
77835         [BZ #12489]
77836         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
77837         before performing relro protection.  At old place add assertion
77838         to make sure nothing changed.
77840 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
77841             Glauber de Oliveira Costa  <glommer@gmail.com>
77843         * elf/elf.h: Add new ARM TLS relocs.
77845 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
77847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
77848         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
77849         cast from r3.
77850         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
77851         'tests' variable.
77852         * sysdeps/wordsize-64/tst-writev.c: New file.
77854 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
77856         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
77857         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
77858         insns in _dl_start to prevent a TOC reference before relocs are
77859         resolved.
77861 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
77863         [BZ #12469]
77864         * Makeconfig: Remove RANLIB definition.
77865         * Makerules: Don't use RANLIB.
77866         * aclocal.m4: Remove ranlib test.
77867         * configure.in: No need to check for ranlib.
77868         * elf/rtld-Rules: Don't use RANLIB.
77870 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77872         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
77873         protection macro.
77874         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
77875         inclusion protection macro.
77877         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
77878         SIGRTMIN and SIGRTMAX and print information in that case only when
77879         SIGRTMIN is defined.
77881 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
77883         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
77884         arginfo fn returning -1.
77886         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
77887         and thousands string is zero terminated.
77889 2011-02-03  Andreas Schwab  <schwab@redhat.com>
77891         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
77892         sysdeps/unix/sysv/linux/bits/socket.h.
77894 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
77896         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
77897         (__CPU_COUNT): Remove old macros.
77898         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
77899         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
77900         (__CPU_ALLOC, __CPU_FREE): Add macros.
77901         (__sched_cpualloc, __sched_cpufree): Add declarations.
77903 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
77905         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
77906         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
77907         * nscd/aicache.c (addhstaiX): Return timeout of added value.
77908         (readdhstai): Return value of addhstaiX call.
77909         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
77910         (addgrbyX): Return value returned by cache_addgr.
77911         (readdgrbyname): Return value returned by addgrbyX.
77912         (readdgrbygid): Likewise.
77913         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
77914         (addpwbyX): Return value returned by cache_addpw.
77915         (readdpwbyname): Return value returned by addhstbyX.
77916         (readdpwbyuid): Likewise.
77917         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
77918         (addservbyX): Return value returned by cache_addserv.
77919         (readdservbyname): Return value returned by addservbyX:
77920         (readdservbyport): Likewise.
77921         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
77922         (addhstbyX): Return value returned by cache_addhst.
77923         (readdhstbyname): Return value returned by addhstbyX.
77924         (readdhstbyaddr): Likewise.
77925         (readdhstbynamev6): Likewise.
77926         (readdhstbyaddrv6): Likewise.
77927         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
77928         (readdinitgroups): Return value returned by addinitgroupsX.
77929         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
77930         (prune_cache): Keep track of timeout value of re-added entries.
77931         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
77932         * nscd/nscd.h: Adjust prototypes of readd* functions.
77934 2011-02-04  Roland McGrath  <roland@redhat.com>
77936         * nis/nis_server.c (nis_servstate): Use the right name for 0.
77937         (nis_stats): Likewise.
77938         * nis/nis_modify.c (nis_modify): Likewise.
77939         * nis/nis_remove.c (nis_remove): Likewise.
77940         * nis/nis_add.c (nis_add): Likewise.
77942         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
77944         * posix/fnmatch_loop.c: Add some consts.
77946         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
77948 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
77950         [BZ #12460]
77951         * config.make.in (config-cflags-novzeroupper): Define.
77952         * configure.in: Substitute libc_cv_cc_novzeroupper.
77953         * elf/Makefile (AVX-CFLAGS): Define.
77954         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
77955         (CFLAGS-tst-auditmod4a.c): Likewise.
77956         (CFLAGS-tst-auditmod4b.c): Likewise.
77957         (CFLAGS-tst-auditmod6b.c): Likewise.
77958         (CFLAGS-tst-auditmod6c.c): Likewise.
77959         (CFLAGS-tst-auditmod7b.c): Likewise.
77960         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
77962 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
77964         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
77965         function to the callback.
77966         Patch partly by Jiri Olsa <jolsa@redhat.com>.
77968 2011-02-02  Andreas Schwab  <schwab@redhat.com>
77970         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
77971         of errno.
77973 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
77975         [BZ #11724]
77976         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
77977         of constructors.
77978         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
77979         of destructors.
77980         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
77982         [BZ #11724]
77983         * elf/Makefile: Add rules to build and run new test.
77984         * elf/tst-initorder.c: New file.
77985         * elf/tst-initorder.exp: New file.
77986         * elf/tst-initordera1.c: New file.
77987         * elf/tst-initordera2.c: New file.
77988         * elf/tst-initordera3.c: New file.
77989         * elf/tst-initordera4.c: New file.
77990         * elf/tst-initorderb1.c: New file.
77991         * elf/tst-initorderb2.c: New file.
77992         * elf/tst-order-a1.c: New file.
77993         * elf/tst-order-a2.c: New file.
77994         * elf/tst-order-a3.c: New file.
77995         * elf/tst-order-a4.c: New file.
77996         * elf/tst-order-b1.c: New file.
77997         * elf/tst-order-b2.c: New file.
77998         * elf/tst-order-main.c: New file.
77999         New test case by George Gensure <werkt0@gmail.com>.
78001 2010-10-01  Andreas Schwab  <schwab@redhat.com>
78003         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
78004         decoding ACE if AI_CANONIDN.
78006 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
78008         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
78010 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
78012         * version.h (RELEASE): Bump for 2.13 release.
78013         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
78015         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
78017         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
78018         MADV_NOHUGEPAGE.
78019         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
78020         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
78021         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
78022         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
78023         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
78024         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78026         * posix/getconf.c: Update copyright year.
78027         * catgets/gencat.c: Likewise.
78028         * csu/version.c: Likewise.
78029         * debug/catchsegv.sh: Likewise.
78030         * debug/xtrace.sh: Likewise.
78031         * elf/ldconfig.c: Likewise.
78032         * elf/ldd.bash.in: Likewise.
78033         * elf/sprof.c (print_version): Likewise.
78034         * iconv/iconv_prog.c: Likewise.
78035         * iconv/iconvconfig.c: Likewise.
78036         * locale/programs/locale.c: Likewise.
78037         * locale/programs/localedef.c: Likewise.
78038         * malloc/memusage.sh: Likewise.
78039         * malloc/mtrace.pl: Likewise.
78040         * nscd/nscd.c (print_version): Likewise.
78041         * nss/getent.c: Likewise.
78043         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
78044         PF_CAIF, and PF_ALG.
78045         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
78047 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
78049         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
78050         (modules-names): Use them.
78051         (ifunc-test-modules, ifunc-pie-tests): Define.
78052         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
78053         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
78054         (test-extras): Likewise.
78055         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
78056         $(compile-command.c).
78057         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
78058         (all-built-dso): Define.
78059         (check-textrel.out, check-execstack.out): Depend on it.
78061         * configure.in: Don't override --enable-multi-arch.
78063 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
78065         [BZ #6812]
78066         * nscd/hstcache.c (tryagain): Define.
78067         (cache_addhst): Return tryagain not notfound for temporary errors.
78068         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
78069         failed.
78071 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
78073         [BZ #10563]
78074         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
78075         to make the syscall.
78076         * sysdeps/unix/sysv/linux/setgroups.c: New file.
78078         [BZ #12378]
78079         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
78080         and fall back to matching as normal character if the string ends before
78081         the matching ']' is found.  This is what POSIX requires.
78082         * posix/testfnm.c: Adjust test result.
78083         * posix/globtest.sh: Adjust test result.  Add new test.
78084         * posix/tst-fnmatch.input: Likewise.
78085         * posix/tst-fnmatch2.c: Add new test.
78087 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
78089         * elf/Makefile (check-execstack): Revert last change.  Depend on
78090         check-execstack.h.
78091         (check-execstack.h): New target.
78092         (generated): Add check-execstack.h.
78093         * elf/check-execstack.c: Include "check-execstack.h".
78094         (main): Revert last change.
78095         (handle_file): Return zero if GNU_STACK is absent and
78096         DEFAULT_STACK_PERMS doesn't include PF_X.
78098 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
78100         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
78101         in child fails because the descriptor is already closed.
78102         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
78103         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
78104         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
78106         [BZ #12397]
78107         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
78108         syscall.
78110         [BZ #10484]
78111         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
78112         temporary buffer used to handle multi lookups locally.
78113         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
78115 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78117         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
78118         loader is ld.so.
78120 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
78122         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
78123         alignment for SSE2.
78125 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
78127         [BZ #12394]
78128         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
78129         characters.  When rounding increased number of integer digits recompute
78130         number of groups.
78131         * stdio-common/tst-grouping.c: New file.
78132         * stdio-common/Makefile: Add rules to build and run tst-grouping.
78134 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
78136         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
78137         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
78139         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
78140         void.
78141         * bits/select.h: Likewise.
78143 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
78145         * po/ja.po: Update from translation team.
78147 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
78149         [BZ #11155]
78150         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
78151         implementation just like for lxstat, fxstatat, et al.
78153 2010-12-27  Jim Meyering  <meyering@redhat.com>
78155         [BZ #12348]
78156         * posix/regexec.c (build_trtable): Return failure indication upon
78157         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
78159 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
78161         [BZ #12201]
78162         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
78163         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
78164         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
78165         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
78167         [BZ #12207]
78168         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
78170         [BZ #12204]
78171         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
78172         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
78174 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
78176         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
78177         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
78178         script has SORT_BY_INIT_PRIORITY.
78179         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
78180         NO_CTORS_DTORS_SECTIONS is defined.
78181         * elf/soinit.c: Likewise.
78182         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
78183         NO_CTORS_DTORS_SECTIONS is defined.
78184         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
78185         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
78186         * sysdeps/sh/init-first.c: Likewise.
78187         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
78189 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
78191         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
78192         always use the slow path.
78194 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
78196         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
78197         similar rule which adds the sysdep directories to the header search in
78198         order to pick up the correct platform stackinfo.h.
78199         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
78200         perform test if it is, otherwise return successfully without testing.
78201         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
78202         DEFAULT_STACK_PERMS define in stackinfo.h.
78203         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
78204         defined in stackinfo.h.
78205         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
78206         DEFAULT_STACK_PERMS defined in stackinfo.h.
78207         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
78208         * sysdeps/ia64/stackinfo.h: Likewise.
78209         * sysdeps/s390/stackinfo.h: Likewise.
78210         * sysdeps/sh/stackinfo.h: Likewise.
78211         * sysdeps/sparc/stackinfo.h: Likewise.
78212         * sysdeps/x86_64/stackinfo.h: Likewise.
78213         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
78214         PF_X for powerpc64.  Retain PF_X for powerpc32.
78216 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
78218         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
78219         accurately.
78220         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
78221         GETDENTS_64BIT_ALIGNED.
78223 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
78225         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
78227 2010-12-10  Andreas Schwab  <schwab@redhat.com>
78229         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
78230         _GNU_SOURCE.
78232         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
78233         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
78234         Remove __restrict.
78235         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
78236         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
78238 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
78240         [BZ #11655]
78241         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
78242         are initialized.
78244 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
78246         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
78248 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
78250         * po/it.po: Update from translation team.
78252 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
78254         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
78255         unused codes.
78257 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
78259         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
78261 2010-11-24  Andreas Schwab  <schwab@redhat.com>
78263         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
78264         specially.
78265         (gaih_getanswer_slice): Likewise.
78267 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
78269         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
78271 2010-05-31  Petr Baudis  <pasky@suse.cz>
78273         [BZ #11149]
78274         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
78275         silently even in the chroot mode.
78277 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
78279         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
78280         last patch a bit.  Pretty printing
78282 2010-05-31  Petr Baudis <pasky@suse.cz>
78284         [BZ #10085]
78285         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
78286         initialization of skip_initgroups_dyn.
78288 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
78290         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
78291         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
78293 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
78295         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
78297 2010-11-11  Andreas Schwab  <schwab@redhat.com>
78299         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
78300         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
78301         (tst-fnmatch-ENV): Set MALLOC_TRACE.
78302         ($(objpfx)tst-fnmatch-mem): New rule.
78303         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
78304         * posix/tst-fnmatch.c (main): Call mtrace.
78306 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
78308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78309         Support Intel processor model 6 and model 0x2c.
78311 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
78313         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
78314           signed comparison.
78316 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
78318         [BZ #12205]
78319         * string/test-strncasecmp.c (check_result): New function.
78320         (do_one_test): Use it.
78321         (check1): New function.
78322         (test_main): Use it.
78323         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
78324         Support strcasecmp and strncasecmp.
78326 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
78328         [BZ #12194]
78329         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
78330         * sysdeps/x86_64/bits/byteswap.h: Likewise.
78332 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
78334         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
78335         IFUNC support.
78336         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78337         memset-x86-64.
78338         * sysdeps/x86_64/multiarch/bzero.S: New file.
78339         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
78340         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
78341         * sysdeps/x86_64/multiarch/memset.S: New file.
78342         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
78343         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78344         Set bit_Prefer_SSE_for_memop for Intel processors.
78345         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
78346         Define.
78347         (index_Prefer_SSE_for_memop): Define.
78348         (HAS_PREFER_SSE_FOR_MEMOP): Define.
78350 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
78352         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
78353         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
78355 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
78357         [BZ #12191]
78358         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78359         (__x86_64_raw_data_cache_size_half): Likewise.
78360         (__x86_64_raw_shared_cache_size): Likewise.
78361         (__x86_64_raw_shared_cache_size_half): Likewise.
78363         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
78364         (__x86_64_raw_data_cache_size_half): Likewise.
78365         (__x86_64_raw_shared_cache_size): Likewise.
78366         (__x86_64_raw_shared_cache_size_half): Likewise.
78367         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
78368         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
78369         and __x86_64_raw_shared_cache_size_half.  Round
78370         __x86_64_data_cache_size_half, __x86_64_data_cache_size
78371         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
78372         to multiple of 256 bytes.
78374 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
78376         [BZ #12167]
78377         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
78378         of inacessible symlinks.  Verify result of symlink before returning it.
78379         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
78380         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
78382 2010-10-28  Erich Ritz  <erichritz@gmail.com>
78384         * math/math.h (isinf): Fix typo in comment.
78386 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
78388         * po/da.po: Update from translation team.
78390 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
78392         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
78393         is added to the list.
78395 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78396             Ulrich Drepper  <drepper@gmail.com>
78398         * elf/dl-object.c (_dl_new_object): Don't append the new object to
78399         the global list here.  Move code to...
78400         (_dl_add_to_namespace_list): ...here.  New function.
78401         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
78402         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
78403         * elf/dl-load.c (lose): Don't remove the element from the list.
78404         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
78405         (_dl_map_object): Likewise.
78407 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
78409         [BZ #12159]
78410         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
78411         into all bytes of SSE register.
78412         Patch by Richard Li <richardpku@gmail.com>.
78414 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
78416         [BZ #12140]
78417         * malloc/malloc.c (_int_free): Fill correct number of bytes when
78418         perturbing.
78420 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
78422         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
78423         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
78424         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
78425         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78426         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
78427         submachine.
78428         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
78430 2010-10-22  Andreas Schwab  <schwab@redhat.com>
78432         * include/dlfcn.h (__RTLD_SECURE): Define.
78433         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
78434         mode & __RTLD_SECURE instead.
78435         (open_path): Rename preloaded parameter to secure.
78436         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
78437         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
78438         * elf/dl-deps.c (openaux): Likewise.
78439         * elf/rtld.c (struct map_args): Remove is_preloaded.
78440         (map_doit): Don't use it.
78441         (dl_main): Likewise.
78442         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
78443         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
78445 2010-09-09  Andreas Schwab  <schwab@redhat.com>
78447         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
78448         (sysd-rules-targets): Remove duplicates.
78449         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
78450         rtld-%.$o dependency.
78452 2010-10-18  Andreas Schwab  <schwab@redhat.com>
78454         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
78455         _dl_map_object do it.
78457 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
78459         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
78460         fast fma builtins, define the macros in the C99 standard.
78461         (FP_FAST_FMAF): Likewise.
78462         (FP_FAST_FMAL): Likewise.
78463         * sysdeps/x86_64/bits/mathdef.h: Likewise.
78465         * bits/mathdef.h: Update copyright year.
78466         * sysdeps/powerpc/bits/mathdef.h: Likewise.
78468 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
78470         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
78471         builtins, define the macros in the C99 standard.
78472         (FP_FAST_FMAF): Likewise.
78473         (FP_FAST_FMAL): Likewise.
78474         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
78475         multiply/add.
78476         (FP_FAST_FMAF): Likewise.
78478 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
78480         [BZ #3268]
78481         * math/libm-test.inc (fma_test): Some new testcases.
78482         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
78483         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
78484         y and infinite z.  Do multiplication by C already in long double.
78485         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
78486         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
78487         y and infinite z.  Do bitwise or of inexact bit into u.d.
78488         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
78489         * sysdeps/i386/fpu/s_fmaf.S: Removed.
78490         * sysdeps/i386/fpu/s_fma.S: Removed.
78491         * sysdeps/i386/fpu/s_fmal.S: Removed.
78493 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
78495         [BZ #3268]
78496         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
78497         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
78498         computation is not scheduled after fetestexcept.  Fix value
78499         of minimum denormal long double.
78501 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
78503         [BZ #3268]
78504         * math/libm-test.inc (fma_test): Add some more tests.
78505         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
78506         correctly.
78508 2010-10-15  Andreas Schwab  <schwab@redhat.com>
78510         * scripts/data/localplt-s390-linux-gnu.data: New file.
78511         * scripts/data/localplt-s390x-linux-gnu.data: New file.
78513 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
78515         [BZ #3268]
78516         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
78517         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
78518         instead of dbl-64.
78519         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
78520         inlines.
78521         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
78522         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
78523         if one of x and y is very large and the other is subnormal.
78524         * sysdeps/s390/fpu/s_fmaf.c: New file.
78525         * sysdeps/s390/fpu/s_fma.c: New file.
78526         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
78527         * sysdeps/powerpc/fpu/s_fma.S: New file.
78528         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
78529         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
78530         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
78532 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
78534         [BZ #3268]
78535         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
78536         fma tests.
78537         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
78538         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
78539         * sysdeps/i386/i686/multiarch/s_fma.c: Include
78540         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
78541         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
78542         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
78543         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
78545 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
78547         [BZ #12078]
78548         * posix/regcomp.c (parse_branch): One more memory leak plugged.
78549         * posix/bug-regex31.input: Add test case.
78551 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78553         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
78554         * posix/bug-regex31.input: New file.
78556         [BZ #12078]
78557         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
78558         (parse_sub_exp): Fix last change, use postorder.
78560         * posix/bug-regex31.c: New file.
78561         * posix/Makefile: Add rules to build and run bug-regex31.
78563         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
78565         [BZ #12078]
78566         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
78568         [BZ #12108]
78569         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
78570         to have entries in sys_siglist.
78572         [BZ #12093]
78573         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
78574         be NULL.
78576 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
78578         [BZ #3268]
78579         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
78580         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
78581         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
78582         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
78583         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
78584         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
78585         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
78586         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
78587         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
78588         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
78589         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
78590         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
78591         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
78592         * math/ftestexcept.c (fetestexcept): Likewise.
78593         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
78594         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
78595         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
78596         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
78597         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
78598         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
78599         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
78601 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
78603         [BZ #12107]
78604         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
78605         newline.
78607 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
78609         * string/bug-strstr1.c: New file.
78610         * string/Makefile: Add rules to build and run bug-strstr1.
78612 2010-10-05  Eric Blake  <eblake@redhat.com>
78614         [BZ #12092]
78615         * string/str-two-way.h (two_way_long_needle): Always clear memory
78616         when skipping input due to the shift table.
78618 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
78620         [BZ #12005]
78621         * malloc/mcheck.c: Handle large requests.
78623         [BZ #12077]
78624         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
78625         for strncmp and strncasecmp.
78626         * string/stratcliff.c: Add tests for strcmp and strncmp.
78627         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
78629 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
78631         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
78632         __set_fpscr.
78634 2010-09-30  Andreas Jaeger  <aj@suse.de>
78636         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
78637         (CGROUP_SUPER_MAGIC): Define.
78638         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
78639         Handle btrfs and cgroup file systems.
78640         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
78641         Likewise.
78643 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
78645         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
78646         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
78648 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
78650         [BZ #12067]
78651         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
78652         trying to locate the ELF header.
78654 2010-09-27  Andreas Schwab  <schwab@redhat.com>
78656         [BZ #11611]
78657         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
78658         Mask out sign-bit copies when constructing f_fsid.
78660 2010-09-24  Petr Baudis <pasky@suse.cz>
78662         * debug/stack_chk_fail_local.c: Add missing licence exception.
78663         * debug/warning-nop.c: Likewise.
78665 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
78667         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
78668         implementing getdents64 using getdents syscall, set d_type if
78669         __ASSUME_GETDENTS32_D_TYPE.
78671 2010-09-16  Andreas Schwab  <schwab@redhat.com>
78673         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
78674         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
78676 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
78678         [BZ #12037]
78679         * posix/unistd.h: Undo change of feature selection for ftruncate from
78680         2010-01-11.
78682 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
78684         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
78685         detection.
78687 2010-09-20  Andreas Schwab  <schwab@redhat.com>
78689         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
78690         fanotify_mark.
78691         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
78693 2010-09-14  Andreas Schwab  <schwab@redhat.com>
78695         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
78696         variables after CHECK_SP call.
78697         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
78699 2010-09-13  Andreas Schwab  <schwab@redhat.com>
78700             Ulrich Drepper  <drepper@redhat.com>
78702         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
78703         re-relocationg ld.so.
78704         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
78705         _dl_init_paths call.
78706         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
78707         here anymore.
78709 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
78711         * resolv/res_init.c (__res_vinit): Count the default server we added.
78713 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
78714             Ulrich Drepper  <drepper@redhat.com>
78716         [BZ #11968]
78717         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
78718         (____longjmp_chk): Use %ebx for saving value across system call.
78719         Add unwind info.
78721 2010-09-06  Andreas Schwab  <schwab@redhat.com>
78723         * manual/Makefile: Don't mix pattern rules with normal rules.
78725 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
78727         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
78728         operation.
78729         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
78730         * libio/iofopncook.c (_IO_cookie_init): Likewise.
78731         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
78732         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
78733         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
78734         Likewise.
78736 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
78738         [BZ #11979]
78739         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
78740         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
78742 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
78744         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
78745         * sysdeps/x86_64/addmul_1.S: Likewise.
78746         * sysdeps/x86_64/lshift.S: Likewise.
78747         * sysdeps/x86_64/mul_1.S: Likewise.
78748         * sysdeps/x86_64/rshift.S: Likewise.
78749         * sysdeps/x86_64/sub_n.S: Likewise.
78750         * sysdeps/x86_64/submul_1.S: Likewise.
78752 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
78754         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
78755         Define __sched_param instead of SCHED_* and sched_param when
78756         <bits/sched.h> is included with __need_schedparam defined.
78757         * bits/sched.h [__need_schedparam]
78758         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
78759         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
78760         (__defined_schedparam): Define to 1.
78761         (__sched_param): New structure, identical to sched_param.
78762         (__need_schedparam): Undefine.
78764 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
78766         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
78767         (epoll_create1): Declare.
78769         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
78771 2010-08-31  Andreas Schwab  <schwab@redhat.com>
78773         [BZ #7066]
78774         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
78775         shifting retval into place.
78777 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
78779         * nis/rpcsvc/nis.h: Update copyright notice.
78780         * nis/rpcsvc/nis.x: Likewise.
78781         * nis/rpcsvc/nis_callback.h: Likewise.
78782         * nis/rpcsvc/nis_callback.x: Likewise.
78783         * nis/rpcsvc/nis_object.x: Likewise.
78784         * nis/rpcsvc/nis_tags.h: Likewise.
78785         * nis/rpcsvc/yp.h: Likewise.
78786         * nis/rpcsvc/yp.x: Likewise.
78787         * nis/rpcsvc/ypupd.h: Likewise.
78788         * nis/yp_xdr.c: Likewise.
78789         * nis/ypupdate_xdr.c: Likewise.
78791         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
78792         mainly the body of pmap_getport.  Add parameters to specify timeouts.
78793         (pmap_getport): Use __libc_rpc_getport.
78794         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
78795         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
78796         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
78798 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
78800         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
78801         fanotify_mark.
78803 2010-08-27  Roland McGrath  <roland@redhat.com>
78805         * sysdeps/i386/i686/multiarch/Makefile
78806         (CFLAGS-varshift.c): New variable.
78808 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
78810         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
78811         * sysdeps/i386/i686/multiarch/varshift.c: New file.
78813         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
78815         * sysdeps/x86_64/strlen.S: Minimal code improvement.
78817 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
78819         * sysdeps/x86_64/strlen.S: Unroll the loop.
78820         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
78821         strlen-sse2 strlen-sse2-bsf.
78822         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
78823         __strlen_no_bsf if bit_Slow_BSF is set.
78824         (__strlen_sse42): Removed.
78825         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
78826         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
78828 2010-08-25  Roland McGrath  <roland@redhat.com>
78830         * sysdeps/x86_64/multiarch/varshift.S: File removed.
78831         * sysdeps/x86_64/multiarch/varshift.c: New file.
78832         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
78833         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
78834         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
78835         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
78837 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
78839         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
78840         strlen-sse2 strlen-sse2-bsf.
78841         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
78842         __strlen_sse2_bsf if bit_Slow_BSF is unset.
78843         (__strlen_sse2): Removed.
78844         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
78845         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
78846         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
78847         bit_Slow_BSF for Atom.
78848         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
78849         (index_Slow_BSF): Define.
78850         (HAS_SLOW_BSF): Define.
78852 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
78854         [BZ #10851]
78855         * resolv/res_init.c (__res_vinit): When no server address at all
78856         is given default to loopback.
78858 2010-08-24  Roland McGrath  <roland@redhat.com>
78860         * configure.in: Remove config-name.h generation.
78861         * configure: Regenerated.
78862         * config-name.in: File removed.
78863         * scripts/config-uname.sh: New file.
78864         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
78865         ($(objdir)config-name.h): New target.
78867         * sunrpc/rpc_parse.h: Avoid nested comment.
78869 2010-08-24  Richard Henderson  <rth@redhat.com>
78870             Ulrich Drepper  <drepper@redhat.com>
78871             H.J. Lu  <hongjiu.lu@intel.com>
78873         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
78874         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
78875         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
78876         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
78877         _mm_alignr_epi8 with _mm_loadu_si128.
78878         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
78879         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
78880         (__m128i_shift_right): Removed.
78881         * sysdeps/i386/i686/multiarch/varshift.h: New file.
78882         * sysdeps/i386/i686/multiarch/varshift.S: New file.
78883         * sysdeps/x86_64/multiarch/varshift.h: New file.
78884         * sysdeps/x86_64/multiarch/varshift.S: New file.
78886 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
78888         * configure.in: Move assembler checks to before sysdep dir checking.
78890 2010-08-20  Petr Baudis  <pasky@suse.cz>
78892         * LICENSES: Sync the sunrpc license.
78894 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
78896         * sunrpc/auth_des.c: Update copyright notice once again.
78897         * sunrpc/auth_none.c: Likewise.
78898         * sunrpc/auth_unix.c: Likewise.
78899         * sunrpc/authdes_prot.c: Likewise.
78900         * sunrpc/authuxprot.c: Likewise.
78901         * sunrpc/bindrsvprt.c: Likewise.
78902         * sunrpc/clnt_gen.c: Likewise.
78903         * sunrpc/clnt_perr.c: Likewise.
78904         * sunrpc/clnt_raw.c: Likewise.
78905         * sunrpc/clnt_simp.c: Likewise.
78906         * sunrpc/clnt_tcp.c: Likewise.
78907         * sunrpc/clnt_udp.c: Likewise.
78908         * sunrpc/clnt_unix.c: Likewise.
78909         * sunrpc/des_crypt.c: Likewise.
78910         * sunrpc/des_soft.c: Likewise.
78911         * sunrpc/get_myaddr.c: Likewise.
78912         * sunrpc/getrpcport.c: Likewise.
78913         * sunrpc/key_call.c: Likewise.
78914         * sunrpc/key_prot.c: Likewise.
78915         * sunrpc/openchild.c: Likewise.
78916         * sunrpc/pm_getmaps.c: Likewise.
78917         * sunrpc/pm_getport.c: Likewise.
78918         * sunrpc/pmap_clnt.c: Likewise.
78919         * sunrpc/pmap_prot.c: Likewise.
78920         * sunrpc/pmap_prot2.c: Likewise.
78921         * sunrpc/pmap_rmt.c: Likewise.
78922         * sunrpc/rpc/auth.h: Likewise.
78923         * sunrpc/rpc/auth_unix.h: Likewise.
78924         * sunrpc/rpc/clnt.h: Likewise.
78925         * sunrpc/rpc/des_crypt.h: Likewise.
78926         * sunrpc/rpc/key_prot.h: Likewise.
78927         * sunrpc/rpc/netdb.h: Likewise.
78928         * sunrpc/rpc/pmap_clnt.h: Likewise.
78929         * sunrpc/rpc/pmap_prot.h: Likewise.
78930         * sunrpc/rpc/pmap_rmt.h: Likewise.
78931         * sunrpc/rpc/rpc.h: Likewise.
78932         * sunrpc/rpc/rpc_des.h: Likewise.
78933         * sunrpc/rpc/rpc_msg.h: Likewise.
78934         * sunrpc/rpc/svc.h: Likewise.
78935         * sunrpc/rpc/svc_auth.h: Likewise.
78936         * sunrpc/rpc/types.h: Likewise.
78937         * sunrpc/rpc/xdr.h: Likewise.
78938         * sunrpc/rpc_clntout.c: Likewise.
78939         * sunrpc/rpc_cmsg.c: Likewise.
78940         * sunrpc/rpc_common.c: Likewise.
78941         * sunrpc/rpc_cout.c: Likewise.
78942         * sunrpc/rpc_dtable.c: Likewise.
78943         * sunrpc/rpc_hout.c: Likewise.
78944         * sunrpc/rpc_main.c: Likewise.
78945         * sunrpc/rpc_parse.c: Likewise.
78946         * sunrpc/rpc_parse.h: Likewise.
78947         * sunrpc/rpc_prot.c: Likewise.
78948         * sunrpc/rpc_sample.c: Likewise.
78949         * sunrpc/rpc_scan.c: Likewise.
78950         * sunrpc/rpc_scan.h: Likewise.
78951         * sunrpc/rpc_svcout.c: Likewise.
78952         * sunrpc/rpc_tblout.c: Likewise.
78953         * sunrpc/rpc_util.c: Likewise.
78954         * sunrpc/rpc_util.h: Likewise.
78955         * sunrpc/rpcinfo.c: Likewise.
78956         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
78957         * sunrpc/rpcsvc/key_prot.x: Likewise.
78958         * sunrpc/rpcsvc/klm_prot.x: Likewise.
78959         * sunrpc/rpcsvc/mount.x: Likewise.
78960         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
78961         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
78962         * sunrpc/rpcsvc/rex.x: Likewise.
78963         * sunrpc/rpcsvc/rstat.x: Likewise.
78964         * sunrpc/rpcsvc/rusers.x: Likewise.
78965         * sunrpc/rpcsvc/sm_inter.x: Likewise.
78966         * sunrpc/rpcsvc/spray.x: Likewise.
78967         * sunrpc/rpcsvc/yppasswd.x: Likewise.
78968         * sunrpc/rtime.c: Likewise.
78969         * sunrpc/svc.c: Likewise.
78970         * sunrpc/svc_auth.c: Likewise.
78971         * sunrpc/svc_authux.c: Likewise.
78972         * sunrpc/svc_raw.c: Likewise.
78973         * sunrpc/svc_run.c: Likewise.
78974         * sunrpc/svc_simple.c: Likewise.
78975         * sunrpc/svc_tcp.c: Likewise.
78976         * sunrpc/svc_udp.c: Likewise.
78977         * sunrpc/svc_unix.c: Likewise.
78978         * sunrpc/svcauth_des.c: Likewise.
78979         * sunrpc/xcrypt.c: Likewise.
78980         * sunrpc/xdr.c: Likewise.
78981         * sunrpc/xdr_array.c: Likewise.
78982         * sunrpc/xdr_float.c: Likewise.
78983         * sunrpc/xdr_mem.c: Likewise.
78984         * sunrpc/xdr_rec.c: Likewise.
78985         * sunrpc/xdr_ref.c: Likewise.
78986         * sunrpc/xdr_sizeof.c: Likewise.
78987         * sunrpc/xdr_stdio.c: Likewise.
78989         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
78990         handling.
78992 2010-08-19  Andreas Schwab  <schwab@redhat.com>
78994         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
78996 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
78998         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
78999         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
79000         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
79001         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
79002         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
79003         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
79004         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
79005         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
79006         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
79007         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
79008         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
79009         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
79010         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
79011         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
79013 2010-07-26  Anton Blanchard  <anton@samba.org>
79015         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
79016         * malloc/arena.c (heap_trim): Likewise.
79018 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
79020         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
79021         here.  Not...
79022         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
79023         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
79025 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
79027         * sysdeps/i386/elf/Makefile: New file.
79029 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79031         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
79032         from fanotify_init.
79033         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
79034         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79036 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
79038         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
79039         of strncasecmp_l.
79040         * sysdeps/multiarch/strcmp.S: Likewise.
79042 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
79044         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79045         strncase_l-nonascii.
79046         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79047         Add strncase_l-ssse3.
79048         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
79049         * sysdeps/x86_64/strcmp.S: Likewise.
79050         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
79051         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
79052         * sysdeps/x86_64/strncase.S: New file.
79053         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
79054         * sysdeps/x86_64/strncase_l.S: New file.
79055         * string/Makefile (strop-tests): Add strncasecmp.
79056         * string/test-strncasecmp.c: New file.
79058         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
79059         warning.
79061         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
79062         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
79064 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
79066         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
79068 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
79070         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
79071         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
79072         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
79074 2010-05-01  Alan Modra  <amodra@gmail.com>
79076         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
79077         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
79078         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
79079         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
79080         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
79081         tidying.  Don't tail-call __sigjmp_save for static lib.
79082         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
79083         save location.
79084         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
79085         (CALL_MCOUNT): Add eh info, and nop after bl.
79086         (TAIL_CALL_SYSCALL_ERROR): New macro.
79087         (PSEUDO_RET): Use it.
79088         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
79089         Correct save location of integer regs and cr.
79090         (_dl_profile_resolve): Correct cr save location.  Delete nops
79091         after bl when SHARED.  Reduce cfi size a little by better
79092         placement of cfi directives.
79093         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
79094         make a stack frame.  Instead use parm save area as a temp.
79095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
79096         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
79097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
79098         Don't make a stack frame for parent, use parm save area.
79099         Increase child stack frame to 112 bytes.  Don't save unused reg,
79100         and adjust reg usage.  Set up cfi on error recovery and
79101         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
79102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
79103         (__makecontext): Add dummy nop after jump to exit.
79104         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
79105         Use correct parm save area and cr save, reduce stack frame.
79106         Correct cfi for possible PSEUDO_RET frame setup.
79107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
79108         Branch to local label emitted by PSEUDO_RET rather than
79109         __syscall_error.
79111 2010-08-12  Andreas Schwab  <schwab@redhat.com>
79113         [BZ #11904]
79114         * locale/programs/locale.c (print_assignment): New function.
79115         (show_locale_vars): Use it.
79117 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
79119         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
79120         field.
79121         (struct statfs64): Likewise.
79122         (_STATFS_F_FLAGS): Define.
79123         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
79124         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
79125         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
79126         (ST_VALID): Define locally.
79127         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
79128         __statvfs_getflags, use the provided value.
79129         * sysdeps/unix/sysv/linux/kernel-features.h: Define
79130         __ASSUME_STATFS_F_FLAGS.
79132         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
79134         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
79135         Add sys/fanotify.h.
79136         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
79137         fanotify_mask for GLIBC_2.13.
79138         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
79139         fanotify_init and fanotify_mark.
79140         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
79141         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
79143         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
79144         Add prlimit.
79145         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
79146         prlimit64 for GLIBC_2.13.
79147         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
79148         prlimit64.
79149         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
79150         syscall.
79151         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
79152         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
79153         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
79154         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
79155         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
79156         add prlimit alias.
79157         * sysdeps/unix/sysv/linux/prlimit.c: New file.
79159         [BZ #11903]
79160         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
79161         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
79163         * nss/Makefile: Add rules to build and run tst-nss-test1.
79164         * shlib-versions: Add entry for libnss_test1.
79165         * nss/nss_test1.c: New file.
79166         * nss/tst-nss-test1.c: New file.
79168         * nss/nsswitch.c (__nss_database_custom): Define new variable.
79169         (__nss_configure_lookup): Set appropriate entry in
79170         __nss_configure_lookup to true.
79171         * nss/nsswitch.h: Define enum with indeces of databases in
79172         databases and __nss_database_custom arrays.  Declare
79173         __nss_database_custom.
79174         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
79175         to avoid using nscd when custom rules are installed.
79176         * nss/getXXbyYY_r.c: Likewise.
79177         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
79179         * nss/nss_files/files-parse.c: Whitespace fixes.
79181 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
79183         [BZ #11883]
79184         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
79185         * posix/fnmatch_loop.c: Likewise.
79187 2010-07-17  Andi Kleen  <ak@linux.intel.com>
79189         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
79190         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
79191         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
79192         * Versions.def [GLIBC_2.13]: Add.
79194 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
79196         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79197         Also fail if tpwd after pwuid call is NULL.
79199 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79201         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
79202         when converting to ms.
79204 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79206         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
79207         EOPNOTSUPP errors with ENOTTY.
79208         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
79209         EOPNOTSUPP errors with ENOTTY.
79211 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
79213         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
79214         Add strcasecmp_l-ssse3.
79215         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
79216         strcasecmp.
79217         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
79218         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
79219         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
79221 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
79223         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
79225         * string/Makefile (strop-tests): Add strcasecmp.
79226         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
79227         strcasecmp_l-nonascii.
79228         (gen-as-const-headers): Add locale-defines.sym.
79229         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
79230         * sysdeps/x86_64/strcasecmp.S: New file.
79231         * sysdeps/x86_64/strcasecmp_l.S: New file.
79232         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
79233         * sysdeps/x86_64/locale-defines.sym: New file.
79234         * string/test-strcasecmp.c: New file.
79236         * string/test-strcasestr.c: Test both ends of the range of characters.
79237         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
79239 2010-07-29  Roland McGrath  <roland@redhat.com>
79241         [BZ #11856]
79242         * manual/locale.texi (Yes-or-No Questions): Fix example code.
79244 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
79246         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
79247         for ld.so.
79249 2010-07-27  Andreas Schwab  <schwab@redhat.com>
79251         * manual/memory.texi (Malloc Tunable Parameters): Document
79252         M_PERTURB.
79254 2010-07-26  Roland McGrath  <roland@redhat.com>
79256         [BZ #11840]
79257         * configure.in (-fgnu89-inline check): Set and substitute
79258         gnu89_inline, not libc_cv_gnu89_inline.
79259         * configure: Regenerated.
79260         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
79262 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
79264         * string/test-strnlen.c: New file.
79265         * string/Makefile (strop-tests): Add strnlen.
79266         * string/tester.c (test_strnlen): Add a few more test cases.
79267         * string/tst-strlen.c: Better error reporting.
79269         * sysdeps/x86_64/strnlen.S: New file.
79271 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
79273         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
79274         lower-latency instructions.
79276 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
79278         * string/test-strcasestr.c: New file.
79279         * string/test-strstr.c: New file.
79280         * string/Makefile (strop-tests): Add strstr and strcasestr.
79281         * string/str-two-way.h: Don't undefine MAX.
79282         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
79284 2010-07-21  Andreas Schwab  <schwab@redhat.com>
79286         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
79287         strcasestr-nonascii.
79288         (CFLAGS-strcasestr-nonascii.c): Define.
79289         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
79290         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
79291         Remove unused attribute.
79293 2010-07-20  Roland McGrath  <roland@redhat.com>
79295         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
79296         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
79297         ld.so.cache was broken.  With it, there is no way to disable dsocaps
79298         like LD_HWCAP_MASK can disable hwcaps.
79300 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79302         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
79304 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
79306         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
79307         call in strcasestr.
79308         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
79309         __strcasestr_sse42_nonascii.
79310         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
79311         strcasestr-nonascii.c.
79312         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
79314 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
79316         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
79317         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
79318         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
79319         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
79321 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
79323         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
79324         fcntl.
79326 2010-07-06  Andreas Schwab  <schwab@redhat.com>
79328         [BZ #11577]
79329         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
79330         dl_signal_cerror.
79332 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
79334         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
79335         _PC_PIPE_BUF using F_GETPIPE_SZ.
79337 2010-07-05  Roland McGrath  <roland@redhat.com>
79339         * manual/arith.texi (Rounding Functions): Fix rint description
79340         implicit in round description.
79342 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
79344         * elf/Makefile: Fix linking for a few tests to make recent linker
79345         happy.
79347 2010-06-30  Andreas Schwab  <schwab@redhat.com>
79349         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
79350         $(common-objpfx)libc_nonshared.a.
79352 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
79354         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
79355         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
79356         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79357         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79358         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
79359         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
79360         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79361         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
79363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
79364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
79365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
79366         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
79367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
79368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
79369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
79370         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
79371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
79372         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
79373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
79374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
79375         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
79376         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
79377         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
79378         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
79379         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
79380         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
79381         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
79382         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
79383         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
79384         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
79385         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
79386         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
79387         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
79388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
79389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
79390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
79391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
79392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
79393         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
79394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
79395         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
79396         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
79397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
79398         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
79399         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
79400         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
79401         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
79403 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
79405         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
79406         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
79407         * string/memmove.c (memmove): Renamed to ...
79408         (MEMMOVE): ...this.  Default to memmove.
79409         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
79410         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
79411         (END_CHK): Define.
79412         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
79413         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
79414         mempcpy-ssse3-back memmove-ssse3-back.
79415         * sysdeps/x86_64/multiarch/bcopy.S: New file .
79416         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
79417         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
79418         * sysdeps/x86_64/multiarch/memcpy.S: New file.
79419         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
79420         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
79421         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
79422         * sysdeps/x86_64/multiarch/memmove.c: New file.
79423         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
79424         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
79425         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
79426         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
79427         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
79428         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
79429         Define.
79430         (index_Fast_Copy_Backward): Define.
79431         (HAS_ARCH_FEATURE): Define.
79432         (HAS_FAST_REP_STRING): Define.
79433         (HAS_FAST_COPY_BACKWARD): Define.
79435 2010-06-21  Andreas Schwab  <schwab@redhat.com>
79437         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
79438         Restore proper fallback handling.
79440 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
79442         [BZ #11701]
79443         * posix/group_member.c (__group_member): Correct checking loop.
79445         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
79446         OOM in getpwuid_r correctly.  Return error number when the caller
79447         should return, otherwise -1.
79448         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
79449         call returning > 0 value.
79450         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
79452 2010-06-07  Andreas Schwab  <schwab@redhat.com>
79454         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
79455         libc_nonshared.a from targets in modules-names.
79457 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
79459         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
79460         requires it.
79462 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
79464         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
79465         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
79466         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
79467         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
79469 2010-06-02  Andreas Schwab  <schwab@redhat.com>
79471         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
79473 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
79475         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
79476         and F_GETPIPE_SZ.
79477         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
79478         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
79479         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
79480         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
79481         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
79482         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
79484 2010-06-14  Roland McGrath  <roland@redhat.com>
79486         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
79488 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
79490         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
79491         __REDIRECT followed by __THROW.
79492         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
79493         * posix/getopt.h (getopt): Likewise.
79495 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
79497         * hurd/lookup-at.c (__file_name_lookup_at): Accept
79498         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
79499         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
79500         in AT_FLAGS.
79501         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
79502         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
79504 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
79506         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
79508 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
79510         [BZ #11640]
79511         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
79512         Properly check family and model.
79514 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
79516         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
79518 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
79520         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
79522 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
79524         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
79525         symbol reference.
79527 2010-05-19  Andreas Schwab  <schwab@redhat.com>
79529         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
79530         symbol reference.
79532 2010-05-21  Andreas Schwab  <schwab@redhat.com>
79534         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
79535         and internal_recvmmsg.
79536         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
79537         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
79538         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
79539         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
79541         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
79542         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
79543         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
79545 2010-05-20  Andreas Schwab  <schwab@redhat.com>
79547         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
79549 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
79551         POWER7 optimizations.
79552         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
79553         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
79555 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
79557         * version.h: Update for 2.13 development version.
79559 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
79561         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
79562         exceptions.  Return 0.
79564 2010-05-07  Roland McGrath  <roland@redhat.com>
79566         * elf/ldconfig.c (main): Add a const.
79568 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
79570         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
79571         (args_options): Add no-idn option.
79572         (ahosts_keys_int): Add idn_flags to ai_flags.
79573         (parse_option): Handle 'i' option to clear idn_flags.
79575         * malloc/malloc.c (_int_free): Possible race in the most recently
79576         added check.  Only act on the data if no current modification
79577         happened.
79579 See ChangeLog.17 for earlier changes.